avr: activate new led modules.

This commit is contained in:
Martin Preuss
2025-08-25 10:22:50 +02:00
parent 6e062d3f60
commit 465e750e3c
3 changed files with 42 additions and 1 deletions

View File

@@ -161,6 +161,16 @@
#endif
#endif
#ifdef MODULES_LED_SIGNAL
.include "modules/led_signal/main.asm"
#endif
#ifdef MODULES_LED_ACTIVITY
.include "modules/led_activity/main.asm"
#endif
#ifdef MODULES_TWI_MASTER
.include "modules/twimaster/main.asm"
#endif

View File

@@ -115,6 +115,16 @@ onSystemTimerTick:
bigcall LedSimple_Every100ms
#endif
#ifdef MODULES_LED_SIGNAL
bigcall LedSignal_Every100ms
#endif
#ifdef MODULES_LED_ACTIVITY
bigcall LedActivity_Every100ms
#endif
#ifdef MODULES_UART_BITBANG
bigcall UART_BitBang_Every100ms
#endif

View File

@@ -52,6 +52,18 @@ initModules:
bigcall LedSimple_Init
#endif
#ifdef MODULES_LED_SIGNAL
bigcall LedSignal_Init
#endif
#ifdef MODULES_LED_ACTIVITY
bigcall LedActivity_Init
#endif
#ifdef MODULES_COM
bigcall Com2_Init ; init COM module
bigcall CPRO_Init ; init COM protocol module
@@ -239,6 +251,15 @@ runModules:
sbci r16, 0
#endif
#ifdef MODULES_COM2W
push r16
bigcall COM2W_Run
pop r16
sbci r16, 0
#endif
#ifdef MODULES_COM2W0
push r16
bigcall COM2W0_Run