Hi,
Does anyone know if there are plans to support RTX in the nRF52 SDK? It is included in the nRF51 SDK under external/rtx
, and there is an example in examples/peripheral/blinky_rtx
. However the nRF52 has no such files or directories.
Hi,
Does anyone know if there are plans to support RTX in the nRF52 SDK? It is included in the nRF51 SDK under external/rtx
, and there is an example in examples/peripheral/blinky_rtx
. However the nRF52 has no such files or directories.
I am not an expert in RTX, I did this and it worked for nRF52 RTX. I just copied blinky RTX example into nRF52_SDK.0.9.0\examples\peripheral\blinky_rtx
1) Target options ->Device ->selected nRF52 from the drop down and selected the nRF52832_xxAA
2) C/C++ tab -> __HEAP_SIZE=0 __STACK_SIZE=1024 BSP_DEFINES_ONLY BOARD_PCA10036 RTX NRF52
3)same as above for Asm tab
4) removed two files from Third Party Project folders and added these two from the path
C:\Keil_v5\ARM\Pack\ARM\CMSIS\4.2.0\CMSIS_RTX\LIB\ARM\RTX_CM4.lib
C:\Keil_v5\ARM\Pack\ARM\CMSIS\4.2.0\CMSIS\Pack\Example\Boards\Keil\MCB1800\RTX_Blinky\RTE\CMSIS\RTX_Conf_CM.c
I compiled the project, flashed to nRF52 board and it seemed to work. Looks like the support is already there from CMSIS :)
Blinky works but it does not work with softdevice (for reason yet unknown), that is why it's not present in nRF52 SDK. We are planning to keep the support so it will come back in future release.
Check if this is why it does not work. devzone.nordicsemi.com/.../
Right now the softdevice is enabled with FPU enabled on nRF52 (unintentional but this is raised and will be fixed by softdevice team) If FPU is enabled, then the SVC Handler in MBR and softdevice needs to be handled differently. In any case I think that the RTX example will work if not combined with softdevice.
So, that means.. Software device coudn't be enable by RTX.
The reason is SVC Code of software device also using MSP when enable FPU..
That would casuse MSP conflict, for RTX and Software device.
Is this is a concern that Nordic seems to be removing support for CMSIS though?