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:
David Buzz 2023-05-02 09:27:32 +10:00 committed by Peter Barker
parent a31f01d505
commit e2edfae79b
2 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -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"