Home > other > UCOSIII stm32cubeIDE transplant, STemwin stm32407 chip, after the float variables into the hardware
UCOSIII stm32cubeIDE transplant, STemwin stm32407 chip, after the float variables into the hardware
Time:10-15
Such as: UCOSIII stm32cubeIDE transplant, STemwin, stm32407 chip, float variables into the hardware error after Is Keil5 before transplantation also encountered this problem, and then is in the boot file to add a piece of code solves the, This time because of the startup file is different also, don't know how to change
CodePudding user response:
See what is the specific hardware error, then try to analysis
CodePudding user response:
Feel like precision problem, you add a f when float variables; Such as float a=0.5 f;
CodePudding user response:
If the CPU with floating point registers, at the time of transplantation is put into the inside of the task stack as R0 - R3