What is the current best practice?
I am using Segger Embedded Studio v4.12 for programming a Nordic 51822 application (SDK 12.3) and need to configure the section placement file
Information on the Segger wiki discusses use of linker scripts (*.icf)
wiki.segger.com/Porting_from_GCC_to_SEGGER_Linker
But documentation from Nordic and in the Segger Manual suggest use of flash_placement.xml files
studio.segger.com/index.htm?ht…placement_file_format.htm
Advice from Nordic for importing a Keil project states:
If your project uses modules that require section variables (for example, the Peer Manager, Flash Data Storage, or Flash Storage), define where in the flash information from these modules should be stored.
However the option to 'import section placement' is not available in the menu for v4.12
Any help much appreciated!
Rob
I am using Segger Embedded Studio v4.12 for programming a Nordic 51822 application (SDK 12.3) and need to configure the section placement file
Information on the Segger wiki discusses use of linker scripts (*.icf)
wiki.segger.com/Porting_from_GCC_to_SEGGER_Linker
But documentation from Nordic and in the Segger Manual suggest use of flash_placement.xml files
studio.segger.com/index.htm?ht…placement_file_format.htm
Advice from Nordic for importing a Keil project states:
If your project uses modules that require section variables (for example, the Peer Manager, Flash Data Storage, or Flash Storage), define where in the flash information from these modules should be stored.
- Download the flash_placement.xml and place it in your project directory.Files are provided for the following versions of the nRF5 SDK:
- For nRF5 SDK v12.x.x: flash_placement.xml
- For nRF5 SDK v13.x.x and nRF5 SDK v14.0.0: flash_placement.xml
- For nRF5 SDK v12.x.x: flash_placement.xml
- Right-click on your project in the Project Explorer and select Import Section Placement.
However the option to 'import section placement' is not available in the menu for v4.12
Any help much appreciated!
Rob