mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: add a new board for tomte76
mpu9255 board, bmp280 baro, micro sd card and NEO M8 clone a
This commit is contained in:
parent
a31f01d505
commit
e2edfae79b
|
@ -64,6 +64,7 @@
|
||||||
#define HAL_BOARD_SUBTYPE_ESP32_ICARUS 6002
|
#define HAL_BOARD_SUBTYPE_ESP32_ICARUS 6002
|
||||||
#define HAL_BOARD_SUBTYPE_ESP32_BUZZ 6003
|
#define HAL_BOARD_SUBTYPE_ESP32_BUZZ 6003
|
||||||
#define HAL_BOARD_SUBTYPE_ESP32_EMPTY 6004
|
#define HAL_BOARD_SUBTYPE_ESP32_EMPTY 6004
|
||||||
|
#define HAL_BOARD_SUBTYPE_ESP32_TOMTE76 6005
|
||||||
|
|
||||||
/* InertialSensor driver types */
|
/* InertialSensor driver types */
|
||||||
#define HAL_INS_NONE 0
|
#define HAL_INS_NONE 0
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
#include "esp32icarus.h" //Alex
|
#include "esp32icarus.h" //Alex
|
||||||
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_ESP32_EMPTY
|
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_ESP32_EMPTY
|
||||||
#include "esp32empty.h" //wiktor-m
|
#include "esp32empty.h" //wiktor-m
|
||||||
|
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_ESP32_TOMTE76
|
||||||
|
#include "esp32tomte76.h" //tomte76 on discord
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define HAL_BOARD_NAME "ESP32"
|
#define HAL_BOARD_NAME "ESP32"
|
||||||
|
|
Loading…
Reference in New Issue