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
  1. Home
  2. The Lounge
  3. crunch time!

crunch time!

Scheduled Pinned Locked Moved The Lounge
designcsharpjavacom
6 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.
  • H Offline
    H Offline
    honey the codewitch
    wrote on last edited by
    #1

    I didn't think I'd build out my benchmarks for this product we're about to pitch to investors by the time of our meeting tomorrow. The deadline was dropped on me last minute. I said no guarantees that I'd have *anything* due to all of the unknowns and hurdles I had in front of me. I 1. Fixed CubeMX's rendering issues caused by having a decent GPU in my system and Java being characteristically awful. 2. Fixed CubeMX hanging whenever I try to create a new project 3. Convinced CubeMX to generate a makefile i could use with the GCC arm cross compiler 4. Made a C# program that generated makefile content to import LVGL into the project 5. Found my way around Cube such that I was able to enable DMA, 6 SPI busses with DMA, Chrom-Art acceleration, DMA2D acceleration, CPU instruction caching (disabled by default!) 6. Learned how to hack GCC linker scripts so I could both use all of the RAM available (it's segmented) and actually fit the code into RAM. 7. Learned how to convince LVGL to use multiple displays, and all the STM32 and ARM hardware graphics acceleration available 8. Learned SPI/DMA under STM32 9. Structured a workflow and source tree where I can get CubeMX to regenerate the code for my project whenever i make a settings change without blowing up all my code 10. Orchestrated framerate counting and some phony IO to give me the data I needed for the meeting. I didn't think I'd have it benching this deep. I thought I wouldn't have LVGL integrated by today EOB. Gosh, I got lucky. Man, I feel good about this. It's almost like I know what I'm doing, but that can't be right.

    Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

    CPalliniC 1 Reply Last reply
    0
    • H honey the codewitch

      I didn't think I'd build out my benchmarks for this product we're about to pitch to investors by the time of our meeting tomorrow. The deadline was dropped on me last minute. I said no guarantees that I'd have *anything* due to all of the unknowns and hurdles I had in front of me. I 1. Fixed CubeMX's rendering issues caused by having a decent GPU in my system and Java being characteristically awful. 2. Fixed CubeMX hanging whenever I try to create a new project 3. Convinced CubeMX to generate a makefile i could use with the GCC arm cross compiler 4. Made a C# program that generated makefile content to import LVGL into the project 5. Found my way around Cube such that I was able to enable DMA, 6 SPI busses with DMA, Chrom-Art acceleration, DMA2D acceleration, CPU instruction caching (disabled by default!) 6. Learned how to hack GCC linker scripts so I could both use all of the RAM available (it's segmented) and actually fit the code into RAM. 7. Learned how to convince LVGL to use multiple displays, and all the STM32 and ARM hardware graphics acceleration available 8. Learned SPI/DMA under STM32 9. Structured a workflow and source tree where I can get CubeMX to regenerate the code for my project whenever i make a settings change without blowing up all my code 10. Orchestrated framerate counting and some phony IO to give me the data I needed for the meeting. I didn't think I'd have it benching this deep. I thought I wouldn't have LVGL integrated by today EOB. Gosh, I got lucky. Man, I feel good about this. It's almost like I know what I'm doing, but that can't be right.

      Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

      CPalliniC Offline
      CPalliniC Offline
      CPallini
      wrote on last edited by
      #2

      Well, in a couple of years I could accomplish the same. :-D

      "In testa che avete, Signor di Ceprano?" -- Rigoletto

      In testa che avete, signor di Ceprano?

      H 1 Reply Last reply
      0
      • CPalliniC CPallini

        Well, in a couple of years I could accomplish the same. :-D

        "In testa che avete, Signor di Ceprano?" -- Rigoletto

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

        Frankly, I'm a bit shocked myself. My estimate would have been two weeks. It was closer to two days. I crammed, but even then, I'm surprised that it bore fruit.

        Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

        pkfoxP 1 Reply Last reply
        0
        • H honey the codewitch

          Frankly, I'm a bit shocked myself. My estimate would have been two weeks. It was closer to two days. I crammed, but even then, I'm surprised that it bore fruit.

          Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

          pkfoxP Offline
          pkfoxP Offline
          pkfox
          wrote on last edited by
          #4

          You always find a way

          In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

          M 1 Reply Last reply
          0
          • pkfoxP pkfox

            You always find a way

            In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

            M Offline
            M Offline
            MarkTJohnson
            wrote on last edited by
            #5

            Yeah, and it always makes the rest of us look like slackers.

            I’ve given up trying to be calm. However, I am open to feeling slightly less agitated. I’m begging you for the benefit of everyone, don’t be STUPID.

            pkfoxP 1 Reply Last reply
            0
            • M MarkTJohnson

              Yeah, and it always makes the rest of us look like slackers.

              I’ve given up trying to be calm. However, I am open to feeling slightly less agitated. I’m begging you for the benefit of everyone, don’t be STUPID.

              pkfoxP Offline
              pkfoxP Offline
              pkfox
              wrote on last edited by
              #6

              I think he is far cleverer than most people ( certainly me )

              In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

              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