mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
Move variant specific code
This commit is contained in:
parent
ce4e559c01
commit
6902dd81fa
4 changed files with 4 additions and 1 deletions
|
|
@ -47,3 +47,5 @@ mesh::LocalIdentity radio_new_identity() {
|
|||
RadioNoiseListener rng(radio);
|
||||
return mesh::LocalIdentity(&rng); // create new random identity
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -28,6 +28,7 @@ build_flags =
|
|||
-D DISABLE_WIFI_OTA=1
|
||||
build_src_filter = ${esp32c6_base.build_src_filter}
|
||||
+<../variants/xiao_c6>
|
||||
+<XiaoC6Board.cpp>
|
||||
|
||||
[env:Xiao_C6_Repeater]
|
||||
extends = Xiao_C6
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
#define RADIOLIB_STATIC_ONLY 1
|
||||
#include <RadioLib.h>
|
||||
#include <XiaoC6Board.h>
|
||||
#include <helpers/radiolib/RadioLibWrappers.h>
|
||||
#include <helpers/ESP32Board.h>
|
||||
#include <helpers/esp32/XiaoC6Board.h>
|
||||
#include <helpers/radiolib/CustomSX1262Wrapper.h>
|
||||
#include <helpers/AutoDiscoverRTCClock.h>
|
||||
#include <helpers/SensorManager.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue