I'm using STM32L4XX, this is a CM4 processor with FPU. In my project FPU is not needed and won't be used, I'm compiling with -mfloat-abi=soft option to ensure my compiler won't generate FPU instructions.
I've read on the forum that CM3 port can be used if CM4 processor doesn't have FPU.
Can I use CM3 port?
FreeRTOS port for CM4F forces FPU activation, if I still want to use the CM4F port, can I disable the FPU after the scheduler starts?
I assume CM4F port suits better CM4 processors than CM3 port...
Thanks in advance.
If you don't need the FPU the CM3 port is the right one even for CM4 MCUs.
Thanks for the reply.
From the curiosity, what will happen, if I'll disable FPU after scheduler starts using CM4F port?
You will probably get an exception. If you are using the CM3 port on a
CM4 chip then leave the FPU disabled (which it is by default).
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.