meshtastic-firmware/variants/portduino/platformio.ini

37 wiersze
1000 B
INI

; The Portduino based sim environment on top of any host OS, all hardware will be simulated
[env:native]
platform = https://github.com/geeksville/platform-native.git
src_filter =
${env.src_filter}
-<esp32/>
-<nimble/>
-<nrf52/>
-<mesh/http/>
-<modules/esp32>
-<modules/Telemetry>
+<../variants/portduino>
build_flags = ${arduino_base.build_flags} -O0 -I variants/portduino
framework = arduino
board = cross_platform
lib_deps =
${arduino_base.lib_deps}
rweather/Crypto
; The Portduino based sim environment on top of a linux OS and touching linux hardware devices
[env:linux]
platform = https://github.com/geeksville/platform-native.git
src_filter =
${env.src_filter}
-<esp32/>
-<nimble/>
-<nrf52/>
-<mesh/http/>
-<modules/esp32>
-<modules/Telemetry>
+<../variants/portduino>
build_flags = ${arduino_base.build_flags} -O0 -lgpiod -I variants/portduino
framework = arduino
board = linux_hardware
lib_deps =
${arduino_base.lib_deps}
rweather/Crypto