2022-09-12 14:02:21 +02:00
|
|
|
[nrf52_base]
|
|
|
|
|
; Instead of the standard nordicnrf52 platform, we use our fork which has our added variant files
|
2025-04-09 13:31:40 -04:00
|
|
|
platform =
|
|
|
|
|
# renovate: datasource=custom.pio depName=platformio/nordicnrf52 packageName=platformio/platform/nordicnrf52
|
|
|
|
|
platformio/nordicnrf52@^10.8.0
|
2022-09-12 14:02:21 +02:00
|
|
|
extends = arduino_base
|
2024-08-13 04:45:39 -07:00
|
|
|
platform_packages =
|
|
|
|
|
; our custom Git version until they merge our PR
|
2025-04-09 13:31:40 -04:00
|
|
|
# TODO renovate
|
2025-11-04 04:35:44 -07:00
|
|
|
platformio/framework-arduinoadafruitnrf52 @ https://github.com/meshtastic/Adafruit_nRF52_Arduino#c770c8a16a351b55b86e347a3d9d7b74ad0bbf39
|
2025-04-09 20:23:15 -04:00
|
|
|
; Don't renovate toolchain-gccarmnoneeabi
|
2025-04-09 16:36:53 -04:00
|
|
|
platformio/toolchain-gccarmnoneeabi@~1.90301.0
|
2023-05-08 14:03:03 +02:00
|
|
|
|
2025-12-08 18:21:23 -05:00
|
|
|
extra_scripts =
|
|
|
|
|
${env.extra_scripts}
|
|
|
|
|
extra_scripts/nrf52_extra.py
|
|
|
|
|
|
2025-12-04 22:32:42 +01:00
|
|
|
build_type = release
|
2024-08-13 04:45:39 -07:00
|
|
|
build_flags =
|
2025-12-02 01:56:55 -06:00
|
|
|
-include variants/nrf52840/cpp_overrides/lfs_util.h
|
2023-08-02 10:08:59 -05:00
|
|
|
${arduino_base.build_flags}
|
|
|
|
|
-DSERIAL_BUFFER_SIZE=1024
|
|
|
|
|
-Wno-unused-variable
|
2022-09-12 14:02:21 +02:00
|
|
|
-Isrc/platform/nrf52
|
2024-05-08 08:46:08 +08:00
|
|
|
-DLFS_NO_ASSERT ; Disable LFS assertions , see https://github.com/meshtastic/firmware/pull/3818
|
2024-11-10 13:36:49 -06:00
|
|
|
-DMESHTASTIC_EXCLUDE_AUDIO=1
|
2024-11-12 05:50:30 -06:00
|
|
|
-DMESHTASTIC_EXCLUDE_PAXCOUNTER=1
|
2025-12-04 22:32:42 +01:00
|
|
|
-Os
|
|
|
|
|
build_unflags =
|
|
|
|
|
-Ofast
|
|
|
|
|
-Og
|
|
|
|
|
-ggdb3
|
|
|
|
|
-ggdb2
|
|
|
|
|
-g3
|
|
|
|
|
-g2
|
|
|
|
|
-g
|
|
|
|
|
-g1
|
|
|
|
|
-g0
|
2023-05-08 14:03:03 +02:00
|
|
|
|
2022-09-12 14:02:21 +02:00
|
|
|
build_src_filter =
|
2025-08-15 19:45:41 -05: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> -<serialization/>
|
2023-05-08 14:03:03 +02:00
|
|
|
|
|
|
|
|
lib_deps=
|
|
|
|
|
${arduino_base.lib_deps}
|
2024-11-11 16:05:48 +01:00
|
|
|
${radiolib_base.lib_deps}
|
2025-05-04 20:08:39 -04:00
|
|
|
# renovate: datasource=custom.pio depName=rweather/Crypto packageName=rweather/library/Crypto
|
|
|
|
|
rweather/Crypto@0.4.0
|
2023-05-08 14:03:03 +02:00
|
|
|
|
2022-09-12 14:02:21 +02:00
|
|
|
lib_ignore =
|
2024-10-28 19:30:39 +11:00
|
|
|
BluetoothOTA
|
2025-04-09 13:31:40 -04:00
|
|
|
lvgl
|