AnsweredAssumed Answered

STM32L4 CubeMX FreeRTOS issue

Question asked by jonker.hans on Apr 22, 2016
Latest reply on Apr 25, 2016 by jonker.hans
Anybody,

I have an issue on the next combination:
32L476..
CubeMX (4.14.0, package repo updated as of today (april 22))
FreeRTOS

I have set cube to generate code for 'Other toolchains'. This gives me 3 flavours of RTOS implementation (GCC/IAR/RVDS).
Each of these flavours include a map ARM_CM4F (NOTE: F, not L...)
These maps each contain the files port.c and portmacro.h.  The IAR flavour also contains portasm.s
I am using GCC, but this comes up with an error stating the assembly instructions vstmdbeq and vldmiaeq cannot be used in THUMB mode, + some instructions are not allowed in IT block.
I checked  each of the other flavours manually, and each of them at least contain the assembly instructions mentioned before.

Since The L4 does not support ARM mode, this is a bit of an issue.

The function involved is "xPortPendSVHandler" but I have not checked all files (the make util aborts on this issue)

Anybody for a solution??

Thanks in advance
Kind regards,
    Hans Jonker

Outcomes