OUTPUT_ARCH(arm)\r
ENTRY(Reset_Handler)\r
\r
+#include "Calibration_Settings.h"\r
+\r
MEMORY\r
{\r
#include "memory.ldf"\r
.cio ALIGN(0x10) : {\r
\r
} > ram\r
-\r
+#ifdef CALIBRATION_ACTIVE\r
+ .calibration : AT(ORIGIN(flash_calibration_area_0)) {\r
+ __CALIB_RAM_START = .;\r
+ *(.calibration)\r
+ __CALIB_RAM_END = .;\r
+ } > ram\r
+ __CALIB_ROM_START = ORIGIN(flash_calibration_area_0);\r
+#endif\r
.data : AT(ALIGN(LOADADDR(.rodata)+SIZEOF(.rodata),4)) {\r
_sdata = ALIGN(.,4); \r
*(.data .data.* .gnu.linkonce.d.* .gnu.linkonce.r.* .eh_frame)\r
intvecs(R) : ORIGIN = 0x0000000, LENGTH = 0x60\r
flash(R) : ORIGIN = 0x00000060, LENGTH = 2M\r
ram(RW) : ORIGIN = 0x08000000, LENGTH = 160K\r
+flash_calibration_area_0(R) : ORIGIN = 0x00004000, LENGTH = 48K
\ No newline at end of file