[BT] Update NimBLE-Arduino to 2.2.1 (#2140)
* Update NimBLE-Arduino to 2.2.1 * Add BLE OTA update capability.
This commit is contained in:
1 parent
4bf43f5695
commit
d03795d0bf
8 files changed
+94
-99
No files matched your search
+8
-7
@@ -126,10 +126,10 @@ build_flags =
|
||||
custom_description = BLE gateway with external antenna and Ethernet/WiFi connectivity, [user guide](https://tbridge02.theengs.io/)
|
||||
custom_hardware = Theengs Bridge gateway ethernet
|
||||
|
||||
; DISCLAIMER: This is the default environment for Theengs Plug.
|
||||
; DISCLAIMER: This is the default environment for Theengs Plug.
|
||||
; Any modifications to this configuration are not covered by warranty.
|
||||
; Proceed with caution when making changes.
|
||||
;
|
||||
;
|
||||
; SAFETY WARNING: Do not modify values related to current limits MAX_CURRENT_ACTUATOR or other
|
||||
; safety-critical parameters. Doing so may lead to fire hazards or damage to the device.
|
||||
[env:theengs-plug]
|
||||
@@ -143,7 +143,7 @@ lib_deps =
|
||||
${libraries.decoder}
|
||||
${libraries.adafruit_neopixel}
|
||||
${libraries.rn8209}
|
||||
build_flags =
|
||||
build_flags =
|
||||
${env.build_flags}
|
||||
${com-esp32.build_flags}
|
||||
'-DZgatewayBT="BT"'
|
||||
@@ -1811,7 +1811,7 @@ build_flags =
|
||||
'-DCONFIG_ESP_CONSOLE_UART=ESP_CONSOLE_USB_SERIAL_JTAG'
|
||||
|
||||
[env:esp32c3-m5stamp]
|
||||
; https://docs.m5stack.com/en/core/stamp_c3
|
||||
; https://docs.m5stack.com/en/core/stamp_c3
|
||||
platform = ${com.esp32_platform}
|
||||
board = esp32-c3-devkitm-1
|
||||
board_build.partitions = min_spiffs.csv
|
||||
@@ -1834,7 +1834,7 @@ custom_description = BLE gateway on ESP32C3
|
||||
custom_hardware = M5Stamp C3
|
||||
|
||||
[env:esp32c3u-m5stamp]
|
||||
; https://docs.m5stack.com/en/core/stamp_c3u
|
||||
; https://docs.m5stack.com/en/core/stamp_c3u
|
||||
platform = ${com.esp32_platform}
|
||||
board = esp32-c3-devkitm-1
|
||||
board_build.partitions = min_spiffs.csv
|
||||
@@ -1898,8 +1898,9 @@ extra_scripts = ${com-esp32.extra_scripts}
|
||||
board_build.partitions = partitions/min_spiffs.csv
|
||||
lib_deps =
|
||||
${com-esp32.lib_deps}
|
||||
${libraries.ble}
|
||||
${libraries.decoder}
|
||||
h2zero/esp-nimble-cpp@2.0.1
|
||||
h2zero/NimBLEOta@0.1.0
|
||||
build_flags =
|
||||
${com-esp32.build_flags}
|
||||
'-DZgatewayBT="BT"'
|
||||
@@ -1908,5 +1909,5 @@ build_flags =
|
||||
'-DGateway_Name="OMG_ESP32_BLE"'
|
||||
'-DUSE_BLUFI=1'
|
||||
'-DenableMultiGTWSync=false'
|
||||
'-DARDUINO_LOOP_STACK_SIZE=17500'
|
||||
'-DCONFIG_NIMBLE_CPP_FREERTOS_TASK_BLOCK_BIT=31'
|
||||
custom_description = Regular BLE gateway based on esp-idf with adaptive scanning activated, automatically adapts the scan parameters depending on your devices
|
||||
Reference in new issue
Block a user