stm32duino / STM32FreeRTOS

Real Time Operating System implemented for STM32
302 stars 59 forks source link

Add support of STM32WL #44

Closed beegee-tokyo closed 2 years ago

beegee-tokyo commented 2 years ago

A call for help. I guess I am just missing some setting somewhere.

I am trying to use FreeRTOS with the Arduino_Core_STM32 and the newly added variant WL54CCU_WL55CCU_WLE4C(8-B-C)U_WLE5C(8-B-C)U

But compilation fails (even with empty sketch) with

C:\Users\RAKWIR~1\AppData\Local\Temp\cci0Ndhb.s: Assembler messages:
C:\Users\RAKWIR~1\AppData\Local\Temp\cci0Ndhb.s:334: Error: selected FPU does not support instruction -- `vstmdbeq r0!,{s16-s31}'
C:\Users\RAKWIR~1\AppData\Local\Temp\cci0Ndhb.s:356: Error: selected FPU does not support instruction -- `vldmiaeq r0!,{s16-s31}'

Example sketch:

#include <STM32FreeRTOS.h>

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}
fpistm commented 2 years ago

Hi @beegee-tokyo

currently this library does not support the STM32WL. I did not have time to add it properly, same for STM32L5 and STM32U5.

beegee-tokyo commented 2 years ago

Too bad. Anything I can help?

fpistm commented 2 years ago

well, feel free to contribute. I will review your PR 😉

beegee-tokyo commented 2 years ago

Will have a look. For now I do not know where to search. It seems the wrong MCU/FPU type is selected, I guess that is requiring to select the correct STM32 MCU.

fpistm commented 2 years ago

~Support of CM33 added thanks #48~ --> my mistake, I thought it was ok but no.

fpistm commented 2 years ago

Issue:

C:\Users\***\AppData\Local\Temp\ccMfcvd2.s: Assembler messages:
C:\Users\***\AppData\Local\Temp\ccMfcvd2.s:326: Error: selected FPU does not support instruction -- `vstmdbeq r0!,{s16-s31}'
C:\Users\***\AppData\Local\Temp\ccMfcvd2.s:348: Error: selected FPU does not support instruction -- `vldmiaeq r0!,{s16-s31}'