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

@@ -34,8 +34,8 @@
#include <string.h>
#include <inttypes.h>
static char IN_SECTION(.ccmram) display_buffer[4][21] = {0};
static struct lcd_menu IN_SECTION(.ccmram) reflow_menu;
static char IN_SECTION(.ccm.bss) display_buffer[4][21] = {0};
static struct lcd_menu IN_SECTION(.ccm.bss) reflow_menu;
static struct lcd_menu * const reflow_menu_ptr = &reflow_menu;
static void update_display_buffer(uint8_t row, const char *data)