2022-09-12 12:02:21 +00:00
|
|
|
[nrf52_base]
|
|
|
|
; Instead of the standard nordicnrf52 platform, we use our fork which has our added variant files
|
2024-06-15 14:46:31 +00:00
|
|
|
platform = platformio/nordicnrf52@^10.5.0
|
2022-09-12 12:02:21 +00:00
|
|
|
extends = arduino_base
|
2024-08-13 11:45:39 +00:00
|
|
|
platform_packages =
|
|
|
|
; our custom Git version until they merge our PR
|
|
|
|
framework-arduinoadafruitnrf52 @ https://github.com/geeksville/Adafruit_nRF52_Arduino.git
|
2023-05-08 12:03:03 +00:00
|
|
|
|
2024-05-10 12:14:28 +00:00
|
|
|
build_type = debug
|
2024-08-13 11:45:39 +00:00
|
|
|
build_flags =
|
|
|
|
-include arch/nrf52/cpp_overrides/lfs_util.h
|
2023-08-02 15:08:59 +00:00
|
|
|
${arduino_base.build_flags}
|
|
|
|
-DSERIAL_BUFFER_SIZE=1024
|
|
|
|
-Wno-unused-variable
|
2022-09-12 12:02:21 +00:00
|
|
|
-Isrc/platform/nrf52
|
2024-05-08 00:46:08 +00:00
|
|
|
-DLFS_NO_ASSERT ; Disable LFS assertions , see https://github.com/meshtastic/firmware/pull/3818
|
2024-11-10 19:36:49 +00:00
|
|
|
-DMESHTASTIC_EXCLUDE_AUDIO=1
|
2024-11-12 11:50:30 +00:00
|
|
|
-DMESHTASTIC_EXCLUDE_PAXCOUNTER=1
|
2024-11-16 11:58:07 +00:00
|
|
|
-DMAX_NUM_NODES=80
|
2023-05-08 12:03:03 +00:00
|
|
|
|
2022-09-12 12:02:21 +00:00
|
|
|
build_src_filter =
|
2024-09-21 12:50:19 +00:00
|
|
|
${arduino_base.build_src_filter} -<platform/esp32/> -<platform/stm32wl> -<nimble/> -<mesh/wifi/> -<mesh/api/> -<mesh/http/> -<modules/esp32> -<platform/rp2xx0> -<mesh/eth/> -<mesh/raspihttp>
|
2023-05-08 12:03:03 +00:00
|
|
|
|
|
|
|
lib_deps=
|
|
|
|
${arduino_base.lib_deps}
|
2024-11-11 15:05:48 +00:00
|
|
|
${radiolib_base.lib_deps}
|
2024-08-10 18:45:41 +00:00
|
|
|
rweather/Crypto@^0.4.0
|
2023-05-08 12:03:03 +00:00
|
|
|
|
2022-09-12 12:02:21 +00:00
|
|
|
lib_ignore =
|
2024-10-28 08:30:39 +00:00
|
|
|
BluetoothOTA
|
|
|
|
lvgl
|