What should I change in my project so the example code for UART-printf to work?
Hellow, I've been dealing with this problem:
I run the UART-printf example on my STM32L011T6 board and it works perfectly. But when I start a new project in System Workbench, name it however I like, add a Hardware Abstraction Layer (HAL) as a static external library, create it in a workspace and then add all the code from the UART-printf example as it should be + all the files and configurations set, I get a FLASH overflow by 25000 bytes and RAM overflow by 800 bytes. I've built the library, I do have the syscalls.c file in the same folder as the main.c file. All the include paths and library paths also seem to be completely fine.
Without the printf() part it's working well, it builds and runs, but when I add the printf lines it gets that messy with the overflow errors. I'm not quite sure what I'm doing wrong and I've been stuck for some time, so if someone could help I'd really appreciate it!
