This commit is contained in:
rusefillc 2023-05-24 20:28:24 -04:00
parent 456825e58c
commit d32ba736ad
3 changed files with 17 additions and 2 deletions

View File

@ -1,4 +1,5 @@
PLATFORMSRC_CONTRIB := ${ARTERY_CONTRIB}/os/hal/ports/ARTERY/hal_lld.c
PLATFORMSRC_CONTRIB := ${ARTERY_CONTRIB}/os/hal/ports/ARTERY/hal_lld.c \
${ARTERY_CONTRIB}/os/hal/ports/ARTERY/hal_st_lld.c
PLATFORMINC_CONTRIB := ${ARTERY_CONTRIB}/os/hal/ports/ARTERY

View File

@ -2,5 +2,7 @@
#include "hal.h"
void hal_lld_init(void) {
}
}
void boardInit(void) {
}

View File

@ -0,0 +1,12 @@
#include "hal.h"
#if (OSAL_ST_MODE != OSAL_ST_MODE_NONE) || defined(__DOXYGEN__)
void st_lld_init(void) {
#if OSAL_ST_MODE == OSAL_ST_MODE_PERIODIC
//todo
#endif /* OSAL_ST_MODE == OSAL_ST_MODE_PERIODIC */
}
#endif /* OSAL_ST_MODE != OSAL_ST_MODE_NONE */