/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Put code in non-debug able code space

Username:     
Password:     
             

Forum

# 1   2009-06-02 16:32:28 Put code in non-debug able code space

victor_passe
New member
Registered: 2009-04-13
Posts: 8

Put code in non-debug able code space

Hello, I dont need tu debug my code and want to use more than 32K, can I use all the memory space and not be able to debug the code?
If so, how?

Offline

 

# 2   2009-06-03 05:58:25 Put code in non-debug able code space

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Put code in non-debug able code space

You can just remove the limitation in the linker file (Circle_App.ld) and extend the FLASH size up to 512KB.
Now, if you want to split your code into 2 subparts (debuggable and non-debuggable), you can take a look at CircleOS. Some functions are associated with the non_debuggable attribute to relocate them into a global section that will be relocated in the upper memory by the linker file.

Offline

 

Board footer