This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to .re-locate .bss Section to 0x7FD00000 (GP Ram)

The .bss Section is located in the 0x400000000 area of on board ram.
I am using a LPC2364 and there is not enough ram for the .bss section with many Tasks plus my code.
I am using the OS.

How can I re-locate the .bss section to 0x7FD00000 (ie GP/USB Ram area)?

  • You have room to specify more than one RAM region in the project. The linker will then move the data from some of the modules to the second RAM region if needed.

    Just make sure that the other RAM blocks are powered up in the startup file, so the startup code can copy initialized data and zero-fill without writing into thin air.