__CALIB_RAM_START = ADDR(.calibration);\r
__CALIB_RAM_END = ADDR(.calibration) + SIZEOF(.calibration);\r
__CALIB_ROM_START = LOADADDR(.calibration);\r
+#else\r
+ /* failsafe to avoid trouble with defined calib variables if CALIBRATION_ENABLED is not set */\r
+ .calibration : {\r
+ *(.calibration)\r
+ } > flash\r
+ ASSERT(SIZEOF(.calibration) == 0, ".calibration section used but CALIBRATION_ENABLED is undefined")\r
#endif /* CALIBRATION_ENABLED */\r
\r
.int_vecs :\r
__CALIB_RAM_START = ADDR(.calibration);\r
__CALIB_RAM_END = ADDR(.calibration) + SIZEOF(.calibration);\r
__CALIB_ROM_START = LOADADDR(.calibration);\r
+#else\r
+ /* failsafe to avoid trouble with defined calib variables if CALIBRATION_ENABLED is not set */\r
+ .calibration : {\r
+ *(.calibration)\r
+ } > flash\r
+ ASSERT(SIZEOF(.calibration) == 0, ".calibration section used but CALIBRATION_ENABLED is undefined")\r
#endif /* CALIBRATION_ENABLED */\r
\r
+\r
#if defined(USE_FEE)\r
#include "Fee_Memory_Cfg.h"\r
\r