74 lines
1.4 KiB
NASM
74 lines
1.4 KiB
NASM
; ***************************************************************************
|
|
; copyright : (C) 2026 by Martin Preuss
|
|
; email : martin@libchipcard.de
|
|
;
|
|
; ***************************************************************************
|
|
; * This file is part of the project "AqHome". *
|
|
; * Please see toplevel file COPYING of that project for license details. *
|
|
; ***************************************************************************
|
|
|
|
#ifndef AQH_AVR_DEVICES_ALL_APPS_INIT_ASM
|
|
#define AQH_AVR_DEVICES_ALL_APPS_INIT_ASM
|
|
|
|
|
|
; ***************************************************************************
|
|
; code
|
|
|
|
|
|
.cseg
|
|
|
|
|
|
; ---------------------------------------------------------------------------
|
|
; @routine appsInit
|
|
;
|
|
; Call init functions of the used apps. Add your routine calls here.
|
|
|
|
appsInit:
|
|
|
|
#ifdef APPS_NETWORK
|
|
ldi yl, LOW(netInterfaceData)
|
|
ldi yh, HIGH(netInterfaceData)
|
|
bigcall AppNetwork_Init
|
|
#endif
|
|
|
|
#ifdef APPS_ROUTER
|
|
bigcall AppRouter_Init
|
|
#endif
|
|
|
|
#ifdef APPS_HUB
|
|
bigcall AppHub_Init
|
|
#endif
|
|
|
|
#ifdef APPS_FORWARDER
|
|
bigcall AppForwarder_Init
|
|
#endif
|
|
|
|
#ifdef APPS_MOTION
|
|
bigcall AppMotion_Init
|
|
#endif
|
|
|
|
#ifdef APPS_DOOR
|
|
bigcall AppDoor_Init
|
|
#endif
|
|
|
|
#ifdef APPS_REPORTSENSORS
|
|
bigcall AppReportSensors_Init
|
|
#endif
|
|
|
|
#ifdef APPS_STATS
|
|
bigcall AppStats_Init
|
|
#endif
|
|
|
|
#ifdef APPS_MA_LIGHT
|
|
bigcall AppMotionLight_Init
|
|
#endif
|
|
|
|
; done
|
|
ret
|
|
; @end
|
|
|
|
|
|
#endif
|
|
|
|
|