added simple beeper module.

This commit is contained in:
Martin Preuss
2026-02-02 21:20:25 +01:00
parent c8e5317cac
commit 40033db235
6 changed files with 184 additions and 1 deletions

View File

@@ -177,6 +177,14 @@
#endif
#ifdef MODULES_BEEPER_SIMPLE
.include "modules/beeper_simple/main.asm"
#ifdef MODULES_NETWORK
.include "modules/beeper_simple/recv.asm"
#endif
#endif
#ifdef MODULES_TWI_MASTER
.include "modules/twimaster/main.asm"
#endif

View File

@@ -125,6 +125,11 @@ onSystemTimerTick:
#endif
#ifdef MODULES_BEEPER_SIMPLE
bigcall BeeperSimple_Every100ms
#endif
#ifdef MODULES_UART_BITBANG
bigcall UART_BitBang_Every100ms
#endif

View File

@@ -58,12 +58,16 @@ initModules:
#endif
#ifdef MODULES_LED_ACTIVITY
bigcall LedActivity_Init
#endif
#ifdef MODULES_BEEPER_SIMPLE
bigcall BeeperSimple_Init
#endif
#ifdef MODULES_COM
bigcall Com2_Init ; init COM module
bigcall CPRO_Init ; init COM protocol module
@@ -325,6 +329,13 @@ mainModulesOnPacketReceived:
#endif
#ifdef MODULES_BEEPER_SIMPLE
#ifdef MODULES_NETWORK
bigcall BeeperSimple_OnPacketReceived
#endif
#endif
; add more here
ret