Blink on STM32L011: section `._user_heap_stack' will not fit in region `RAM'
Posted: Wed May 28, 2025 8:33 am
Arduino Version: 2.3.6 Date: 2025-04-09T11:24:04.835Z CLI Version: 1.2.0
STM32 MCU Based Boards 2.10.1
STM32CubeProgrammer-2.19.0
Ubuntu 24.04.2 LTS
I'm trying to make blink work with Generic STL32L011 series (Generic L011F4Px), specifically STM32L011F4P6. When I try to compile it, I get this error:
How to fix this problem?
(I think I posted in the wrong board, it should be in STM32L0 based boards)
STM32 MCU Based Boards 2.10.1
STM32CubeProgrammer-2.19.0
Ubuntu 24.04.2 LTS
I'm trying to make blink work with Generic STL32L011 series (Generic L011F4Px), specifically STM32L011F4P6. When I try to compile it, I get this error:
Code: Select all
/home/arduino2/.arduino15/packages/STMicroelectronics/tools/xpack-arm-none-eabi-gcc/14.2.1-1.1/bin/../lib/gcc/arm-none-eabi/14.2.1/../../../../arm-none-eabi/bin/ld: /home/arduino2/.cache/arduino/sketches/01993C4702910C0E65592A755C304C9F/Blink.ino.elf section `._user_heap_stack' will not fit in region `RAM'
/home/arduino2/.arduino15/packages/STMicroelectronics/tools/xpack-arm-none-eabi-gcc/14.2.1-1.1/bin/../lib/gcc/arm-none-eabi/14.2.1/../../../../arm-none-eabi/bin/ld: region `RAM' overflowed by 688 bytes
collect2: error: ld returned 1 exit status
exit status 1
Compilation error: exit status 1
(I think I posted in the wrong board, it should be in STM32L0 based boards)