sforkowany z mirror/meshtastic-firmware
37 wiersze
1.2 KiB
INI
37 wiersze
1.2 KiB
INI
; The Portduino based sim environment on top of any host OS, all hardware will be simulated
|
|
[portduino_base]
|
|
build_src_filter =
|
|
${env.build_src_filter}
|
|
-<platform/esp32/>
|
|
-<nimble/>
|
|
-<platform/nrf52/>
|
|
-<platform/stm32wl/>
|
|
-<platform/rp2040>
|
|
-<mesh/http/>
|
|
-<modules/esp32>
|
|
-<modules/Telemetry>
|
|
+<../variants/portduino>
|
|
lib_deps =
|
|
${env.lib_deps}
|
|
${networking_base.lib_deps}
|
|
rweather/Crypto
|
|
https://github.com/meshtastic/RadioLib.git#5582ac30578ff3f53f20630a00b2a8a4b8f92c74
|
|
build_flags = ${arduino_base.build_flags} -Isrc/platform/portduino
|
|
|
|
[env:native]
|
|
platform = https://github.com/meshtastic/platform-native.git
|
|
build_flags = ${portduino_base.build_flags} -O0 -I variants/portduino
|
|
framework = arduino
|
|
board = cross_platform
|
|
lib_deps = ${portduino_base.lib_deps}
|
|
build_src_filter = ${portduino_base.build_src_filter}
|
|
|
|
; The Portduino based sim environment on top of a linux OS and touching linux hardware devices
|
|
[env:linux]
|
|
platform = https://github.com/meshtastic/platform-native.git
|
|
build_flags = ${portduino_base.build_flags} -O0 -lgpiod -I variants/portduino
|
|
framework = arduino
|
|
board = linux_hardware
|
|
lib_deps = ${portduino_base.lib_deps}
|
|
build_src_filter = ${portduino_base.build_src_filter}
|