STM32F103CBT6 KEIL compile error
Error: L6220E: Load region LR_IROM1 size (65552 bytes) exceeds limit (65536 bytes). Region contains 84 bytes of padding and 0 bytes of veneers (total 84 bytes of linker generated content).
128K chip, modify the size of
0x20000 (the red box in the figure below), some versions of KEIL will automatically change this place when you change
Device; and some versions need to be manually modified.
Select linker→edit accordingly to open the
Modify the data behind
ER_IROM1 in the file to
0x20000 (the red box in the figure below), and save the file;
Recompile, problem solved;
The first and second steps must be completed before compiling and testing. Doing the first step alone may not be successful.