Keil Error: L6406E: No space in execution regions - Using STM32F103RE
It looks like your selected MCU does not have enough space in flash to store the program.

Indicated by this forum post: ST Forum Link