Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. The Lounge
  3. I am so vindicated right now

I am so vindicated right now

Scheduled Pinned Locked Moved The Lounge
hardwareiotalgorithms
13 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • honey the codewitchH Offline
    honey the codewitchH Offline
    honey the codewitch
    wrote on last edited by
    #1

    When I wrote my GFX library for IoT, I intended it to be cross platform, but due to the specs of most IoT devices being abysmal I haven't had a chance to use anything non-ESP32 since they just don't have RAM, program space or CPU to do anything significant. However, I've been looking at shifting my focus away from the ESP32 to the ARM line of offerings for a number of reasons. I want to take GFX with me, but I wasn't sure it would run on an ARM. I finally fired up GFX on an ARM for the first time today. The only hitch in my getalong was that the STM32 folks did not implement the Arduino framework properly so I had to put a conditional compile into GFX so it will work with the broken ARM arduino layer. That's small potatoes in the big scheme of things. In the end it works. It actually fired up and compiled, and ran which is huge considering the complexity of this codebase, and that this is the first time it has ever been tried on something other than a PC or ESP32. I feel good about today. I'm on fire.

    Real programmers use butterflies

    S S 2 Replies Last reply
    0
    • honey the codewitchH honey the codewitch

      When I wrote my GFX library for IoT, I intended it to be cross platform, but due to the specs of most IoT devices being abysmal I haven't had a chance to use anything non-ESP32 since they just don't have RAM, program space or CPU to do anything significant. However, I've been looking at shifting my focus away from the ESP32 to the ARM line of offerings for a number of reasons. I want to take GFX with me, but I wasn't sure it would run on an ARM. I finally fired up GFX on an ARM for the first time today. The only hitch in my getalong was that the STM32 folks did not implement the Arduino framework properly so I had to put a conditional compile into GFX so it will work with the broken ARM arduino layer. That's small potatoes in the big scheme of things. In the end it works. It actually fired up and compiled, and ran which is huge considering the complexity of this codebase, and that this is the first time it has ever been tried on something other than a PC or ESP32. I feel good about today. I'm on fire.

      Real programmers use butterflies

      S Offline
      S Offline
      Super Lloyd
      wrote on last edited by
      #2

      There is no stopping you now! :omg: :) 🚒

      A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

      honey the codewitchH 1 Reply Last reply
      0
      • S Super Lloyd

        There is no stopping you now! :omg: :) 🚒

        A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

        honey the codewitchH Offline
        honey the codewitchH Offline
        honey the codewitch
        wrote on last edited by
        #3

        *flexes my ARM* One GFX library to rule them all.

        Real programmers use butterflies

        1 Reply Last reply
        0
        • honey the codewitchH honey the codewitch

          When I wrote my GFX library for IoT, I intended it to be cross platform, but due to the specs of most IoT devices being abysmal I haven't had a chance to use anything non-ESP32 since they just don't have RAM, program space or CPU to do anything significant. However, I've been looking at shifting my focus away from the ESP32 to the ARM line of offerings for a number of reasons. I want to take GFX with me, but I wasn't sure it would run on an ARM. I finally fired up GFX on an ARM for the first time today. The only hitch in my getalong was that the STM32 folks did not implement the Arduino framework properly so I had to put a conditional compile into GFX so it will work with the broken ARM arduino layer. That's small potatoes in the big scheme of things. In the end it works. It actually fired up and compiled, and ran which is huge considering the complexity of this codebase, and that this is the first time it has ever been tried on something other than a PC or ESP32. I feel good about today. I'm on fire.

          Real programmers use butterflies

          S Offline
          S Offline
          Shao Voon Wong
          wrote on last edited by
          #4

          Your bachelor's degree is in Computer Science or Electronics? How come you are so good at the embedded systems' work?

          honey the codewitchH 1 Reply Last reply
          0
          • S Shao Voon Wong

            Your bachelor's degree is in Computer Science or Electronics? How come you are so good at the embedded systems' work?

            honey the codewitchH Offline
            honey the codewitchH Offline
            honey the codewitch
            wrote on last edited by
            #5

            I have no degree. I think I got good at doing it because I learned to code back in the 1980s when most PCs were spec'd like the little MCUs I work on today.

            Real programmers use butterflies

            S R 2 Replies Last reply
            0
            • honey the codewitchH honey the codewitch

              I have no degree. I think I got good at doing it because I learned to code back in the 1980s when most PCs were spec'd like the little MCUs I work on today.

              Real programmers use butterflies

              S Offline
              S Offline
              Shao Voon Wong
              wrote on last edited by
              #6

              Wow, you're autodidact. I was surprised you knew how to use a logic analyzer. You're really a smart guy!

              honey the codewitchH R 2 Replies Last reply
              0
              • S Shao Voon Wong

                Wow, you're autodidact. I was surprised you knew how to use a logic analyzer. You're really a smart guy!

                honey the codewitchH Offline
                honey the codewitchH Offline
                honey the codewitch
                wrote on last edited by
                #7

                Thanks. I learn what I need to know. I have a knack for tinkering.

                Real programmers use butterflies

                1 Reply Last reply
                0
                • S Shao Voon Wong

                  Wow, you're autodidact. I was surprised you knew how to use a logic analyzer. You're really a smart guy!

                  R Offline
                  R Offline
                  Rage
                  wrote on last edited by
                  #8

                  You'd be surprised as how many regulars of the Lounge are brilliant people, and autodidacts. That's why I have been visiting this site for 20 years, the concentration of knowledge is amazing (plus I could make illusion so far even if I cannot distinguish an Arduino from a washing machine, so they did not kick me out).

                  Do not escape reality : improve reality !

                  1 Reply Last reply
                  0
                  • honey the codewitchH honey the codewitch

                    I have no degree. I think I got good at doing it because I learned to code back in the 1980s when most PCs were spec'd like the little MCUs I work on today.

                    Real programmers use butterflies

                    R Offline
                    R Offline
                    Rage
                    wrote on last edited by
                    #9

                    honey the codewitch wrote:

                    I learned to code back in the 1980s when most PCs were spec'd like the little MCUs I work on today

                    This is so true. I am glad I had the chance to live this as well.

                    Do not escape reality : improve reality !

                    honey the codewitchH 1 Reply Last reply
                    0
                    • R Rage

                      honey the codewitch wrote:

                      I learned to code back in the 1980s when most PCs were spec'd like the little MCUs I work on today

                      This is so true. I am glad I had the chance to live this as well.

                      Do not escape reality : improve reality !

                      honey the codewitchH Offline
                      honey the codewitchH Offline
                      honey the codewitch
                      wrote on last edited by
                      #10

                      Same. I think because of it, the challenge of working in a constrained environment is neither overwhelming or off-putting. In fact, I find it enjoyable, maybe because I grew up with it. Something about it is almost comforting. Give me an ESP32's 300kB of usable RAM any day and I'll feel spoiled. :). I remember when I had to work with 64kB so no big.

                      Real programmers use butterflies

                      R 1 Reply Last reply
                      0
                      • honey the codewitchH honey the codewitch

                        Same. I think because of it, the challenge of working in a constrained environment is neither overwhelming or off-putting. In fact, I find it enjoyable, maybe because I grew up with it. Something about it is almost comforting. Give me an ESP32's 300kB of usable RAM any day and I'll feel spoiled. :). I remember when I had to work with 64kB so no big.

                        Real programmers use butterflies

                        R Offline
                        R Offline
                        Rage
                        wrote on last edited by
                        #11

                        4k (ROM) should be enough for everyone[^] :-D

                        Do not escape reality : improve reality !

                        honey the codewitchH 1 Reply Last reply
                        0
                        • R Rage

                          4k (ROM) should be enough for everyone[^] :-D

                          Do not escape reality : improve reality !

                          honey the codewitchH Offline
                          honey the codewitchH Offline
                          honey the codewitch
                          wrote on last edited by
                          #12

                          That's impressive. Too bad I don't have a 1080 lcd display for an IoT MCU, or one that could push that many pixels. I doubt that thing *runs* in 4kB though. I'm sure it uses runtime decompression to get those textures, or to generate the computation tables needed to render those textures, and it would have to cache some of that to get any kind of frame rate. But yeah, impressive.

                          Real programmers use butterflies

                          R 1 Reply Last reply
                          0
                          • honey the codewitchH honey the codewitch

                            That's impressive. Too bad I don't have a 1080 lcd display for an IoT MCU, or one that could push that many pixels. I doubt that thing *runs* in 4kB though. I'm sure it uses runtime decompression to get those textures, or to generate the computation tables needed to render those textures, and it would have to cache some of that to get any kind of frame rate. But yeah, impressive.

                            Real programmers use butterflies

                            R Offline
                            R Offline
                            Rage
                            wrote on last edited by
                            #13

                            Of course, it definitively uses decompression, but still impressive. Plus the music is also rendered. There are is so much maths and cleverness in this...

                            Do not escape reality : improve reality !

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups