I encounter an issue when updating CMSIS 5.01 to CMSIS 5.2
I am using Keil to compile and Flash a LPC4337 processor.
Both core are using RTX5, M4 core is using Systick timer for the kernel and M0 core is using the RIT Timer as an alternate timer.
With previous version (CMSIS 5.01) I used this code to configure my alternate timer :
With the new CMSIS versions (CMSIS 5.10 and CMSIS 5.20) the code does not compile anymore.
The variable "osRtxInfo.kernel.sys_freq" does not exist in these versions (I assume that I simply need to replace it by SystemCoreClock variable).
With this modification my project compiles but as soon as I call "osDelay" or "osDelayUntil" functions, my code gets stuck. I am not able to use Delay functions anymore (nothing else was changed in my code and if I re-use CMSIS 5.01 everything works fine).
What should I add/modify to be able to update the CMSIS software pack from 5.01 to 5.2 and keep using the RIT Timer as alternate systick timer for my LPC4337 M0 core (I have no issue with the LPC4337 M4 core, which uses the systick timer) when updating the CMSIS software pack?
I tried to contact Keil Support but they assumed that it should be caused by internal API changes so maybe someone here could help me !
Regards.
The text was updated successfully, but these errors were encountered:
Hi,
I encounter an issue when updating CMSIS 5.01 to CMSIS 5.2
I am using Keil to compile and Flash a LPC4337 processor.
Both core are using RTX5, M4 core is using Systick timer for the kernel and M0 core is using the RIT Timer as an alternate timer.
With previous version (CMSIS 5.01) I used this code to configure my alternate timer :
With the new CMSIS versions (CMSIS 5.10 and CMSIS 5.20) the code does not compile anymore.
The variable "osRtxInfo.kernel.sys_freq" does not exist in these versions (I assume that I simply need to replace it by SystemCoreClock variable).
With this modification my project compiles but as soon as I call "osDelay" or "osDelayUntil" functions, my code gets stuck. I am not able to use Delay functions anymore (nothing else was changed in my code and if I re-use CMSIS 5.01 everything works fine).
What should I add/modify to be able to update the CMSIS software pack from 5.01 to 5.2 and keep using the RIT Timer as alternate systick timer for my LPC4337 M0 core (I have no issue with the LPC4337 M4 core, which uses the systick timer) when updating the CMSIS software pack?
I tried to contact Keil Support but they assumed that it should be caused by internal API changes so maybe someone here could help me !
Regards.
The text was updated successfully, but these errors were encountered: