avr: started working on new LCD module and SPI module.

This commit is contained in:
Martin Preuss
2025-05-20 00:31:56 +02:00
parent aceffdfad2
commit cb379d4149
10 changed files with 996 additions and 4 deletions

View File

@@ -121,6 +121,11 @@
.include "modules/owimaster/main.asm"
#endif
#ifdef MODULES_SPI_HW
.include "modules/spi_hw/main.asm"
#endif
#ifdef MODULES_DS18B20
.include "modules/ds18b20/main2.asm"
#ifdef MODULES_NETWORK
@@ -147,6 +152,13 @@
#endif
#endif
#ifdef MODULES_ILI9341
.include "modules/lcd2/ili9341/defs.asm"
.include "modules/lcd2/ili9341/main.asm"
#endif
#ifdef APPS_MOTION
.include "modules/f_keepup/main.asm"
.include "modules/valsched/main.asm"

View File

@@ -84,6 +84,11 @@ initModules:
#ifdef MODULES_OWI_MASTER
rcall OwiMaster_Init
#endif
#ifdef MODULES_SPI_HW
rcall SPIHW_Init
#endif
#ifdef MODULES_LCD
rcall LCD_Init
#endif
@@ -135,6 +140,10 @@ initModules:
rcall CCS811_Init
#endif
#ifdef MODULES_ILI9341
rcall ILI9341_Init
#endif
; done
ret
@@ -169,10 +178,6 @@ runModules_Com:
runModules_ComEnd:
#endif
#ifdef MODULES_UART_HW
rcall NET_Uart_Run
#endif
#ifdef MODULES_TTYONUART1
rcall TtyOnUart1_Run
#endif