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:
		@@ -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)
 | 
			
		||||
{
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user