mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-01 18:29:56 +00:00
22 lines
913 B
INI
22 lines
913 B
INI
[env:native]
|
|
extends = portduino_base
|
|
build_flags = ${portduino_base.build_flags} -O0 -I variants/portduino
|
|
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]
|
|
extends = portduino_base
|
|
build_flags = ${portduino_base.build_flags} -O0 -lgpiod -I variants/portduino
|
|
board = linux_hardware
|
|
lib_deps = ${portduino_base.lib_deps}
|
|
build_src_filter = ${portduino_base.build_src_filter}
|
|
|
|
; The Raspberry Pi actually has accessible SPI and GPIO, so we can support real hardware there.
|
|
[env:raspbian]
|
|
extends = portduino_base
|
|
build_flags = ${portduino_base.build_flags} -O0 -lgpiod -I variants/portduino -DARCH_RASPBERRY_PI -lpigpio -lyaml-cpp
|
|
board = linux_arm
|
|
lib_deps = ${portduino_base.lib_deps}
|
|
build_src_filter = ${portduino_base.build_src_filter} |