From 92304d26455f735a9729e68109cf888471b72f9f Mon Sep 17 00:00:00 2001
From: Nivek-domo <123359286+Nivek-domo@users.noreply.github.com>
Date: Fri, 18 Apr 2025 09:31:43 +0200
Subject: [PATCH] Create platformio.ini
https://gaulix.fr/carte-gaulix-low-cost-30dbm/ our new hardware in France
---
variants/GaulixLCrp2040V1b/platformio.ini | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
create mode 100644 variants/GaulixLCrp2040V1b/platformio.ini
diff --git a/variants/GaulixLCrp2040V1b/platformio.ini b/variants/GaulixLCrp2040V1b/platformio.ini
new file mode 100644
index 000000000..ff62c9c13
--- /dev/null
+++ b/variants/GaulixLCrp2040V1b/platformio.ini
@@ -0,0 +1,22 @@
+[env:GaulixLCrp2040V1b]
+extends = rp2040_base
+board = rakwireless_rak11300
+upload_protocol = picotool
+
+# add our variants files to the include and src paths
+build_flags = ${rp2040_base.build_flags}
+ -DRAK11310
+ -Ivariants/rak11310
+ -DDEBUG_RP2040_PORT=Serial
+ -DRV3028_RTC=0x52
+ -L "${platformio.libdeps_dir}/${this.__env__}/bsec2/src/cortex-m0plus"
+ #autorise le hardware remote
+ -DMESHTASTIC_EXCLUDE_REMOTEHARDWARE=0
+build_src_filter = ${rp2040_base.build_src_filter} +<../variants/rak11310> + + +
+lib_deps =
+ ${rp2040_base.lib_deps}
+ ${networking_base.lib_deps}
+ melopero/Melopero RV3028@^1.1.0
+ https://github.com/RAKWireless/RAK13800-W5100S.git#1.0.2
+debug_build_flags = ${rp2040_base.build_flags}, -g
+debug_tool = cmsis-dap ; for e.g. Picotool