diff --git a/firmware/target/arm/tms320dm320/app.lds b/firmware/target/arm/tms320dm320/app.lds index 4e175101a9..635d9a8842 100644 --- a/firmware/target/arm/tms320dm320/app.lds +++ b/firmware/target/arm/tms320dm320/app.lds @@ -12,6 +12,14 @@ STARTUP(target/arm/tms320dm320/crt0.o) #define STUBOFFSET 0 #endif +#ifndef LCD_NATIVE_WIDTH +#define LCD_NATIVE_WIDTH LCD_WIDTH +#endif + +#ifndef LCD_NATIVE_HEIGHT +#define LCD_NATIVE_HEIGHT LCD_HEIGHT +#endif + #define LCD_FUDGE LCD_NATIVE_WIDTH%32 #define LCD_BUFFER_SIZE ((LCD_NATIVE_WIDTH+LCD_FUDGE)*LCD_NATIVE_HEIGHT*2)