mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-25 09:42:35 +00:00
Merge pull request #1452 from meshtastic/1.2-buildfix
Fix building with PIO6
This commit is contained in:
commit
3b2375a27b
@ -107,7 +107,7 @@ lib_deps =
|
|||||||
build_flags = ${env.build_flags} -Os
|
build_flags = ${env.build_flags} -Os
|
||||||
# -DRADIOLIB_GODMODE
|
# -DRADIOLIB_GODMODE
|
||||||
|
|
||||||
src_filter = ${env.src_filter} -<portduino/>
|
build_src_filter = ${env.build_src_filter} -<portduino/>
|
||||||
|
|
||||||
; Common libs for environmental measurements (not included in native / portduino)
|
; Common libs for environmental measurements (not included in native / portduino)
|
||||||
[environmental]
|
[environmental]
|
||||||
@ -124,8 +124,8 @@ lib_deps =
|
|||||||
[esp32_base]
|
[esp32_base]
|
||||||
extends = arduino_base
|
extends = arduino_base
|
||||||
platform = espressif32@3.5.0
|
platform = espressif32@3.5.0
|
||||||
src_filter =
|
build_src_filter =
|
||||||
${arduino_base.src_filter} -<nrf52/>
|
${arduino_base.build_src_filter} -<nrf52/>
|
||||||
upload_speed = 921600
|
upload_speed = 921600
|
||||||
debug_init_break = tbreak setup
|
debug_init_break = tbreak setup
|
||||||
|
|
||||||
@ -179,8 +179,8 @@ board_build.partitions = partition-table.csv
|
|||||||
;board = cubecell_board_plus
|
;board = cubecell_board_plus
|
||||||
; FIXME, bug in cubecell arduino - they are supposed to set ARDUINO
|
; FIXME, bug in cubecell arduino - they are supposed to set ARDUINO
|
||||||
;build_flags = ${arduino_base.build_flags} -DARDUINO=100 -Isrc/cubecell
|
;build_flags = ${arduino_base.build_flags} -DARDUINO=100 -Isrc/cubecell
|
||||||
;src_filter =
|
;build_src_filter =
|
||||||
; ${arduino_base.src_filter} -<esp32/> -<nrf52/>
|
; ${arduino_base.build_src_filter} -<esp32/> -<nrf52/>
|
||||||
|
|
||||||
; Common settings for NRF52 based targets
|
; Common settings for NRF52 based targets
|
||||||
[nrf52_base]
|
[nrf52_base]
|
||||||
@ -195,8 +195,8 @@ build_flags =
|
|||||||
-Isrc/nrf52
|
-Isrc/nrf52
|
||||||
-Isdk-nrfxlib/crypto/nrf_oberon/include -Lsdk-nrfxlib/crypto/nrf_oberon/lib/cortex-m4/hard-float/ -lliboberon_3.0.7
|
-Isdk-nrfxlib/crypto/nrf_oberon/include -Lsdk-nrfxlib/crypto/nrf_oberon/lib/cortex-m4/hard-float/ -lliboberon_3.0.7
|
||||||
;-DCFG_DEBUG=3
|
;-DCFG_DEBUG=3
|
||||||
src_filter =
|
build_src_filter =
|
||||||
${arduino_base.src_filter} -<esp32/> -<nimble/> -<mesh/wifi/> -<mesh/http/> -<plugins/esp32> -<mqtt/>
|
${arduino_base.build_src_filter} -<esp32/> -<nimble/> -<mesh/wifi/> -<mesh/http/> -<plugins/esp32> -<mqtt/>
|
||||||
lib_ignore =
|
lib_ignore =
|
||||||
BluetoothOTA
|
BluetoothOTA
|
||||||
; monitor_port = /dev/ttyACM1
|
; monitor_port = /dev/ttyACM1
|
||||||
|
@ -5,7 +5,7 @@ board = wiscore_rak4631
|
|||||||
# add our variants files to the include and src paths
|
# add our variants files to the include and src paths
|
||||||
# define build flags for the TFT_eSPI library
|
# define build flags for the TFT_eSPI library
|
||||||
build_flags = ${nrf52840_base.build_flags} -Ivariants/WisCore_RAK4631_Board -D RAK_BASE_5005
|
build_flags = ${nrf52840_base.build_flags} -Ivariants/WisCore_RAK4631_Board -D RAK_BASE_5005
|
||||||
src_filter = ${nrf52_base.src_filter} +<../variants/WisCore_RAK4631_Board>
|
build_src_filter = ${nrf52_base.build_src_filter} +<../variants/WisCore_RAK4631_Board>
|
||||||
debug_tool = jlink
|
debug_tool = jlink
|
||||||
|
|
||||||
[env:rak4631_19003]
|
[env:rak4631_19003]
|
||||||
@ -14,7 +14,7 @@ board = wiscore_rak4631
|
|||||||
# add our variants files to the include and src paths
|
# add our variants files to the include and src paths
|
||||||
# define build flags for the TFT_eSPI library
|
# define build flags for the TFT_eSPI library
|
||||||
build_flags = ${nrf52840_base.build_flags} -Ivariants/WisCore_RAK4631_Board -D RAK_BASE_19003
|
build_flags = ${nrf52840_base.build_flags} -Ivariants/WisCore_RAK4631_Board -D RAK_BASE_19003
|
||||||
src_filter = ${nrf52_base.src_filter} +<../variants/WisCore_RAK4631_Board>
|
build_src_filter = ${nrf52_base.build_src_filter} +<../variants/WisCore_RAK4631_Board>
|
||||||
debug_tool = jlink
|
debug_tool = jlink
|
||||||
; If not set we will default to uploading over serial (first it forces bootloader entry by talking 1200bps to cdcacm)
|
; If not set we will default to uploading over serial (first it forces bootloader entry by talking 1200bps to cdcacm)
|
||||||
;upload_protocol = jlink
|
;upload_protocol = jlink
|
@ -6,7 +6,7 @@ board = lora_isp4520
|
|||||||
build_flags = ${nrf52_base.build_flags} -Ivariants/lora_isp4520
|
build_flags = ${nrf52_base.build_flags} -Ivariants/lora_isp4520
|
||||||
|
|
||||||
# No screen and GPS on the board. We still need RTC.cpp for the RTC clock.
|
# No screen and GPS on the board. We still need RTC.cpp for the RTC clock.
|
||||||
src_filter = ${nrf52_base.src_filter} +<../variants/lora_isp4520> -<graphics> -<gps> +<gps/GPS.cpp> +<gps/RTC.cpp>
|
build_src_filter = ${nrf52_base.build_src_filter} +<../variants/lora_isp4520> -<graphics> -<gps> +<gps/GPS.cpp> +<gps/RTC.cpp>
|
||||||
lib_ignore = ${nrf52_base.lib_ignore}
|
lib_ignore = ${nrf52_base.lib_ignore}
|
||||||
ESP8266_SSD1306
|
ESP8266_SSD1306
|
||||||
SparkFun Ublox Arduino Library
|
SparkFun Ublox Arduino Library
|
||||||
|
@ -14,7 +14,7 @@ build_flags = ${nrf52840_base.build_flags} -Ivariants/lora_relay_v1
|
|||||||
-DTFT_DC=ST7735_RS
|
-DTFT_DC=ST7735_RS
|
||||||
-DTFT_RST=ST7735_RESET
|
-DTFT_RST=ST7735_RESET
|
||||||
-DSPI_FREQUENCY=27000000
|
-DSPI_FREQUENCY=27000000
|
||||||
src_filter = ${nrf52_base.src_filter} +<../variants/lora_relay_v1>
|
build_src_filter = ${nrf52_base.build_src_filter} +<../variants/lora_relay_v1>
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${nrf52840_base.lib_deps}
|
${nrf52840_base.lib_deps}
|
||||||
SparkFun BQ27441 LiPo Fuel Gauge Arduino Library
|
SparkFun BQ27441 LiPo Fuel Gauge Arduino Library
|
||||||
|
@ -16,7 +16,7 @@ build_flags = ${nrf52840_base.build_flags} -Ivariants/lora_relay_v2
|
|||||||
-DSPI_FREQUENCY=27000000
|
-DSPI_FREQUENCY=27000000
|
||||||
-DTFT_WR=ST7735_SDA
|
-DTFT_WR=ST7735_SDA
|
||||||
-DTFT_SCLK=ST7735_SCK
|
-DTFT_SCLK=ST7735_SCK
|
||||||
src_filter = ${nrf52_base.src_filter} +<../variants/lora_relay_v2>
|
build_src_filter = ${nrf52_base.build_src_filter} +<../variants/lora_relay_v2>
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${nrf52840_base.lib_deps}
|
${nrf52840_base.lib_deps}
|
||||||
SparkFun BQ27441 LiPo Fuel Gauge Arduino Library
|
SparkFun BQ27441 LiPo Fuel Gauge Arduino Library
|
||||||
|
@ -4,4 +4,4 @@ extends = nrf52840_base
|
|||||||
board = nrf52840_dk_modified
|
board = nrf52840_dk_modified
|
||||||
# add our variants files to the include and src paths
|
# add our variants files to the include and src paths
|
||||||
build_flags = ${nrf52_base.build_flags} -Ivariants/pca10056-rc-clock
|
build_flags = ${nrf52_base.build_flags} -Ivariants/pca10056-rc-clock
|
||||||
src_filter = ${nrf52_base.src_filter} +<../variants/pca10056-rc-clock>
|
build_src_filter = ${nrf52_base.build_src_filter} +<../variants/pca10056-rc-clock>
|
@ -1,8 +1,8 @@
|
|||||||
; The Portduino based sim environment on top of any host OS, all hardware will be simulated
|
; The Portduino based sim environment on top of any host OS, all hardware will be simulated
|
||||||
[env:native]
|
[env:native]
|
||||||
platform = https://github.com/geeksville/platform-native.git
|
platform = https://github.com/geeksville/platform-native.git
|
||||||
src_filter =
|
build_src_filter =
|
||||||
${env.src_filter}
|
${env.build_src_filter}
|
||||||
-<esp32/>
|
-<esp32/>
|
||||||
-<nimble/>
|
-<nimble/>
|
||||||
-<nrf52/>
|
-<nrf52/>
|
||||||
@ -20,8 +20,8 @@ lib_deps =
|
|||||||
; The Portduino based sim environment on top of a linux OS and touching linux hardware devices
|
; The Portduino based sim environment on top of a linux OS and touching linux hardware devices
|
||||||
[env:linux]
|
[env:linux]
|
||||||
platform = https://github.com/geeksville/platform-native.git
|
platform = https://github.com/geeksville/platform-native.git
|
||||||
src_filter =
|
build_src_filter =
|
||||||
${env.src_filter}
|
${env.build_src_filter}
|
||||||
-<esp32/>
|
-<esp32/>
|
||||||
-<nimble/>
|
-<nimble/>
|
||||||
-<nrf52/>
|
-<nrf52/>
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
extends = nrf52_base
|
extends = nrf52_base
|
||||||
board = ppr1
|
board = ppr1
|
||||||
build_flags = ${nrf52_base.build_flags} -Ivariants/ppr1
|
build_flags = ${nrf52_base.build_flags} -Ivariants/ppr1
|
||||||
src_filter = ${nrf52_base.src_filter} +<../variants/ppr1>
|
build_src_filter = ${nrf52_base.build_src_filter} +<../variants/ppr1>
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${arduino_base.lib_deps}
|
${arduino_base.lib_deps}
|
@ -9,7 +9,7 @@ upload_protocol = jlink
|
|||||||
# -DBUSY_PIN=3 -DRST_PIN=2 -DDC_PIN=28 -DCS_PIN=30
|
# -DBUSY_PIN=3 -DRST_PIN=2 -DDC_PIN=28 -DCS_PIN=30
|
||||||
# add -DCFG_SYSVIEW if you want to use the Segger systemview tool for OS profiling.
|
# add -DCFG_SYSVIEW if you want to use the Segger systemview tool for OS profiling.
|
||||||
build_flags = ${nrf52840_base.build_flags} -Ivariants/t-echo
|
build_flags = ${nrf52840_base.build_flags} -Ivariants/t-echo
|
||||||
src_filter = ${nrf52_base.src_filter} +<../variants/t-echo>
|
build_src_filter = ${nrf52_base.build_src_filter} +<../variants/t-echo>
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${nrf52840_base.lib_deps}
|
${nrf52840_base.lib_deps}
|
||||||
https://github.com/geeksville/GxEPD2.git
|
https://github.com/geeksville/GxEPD2.git
|
||||||
|
Loading…
Reference in New Issue
Block a user