make router functionality of r05 an app.

This commit is contained in:
Martin Preuss
2025-07-06 18:21:48 +02:00
parent 81b008af0c
commit 0a45e38939
7 changed files with 209 additions and 148 deletions

View File

@@ -29,6 +29,10 @@ initApps:
bigcall AppNetwork_Init
#endif
#ifdef APPS_ROUTER
bigcall AppRouter_Init
#endif
#ifdef APPS_MOTION
bigcall AppMotion_Init
#endif
@@ -62,9 +66,13 @@ initApps:
;
runApps:
#ifdef APPS_ROUTER
bigcall AppRouter_Run
#endif
; add more modules here
ret
; @end

View File

@@ -242,6 +242,11 @@
#endif
#ifdef APPS_ROUTER
.include "apps/router/main.asm"
#endif
#ifdef APPS_REPORTSENSORS
.include "apps/reportsensors/data.asm"
.include "apps/reportsensors/main.asm"