patch radiolib on-the-fly while building.

This commit is contained in:
Thomas Göttgens
2022-06-10 20:38:56 +02:00
parent beb8bc9e72
commit 2a3272b7d0
4 changed files with 1427 additions and 0 deletions
+7
View File
@@ -93,6 +93,10 @@ build_src_filter =
${arduino_base.build_src_filter} -<nrf52/>
upload_speed = 921600
debug_init_break = tbreak setup
extra_scripts =
${env.extra_scripts}
pre:bin/apply_patches.py
# Remove -DMYNEWT_VAL_BLE_HS_LOG_LVL=LOG_LEVEL_CRITICAL for low level BLE logging.
# See library directory for BLE logging possible values: .pio/libdeps/tbeam/NimBLE-Arduino/src/log_common/log_common.h
# This overrides the BLE logging default of LOG_LEVEL_INFO (1) from: .pio/libdeps/tbeam/NimBLE-Arduino/src/esp_nimble_cfg.h
@@ -144,6 +148,9 @@ build_src_filter =
${arduino_base.build_src_filter} -<esp32/> -<nimble/> -<mesh/wifi/> -<mesh/http/> -<modules/esp32> -<mqtt/>
lib_ignore =
BluetoothOTA
extra_scripts =
${env.extra_scripts}
pre:bin/apply_patches.py
[nrf52840_base]
extends = nrf52_base