ARM과 스택 정렬에서 부동 소수점의 Printf
2018-02-28 오전 2:31
In some cases, printf of floating point (%f) does not seem to work.
The IAR C/C++ Compiler for ARM requires the Stack Pointer to be aligned at 8 bytes. 8-byte alignment is required by AEABI (and some instructions generated by the compiler for some cores).
The default cstartup code automatically initializes the ARM core stack(s) to an 8-byte aligned address. Make sure that your application and/or RTOS also does this.
All product names are trademarks or registered trademarks of their respective owners.