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. Wow, things just got real

Wow, things just got real

Scheduled Pinned Locked Moved The Lounge
designcomgraphicshardwareiot
9 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

    Update: Solved it and am way ahead of the curve. I recently accepted a tentative contract (contingent on a successful round of funding) to develop some stuff for embedded. I'm using a newer STM32 offering to do so, and I've run head first into a limitation of STM32CubeIDE and the makefiles it generates. It wants to put all my arrays into DTCM ram instead of SRAM. I only have 128KB of the former, which isn't enough to drive all the devices I have to drive. I want to put the arrays in the latter and to do so I'm told I need to generate custom .ld linker scripts which for starters I've never had to do before, and secondly i think it will blow a nuclear sized hole in my workflow. I've got to figure this out before Tuesday, and I'm not feeling good about it.

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

    D CPalliniC Mike HankeyM 3 Replies Last reply
    0
    • H honey the codewitch

      Update: Solved it and am way ahead of the curve. I recently accepted a tentative contract (contingent on a successful round of funding) to develop some stuff for embedded. I'm using a newer STM32 offering to do so, and I've run head first into a limitation of STM32CubeIDE and the makefiles it generates. It wants to put all my arrays into DTCM ram instead of SRAM. I only have 128KB of the former, which isn't enough to drive all the devices I have to drive. I want to put the arrays in the latter and to do so I'm told I need to generate custom .ld linker scripts which for starters I've never had to do before, and secondly i think it will blow a nuclear sized hole in my workflow. I've got to figure this out before Tuesday, and I'm not feeling good about it.

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

      D Offline
      D Offline
      David ONeil
      wrote on last edited by
      #2

      honey the codewitch wrote:

      I want to put the arrays in the latter and to do so I'm told I need to generate custom .ld linker scripts...

      Follow the source? Who told you that? Who do they know that told them? I'd keep going down that trail as hard as possible until someone turns up that can show you an example script. Good luck!

      Our Forgotten Astronomy | Object Oriented Programming with C++ | Wordle solver

      H 1 Reply Last reply
      0
      • D David ONeil

        honey the codewitch wrote:

        I want to put the arrays in the latter and to do so I'm told I need to generate custom .ld linker scripts...

        Follow the source? Who told you that? Who do they know that told them? I'd keep going down that trail as hard as possible until someone turns up that can show you an example script. Good luck!

        Our Forgotten Astronomy | Object Oriented Programming with C++ | Wordle solver

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

        I already figured it out. It doesn't matter who told me.. I misunderstood you. Sorry. I found an example. It matters that the information is correct. It was.

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

        1 Reply Last reply
        0
        • H honey the codewitch

          Update: Solved it and am way ahead of the curve. I recently accepted a tentative contract (contingent on a successful round of funding) to develop some stuff for embedded. I'm using a newer STM32 offering to do so, and I've run head first into a limitation of STM32CubeIDE and the makefiles it generates. It wants to put all my arrays into DTCM ram instead of SRAM. I only have 128KB of the former, which isn't enough to drive all the devices I have to drive. I want to put the arrays in the latter and to do so I'm told I need to generate custom .ld linker scripts which for starters I've never had to do before, and secondly i think it will blow a nuclear sized hole in my workflow. I've got to figure this out before Tuesday, and I'm not feeling good about it.

          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
          #4

          Yes, unless you can use a variable attribute, the linker script (as ugly as its syntax is) is usually the way.

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

          In testa che avete, signor di Ceprano?

          H 1 Reply Last reply
          0
          • H honey the codewitch

            Update: Solved it and am way ahead of the curve. I recently accepted a tentative contract (contingent on a successful round of funding) to develop some stuff for embedded. I'm using a newer STM32 offering to do so, and I've run head first into a limitation of STM32CubeIDE and the makefiles it generates. It wants to put all my arrays into DTCM ram instead of SRAM. I only have 128KB of the former, which isn't enough to drive all the devices I have to drive. I want to put the arrays in the latter and to do so I'm told I need to generate custom .ld linker scripts which for starters I've never had to do before, and secondly i think it will blow a nuclear sized hole in my workflow. I've got to figure this out before Tuesday, and I'm not feeling good about it.

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

            Mike HankeyM Offline
            Mike HankeyM Offline
            Mike Hankey
            wrote on last edited by
            #5

            Is it possible for you to use the Flexible Memory Controller feature in the project?

            "Ten men in the country could buy the world and ten million can’t buy enough to eat." Will Rogers PartsBin an Electronics Part Organizer - Release Version 1.3.1 JaxCoder.com Latest Article: EventAggregator

            H 1 Reply Last reply
            0
            • Mike HankeyM Mike Hankey

              Is it possible for you to use the Flexible Memory Controller feature in the project?

              "Ten men in the country could buy the world and ten million can’t buy enough to eat." Will Rogers PartsBin an Electronics Part Organizer - Release Version 1.3.1 JaxCoder.com Latest Article: EventAggregator

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

              I don't know if you can map the .bss segment to it, but I couldn't say for sure. Maybe you can with STM32s. They've got some pretty wild hardware support. Anyway, I solved the problem. Cube was creating an .ld file in my root project folder and I just wasn't seeing it. Soon as I edited, problem solved.

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

              Mike HankeyM 1 Reply Last reply
              0
              • CPalliniC CPallini

                Yes, unless you can use a variable attribute, the linker script (as ugly as its syntax is) is usually the way.

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

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

                I didn't realize Cube already made one for me. I just didn't see it. It was easy enough to edit.

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

                1 Reply Last reply
                0
                • H honey the codewitch

                  I don't know if you can map the .bss segment to it, but I couldn't say for sure. Maybe you can with STM32s. They've got some pretty wild hardware support. Anyway, I solved the problem. Cube was creating an .ld file in my root project folder and I just wasn't seeing it. Soon as I edited, problem solved.

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

                  Mike HankeyM Offline
                  Mike HankeyM Offline
                  Mike Hankey
                  wrote on last edited by
                  #8

                  Tell me if I'm wrong but the only thing bss segment does is zero out the area and this is done as part of the startup.

                  "Ten men in the country could buy the world and ten million can’t buy enough to eat." Will Rogers PartsBin an Electronics Part Organizer - Release Version 1.3.1 JaxCoder.com Latest Article: EventAggregator

                  H 1 Reply Last reply
                  0
                  • Mike HankeyM Mike Hankey

                    Tell me if I'm wrong but the only thing bss segment does is zero out the area and this is done as part of the startup.

                    "Ten men in the country could buy the world and ten million can’t buy enough to eat." Will Rogers PartsBin an Electronics Part Organizer - Release Version 1.3.1 JaxCoder.com Latest Article: EventAggregator

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

                    It's the area where all uninitialized data gets placed. Things like arrays.

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

                    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