-
Notifications
You must be signed in to change notification settings - Fork 3k
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
RTOS does not honour SystemCoreClock and related CMSIS clocking setup #25
Comments
Reporting here Hugo's investigation:
We will not implement this change to the existing mbed-rtos implementation. Perhaps, in the future, we could consider providing a different implementation optimized for low-power. Emilio |
update reference to uvisor-mbed-lib for extern patch
Check validity of transaction pointer when sending data
generate oob at will and without passing in connection handle
Added us ticker implementation
Port BLE_LED from mbed classic to mbed OS
The mbed-rtos library does not use or honour SystemCoreClock and is not responsive to changes in SystemCoreClock at run time. To change the core frequency, you must first change the registers and call SystemCoreClockUpdate() mechanism, but then you must update #define OS_CLOCK in mbed-rtos/rtx/RTX_Conf_CM.c. Obviously the later can't be done by code at run time, and this makes run-time clock changes impossible. This furthermore makes the RTOS almost impossible to use in a energy-constrained application. I realise fixing this properly is non-trivial, but I would urge you to find a good solution rather than a quick one.
The text was updated successfully, but these errors were encountered: