AP_HAL: esp32 - add board esp32nick

This commit is contained in:
Nicholas Kruzan 2023-05-13 23:52:41 +00:00 committed by Peter Barker
parent 8967ed0ad1
commit 2171fff91b
2 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,7 @@
#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 #define HAL_BOARD_SUBTYPE_ESP32_TOMTE76 6005
#define HAL_BOARD_SUBTYPE_ESP32_NICK 6006
/* InertialSensor driver types */ /* InertialSensor driver types */
#define HAL_INS_NONE 0 #define HAL_INS_NONE 0

View File

@ -11,6 +11,8 @@
#include "esp32empty.h" //wiktor-m #include "esp32empty.h" //wiktor-m
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_ESP32_TOMTE76 #elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_ESP32_TOMTE76
#include "esp32tomte76.h" //tomte76 on discord #include "esp32tomte76.h" //tomte76 on discord
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_ESP32_NICK
#include "esp32nick.h" //Nick K. on discord
#endif #endif
#define HAL_BOARD_NAME "ESP32" #define HAL_BOARD_NAME "ESP32"