Skip to content

Commit 67b92c1

Browse files
committed
Fix for new core version in nimble
1 parent 37ab097 commit 67b92c1

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

Wireless_Controller/platformio.ini

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ default_envs = controller_ws2p8_dev
1515
[env]
1616
; platform = platformio/espressif32
1717
; platform = https://github.com/platformio/platform-espressif32.git
18-
platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip
18+
; platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip ; version number not specified
19+
; 55.03.37 = Arduino core 3.3.7, ESP-IDF 5.5.2 https://github.com/pioarduino/platform-espressif32/releases/tag/55.03.37
20+
platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.37/platform-espressif32.zip
1921
framework = arduino
2022

2123
monitor_speed = 115200
@@ -43,7 +45,10 @@ board_build.partitions = no_fs.csv ;min_spiffs.csv ;huge_app.csv
4345

4446
lib_deps =
4547
;
46-
h2zero/NimBLE-Arduino@^2.1.0
48+
; Use release/2.3 branch directly for Arduino 3.3.7 / ESP-IDF 5.5 controller init fix (PR #1090) until a stable release is released (assuming 2.3.8)
49+
; See: https://github.com/h2zero/NimBLE-Arduino/pull/1090
50+
https://github.com/h2zero/NimBLE-Arduino.git#release/2.3 ; pointing to this branch directly because it has the fix for the new arduino core, but it's not in a release yet
51+
; h2zero/NimBLE-Arduino@^2.3.8 ; TODO: change it to this as soon as it is released, because we do want it to point to a stable release afterall
4752
;
4853
;
4954
lvgl/lvgl@^9.4.0

Wireless_Controller/src/tasks/tasks.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ bool ps3ServiceStarted = false;
44

55
void task_bluetooth(void *parameters)
66
{
7-
delay(200); // just wait a moment i guess this is legacy
7+
delay(200); // just wait a moment
88

99
Serial.println(F("Bluetooth Rest Service Beginning"));
1010

0 commit comments

Comments
 (0)