avr: added forwarder app.

simpler than router app, just for forwarding messages between interfaces.
mainly used by t03.
This commit is contained in:
Martin Preuss
2025-08-25 14:12:39 +02:00
parent 64854506e5
commit 41843cbab9
6 changed files with 402 additions and 1 deletions

View File

@@ -37,6 +37,10 @@ initApps:
bigcall AppHub_Init
#endif
#ifdef APPS_FORWARDER
bigcall AppForwarder_Init
#endif
#ifdef APPS_MOTION
bigcall AppMotion_Init
#endif
@@ -79,7 +83,17 @@ runApps:
#endif
#ifdef APPS_HUB
bigcall AppHub_Run
push r16
bigcall AppHub_Run
pop r16
sbci r16, 0 ; decrease r16 only if CFLAG set
#endif
#ifdef APPS_FORWARDER
push r16
bigcall AppForwarder_Run
pop r16
sbci r16, 0 ; decrease r16 only if CFLAG set
#endif
; add more modules here