Skip to main content
Kamil Wroński
Associate II
Aug 1, 2020 12:15 PM UTC
Solved

Problems with ST Motor Control and EVSPIN32F0601S3

Hello

I am a beginner in the control of BLDC motors.

I am trying to use the ST Motor Control program to control the motor but I have a problem.

I have the EVSPIN32F0601S3 board.

STM32CubeIDE cannot compile the program generated by ST Motor Control and the following errors appear:

1. "hdd.elf section` .text 'will not fit in region `FLASH'"

2. "FLASH 'overflowed region by 19608 bytes"

Can someone help me or point me where to look for a solution?

This topic has been closed for replies.
Kamil Wroński
Kamil WrońskiBest answer
Associate II
Aug 1, 2020 5:03 PM UTC

I've already dealt with it. I changed optimization to -Os :)

1 reply

Kamil Wroński
Kamil WrońskiAuthorBest answer
Associate II
Aug 1, 2020 5:03 PM UTC

I've already dealt with it. I changed optimization to -Os :)