energia / msp430-lg-core

15 stars 12 forks source link

PLACE_IN_FRAM does not place code in FRAM #107

Closed StefanSch closed 5 years ago

StefanSch commented 5 years ago

below line does not work and still puts code in RAM

define PLACE_IN_FRAM attribute((section(".text#")))

The # needs to be replaced by ; so:

define PLACE_IN_FRAM attribute((section(".text;")))

See also: https://stackoverflow.com/questions/745213/how-to-get-rid-of-gcc-assembler-warning-setting-incorrect-section-attributes-fo

StefanSch commented 5 years ago

fixed with https://github.com/energia/msp430-lg-core/pull/108