Change linker script and startup code.

This is my own code from my template. It is much cleaner than the old code.
This commit is contained in:
2020-08-21 23:25:03 +02:00
parent 95de84fa85
commit ec117e0627
14 changed files with 493 additions and 738 deletions

View File

@@ -149,7 +149,7 @@ static void lcd_command(uint8_t data)
// Set DD RAM Address --------- 0b1xxxxxxx (Display Data RAM)
#define LCD_SET_DDADR 0x80
static char __attribute__((section(".ccmram"))) shadow_display[4][21];
static char __attribute__((section(".ccm.bss"))) shadow_display[4][21];
void lcd_clear(void)
{