-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BLE Codespace Reduction #7702
Comments
@mrengineer7777 - Thanks for noticing and reporting it! |
When removing BLE...FreeRTOS.cpp, you may also need to update Line 167 in d342739
|
those files come from the original library that Neil Colban created. There might be some functionality that is needed there. Maybe just rename it to something more sane? |
I'll compare the local RTOS.h and local FreeRTOS.cpp to the current IDF version. |
This is a change that will take effect when the NimBLE library be released. #9878 |
Interesting! For legacy reasons we are still stuck on arduino-esp32 2.x. We recently started using BLE and quickly had to switch to NimBLE because of performance and memory issues with the default BLE client. NimBLE has been great. |
Related area
BLE
Hardware specification
ESP32
Is your feature request related to a problem?
I was browsing through the Arduino libraries, learning how xTaskCreate is used and noticed the BLE library includes https://github.com/espressif/arduino-esp32/blob/master/libraries/BLE/src/FreeRTOS.cpp and https://github.com/espressif/arduino-esp32/blob/master/libraries/BLE/src/RTOS.h. I believe this functionality already exists in the IDF and is duplicated here.
Describe the solution you'd like
Remove FreeRTOS.cpp and RTOS.h. Reference native functions instead.
Describe alternatives you've considered
Current code works but likely takes more space, and FreeRTOS definitions may diverge from IDF.
Additional context
No response
I have checked existing list of Feature requests and the Contribution Guide
The text was updated successfully, but these errors were encountered: