Hello.
I would like to create a second ".data" section for initialized global variables which I want to calibrate (modify whlie the MCU is running). In other words I wish for "calibratable" global variables to be located in a contiguous block of memory. I also require a second, separate".cinit " section for the initial values of these calibration variables which will be placed in EEPROM memory. Calibratable variables will ideally be marked with a corresponding #pragma or __attribute__ ((section ( tag in the code
Is this possible and if so what changes do I need to make to the linker script to enable this?
I am using a TMS570LS1227 with CCS v6 and TI v5.2.5 compiler.
Your help and advice is appreciated.
Many thanks,
James Wiblin.