AP_HAL: added esp32s3empty

This commit is contained in:
Andrew Tridgell 2023-12-29 17:21:43 +11:00
parent e2f82ed9bc
commit e79f0201bd
2 changed files with 5 additions and 0 deletions

View File

@ -68,6 +68,7 @@
#define HAL_BOARD_SUBTYPE_ESP32_TOMTE76 6005 #define HAL_BOARD_SUBTYPE_ESP32_TOMTE76 6005
#define HAL_BOARD_SUBTYPE_ESP32_NICK 6006 #define HAL_BOARD_SUBTYPE_ESP32_NICK 6006
#define HAL_BOARD_SUBTYPE_ESP32_S3DEVKIT 6007 #define HAL_BOARD_SUBTYPE_ESP32_S3DEVKIT 6007
#define HAL_BOARD_SUBTYPE_ESP32_S3EMPTY 6008
/* InertialSensor driver types */ /* InertialSensor driver types */
#define HAL_INS_NONE 0 #define HAL_INS_NONE 0

View File

@ -15,6 +15,10 @@
#include "esp32nick.h" //Nick K. on discord #include "esp32nick.h" //Nick K. on discord
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_ESP32_S3DEVKIT #elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_ESP32_S3DEVKIT
#include "esp32s3devkit.h" //Nick K. on discord #include "esp32s3devkit.h" //Nick K. on discord
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_ESP32_S3EMPTY
#include "esp32s3empty.h"
#else
#error "Invalid CONFIG_HAL_BOARD_SUBTYPE for esp32"
#endif #endif
#define HAL_BOARD_NAME "ESP32" #define HAL_BOARD_NAME "ESP32"