Skip to content

Commit

Permalink
Use espressif32 version 3.5.0 for standard ESP32.
Browse files Browse the repository at this point in the history
* Resolves BLE scan_evt timeout issue with latest version (5.2.0).

* ESP32C3 and ESP32S3 Env's use espressif32 version 5.2.0.
  • Loading branch information
h2zero committed Nov 11, 2022
1 parent 22bce31 commit a200683
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ monitor_speed = 115200

[com]
esp8266_platform = espressif8266@3.2.0
esp32_platform = espressif32@5.2.0
esp32_platform = espressif32@3.5.0
esp32_c3_s3_platform = espressif32@5.2.0
atmelavr_platform = atmelavr@3.3.0

[com-esp]
Expand Down Expand Up @@ -1390,7 +1391,7 @@ build_flags =
'-DGateway_Name="OpenMQTTGateway_ESP32_BLE"'

[env:esp32s3-dev-c1-ble]
platform = ${com.esp32_platform}
platform = ${com.esp32_c3_s3_platform}
board = esp32-s3-devkitc-1
lib_deps =
${com-esp.lib_deps}
Expand All @@ -1405,7 +1406,7 @@ build_flags =
'-DGateway_Name="OpenMQTTGateway_ESP32_BLE"'

[env:esp32c3-dev-m1-ble]
platform = ${com.esp32_platform}
platform = ${com.esp32_c3_s3_platform}
board = esp32-c3-devkitm-1
board_build.partitions = min_spiffs.csv
lib_deps =
Expand Down

0 comments on commit a200683

Please sign in to comment.