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