Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions variants/xiao_s3_wio/XiaoS3WIOBoard.h
Original file line number Diff line number Diff line change
@@ -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";
}
};
2 changes: 1 addition & 1 deletion variants/xiao_s3_wio/target.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <Arduino.h>
#include "target.h"

ESP32Board board;
XiaoS3WIOBoard board;

#if defined(P_LORA_SCLK)
static SPIClass spi;
Expand Down
3 changes: 2 additions & 1 deletion variants/xiao_s3_wio/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down