Merge pull request #1058 from dotdavid/dev

Fix Xiao S3 WIO board name
This commit is contained in:
ripplebiz 2025-11-06 13:45:12 +11:00 committed by GitHub
commit 23783b27c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 16 additions and 2 deletions

View file

@ -0,0 +1,13 @@
#pragma once
#include <Arduino.h>
#include <helpers/ESP32Board.h>
class XiaoS3WIOBoard : public ESP32Board {
public:
XiaoS3WIOBoard() { }
const char* getManufacturerName() const override {
return "Xiao S3 WIO";
}
};

View file

@ -1,7 +1,7 @@
#include <Arduino.h>
#include "target.h"
ESP32Board board;
XiaoS3WIOBoard board;
#if defined(P_LORA_SCLK)
static SPIClass spi;

View file

@ -11,8 +11,9 @@
#include <helpers/ui/SSD1306Display.h>
#include <helpers/ui/MomentaryButton.h>
#endif
#include "XiaoS3WIOBoard.h"
extern ESP32Board board;
extern XiaoS3WIOBoard board;
extern WRAPPER_CLASS radio_driver;
extern AutoDiscoverRTCClock rtc_clock;
extern SensorManager sensors;