1 #ifndef CALIBRATIONDATA_H_
\r
2 #define CALIBRATIONDATA_H_
\r
4 #include "Calibration_Settings.h"
\r
6 #ifdef CALIBRATION_ENABLED
\r
7 /* Section data from linker script. */
\r
8 extern char __CALIB_RAM_START;
\r
9 extern char __CALIB_RAM_END;
\r
10 extern char __CALIB_ROM_START;
\r
11 #endif /* CALIBRATION_ENABLED */
\r
12 #define ARC_DECLARE_CALIB(type, name) type __attribute__((section (".calibration"))) name
\r
13 #define ARC_DECLARE_CALIB_EXTERN(type, name) extern type name
\r
15 #endif /* CALIBRATIONDATA_H_ */
\r