]> rtime.felk.cvut.cz Git - arc.git/blob - include/CalibrationData.h
Merge branch 'mikulka' of git@rtime.felk.cvut.cz:arc into mikulka
[arc.git] / include / CalibrationData.h
1 #ifndef CALIBRATIONDATA_H_\r
2 #define CALIBRATIONDATA_H_\r
3 \r
4 #include "Calibration_Settings.h"\r
5 \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
14 \r
15 #endif /* CALIBRATIONDATA_H_ */\r