STEVAL-SPIN3201 compilation - FLASH region is overflowed
- February 5, 2019
- 3 replies
- 1186 views
Hello,
I just received the eval board STEVAL-SPIN3201 and am following the document UM2152. Configuration-wise everything seems OK, but I am encountering a compilation problem, the FLASH region is overflowed:
>> MOTOR_0001.elf section `.text' will not fit in region `FLASH'
>> region `FLASH' overflowed by 26240 bytes
>> collect2.exe: error: ld returned 1 exit status
>> makefile:37: recipe for target 'MOTOR_0001.elf' failed
>> make: *** [MOTOR_0001.elf] Error 1
I did not modified the default parameters. Also, I tried compiling with different optimization levels, same result.
This is my config:
Windows 10 64-bits
STEVAL-SPIN3201
ST Motor Control Workbench version 5.3.2.18569
STM32 CubeMX version 5.0.0 (STM32Cube V1.0)
See attached file.
Any idea of what may be causing it?
Luis C.