HOWTO: Place custom data into flash memory

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

HOWTO: Place custom data into flash memory

HOWTO: Place custom data into flash memory

This document describes a way, how to place custom constant data into specific flash memory area.

  • Create a custom linker section in the linker file (.ld), where custom data should be placed into. pastedImage_3.png

    pastedImage_4.png

  • Use the KEEP keyword in case you would like to avoid dead stripping if and object is not referenced.

  • add the __attribute__ section statements to the custom data definition.pastedImage_5.png

  • Map file should looks like this way
  • pastedImage_7.png

Hope it helps.

Martin

100%が役に立ったと言っています (1/1)
バージョン履歴
最終更新日:
‎11-12-2018 02:57 AM
更新者: