mirror of https://github.com/ArduPilot/ardupilot
19 lines
540 B
C
19 lines
540 B
C
|
|
#ifndef __AP_HAL_BOARDS_H__
|
|
#define __AP_HAL_BOARDS_H__
|
|
|
|
/**
|
|
* C preprocesor enumeration of the boards supported by the AP_HAL.
|
|
* This list exists so HAL_BOARD == HAL_BOARD_xxx preprocessor blocks
|
|
* can be used to exclude HAL boards from the build when appropriate.
|
|
* Its not an elegant solution but we cant get too fancy if we want to
|
|
* work with the Arduino mk and IDE builds without too much modification.
|
|
*/
|
|
|
|
#define HAL_BOARD_APM1 1
|
|
#define HAL_BOARD_APM2 2
|
|
#define HAL_BOARD_AVR_SITL 3
|
|
|
|
#endif // __AP_HAL_BOARDS_H__
|
|
|