mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
Fix manufacturer name on Seeed Xiao S3 WIO
This commit is contained in:
parent
5b4544b9fe
commit
5c80334dbd
3 changed files with 17 additions and 2 deletions
13
variants/xiao_s3_wio/XiaoS3WIOBoard.h
Normal file
13
variants/xiao_s3_wio/XiaoS3WIOBoard.h
Normal 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";
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
@ -1,7 +1,8 @@
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
#include "target.h"
|
#include "target.h"
|
||||||
|
#include "XiaoS3WIOBoard.h"
|
||||||
|
|
||||||
ESP32Board board;
|
XiaoS3WIOBoard board;
|
||||||
|
|
||||||
#if defined(P_LORA_SCLK)
|
#if defined(P_LORA_SCLK)
|
||||||
static SPIClass spi;
|
static SPIClass spi;
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,9 @@
|
||||||
#include <helpers/ui/SSD1306Display.h>
|
#include <helpers/ui/SSD1306Display.h>
|
||||||
#include <helpers/ui/MomentaryButton.h>
|
#include <helpers/ui/MomentaryButton.h>
|
||||||
#endif
|
#endif
|
||||||
|
#include "XiaoS3WIOBoard.h"
|
||||||
|
|
||||||
extern ESP32Board board;
|
extern XiaoS3WIOBoard board;
|
||||||
extern WRAPPER_CLASS radio_driver;
|
extern WRAPPER_CLASS radio_driver;
|
||||||
extern AutoDiscoverRTCClock rtc_clock;
|
extern AutoDiscoverRTCClock rtc_clock;
|
||||||
extern SensorManager sensors;
|
extern SensorManager sensors;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue