-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recompile, output overflowed #3
Comments
Optimization flags should fixed the issue: Building file: ../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c Building file: ../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c Building file: ../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c Building target: F1-T12.elf make --no-print-directory post-build |
14:39:16 **** Incremental Build of configuration Release for project F1-T12 ****
make all
arm-none-eabi-g++ -o "F1-T12.elf" @"objects.list" -mcpu=cortex-m3 -T"../STM32F103C8Tx_FLASH.ld" -Wl,-Map="F1-T12.map" -Wl,--gc-sections -static --specs=nano.specs -mfloat-abi=soft -mthumb -Wl,--start-group -lc -lm -lstdc++ -lsupc++ -Wl,--end-group
c:\st\stm32cubeide_1.0.2\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0.0.201904181610\tools\arm-none-eabi\bin\ld.exe: F1-T12.elf section
.rodata' will not fit in region
FLASH'c:\st\stm32cubeide_1.0.2\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0.0.201904181610\tools\arm-none-eabi\bin\ld.exe: F1-T12.elf section
.bss' will not fit in region
RAM'c:\st\stm32cubeide_1.0.2\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0.0.201904181610\tools\arm-none-eabi\bin\ld.exe: region
RAM' overflowed by 115896 bytes c:\st\stm32cubeide_1.0.2\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0.0.201904181610\tools\arm-none-eabi\bin\ld.exe: region
FLASH' overflowed by 9253216 bytescollect2.exe: error: ld returned 1 exit status
make: *** [makefile:60: F1-T12.elf] Error 1
"make all" terminated with exit code 2. Build might be incomplete.
14:39:18 Build Failed. 1 errors, 0 warnings. (took 2s.504ms)
I just learned STM32, please help me. Thank you!
The text was updated successfully, but these errors were encountered: