Move variant specific code

此提交包含在:
Alexander Begoon
2025-08-08 23:04:14 +02:00
父節點 ce4e559c01
當前提交 6902dd81fa
共有 4 個檔案被更改,包括 4 行新增1 行删除
+2
查看文件
@@ -47,3 +47,5 @@ mesh::LocalIdentity radio_new_identity() {
RadioNoiseListener rng(radio);
return mesh::LocalIdentity(&rng); // create new random identity
}
查看文件
+1
查看文件
@@ -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
+1 -1
查看文件
@@ -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>