mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: esp32 - add board esp32nick
This commit is contained in:
parent
8967ed0ad1
commit
2171fff91b
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue