Compare commits

...

6 Commits

Author SHA1 Message Date
rusefillc 0ef71ca751 progress 2023-05-24 21:10:03 -04:00
rusefillc d32ba736ad progress 2023-05-24 20:28:24 -04:00
rusefillc 456825e58c progress 2023-05-24 20:22:54 -04:00
rusefillc 5bd915929f fresh 2023-05-24 20:02:44 -04:00
rusefillc 0a4d4ac7a8 fresh 2023-05-24 19:51:57 -04:00
rusefillc 499e73a9d0 fresh 2023-05-24 18:40:29 -04:00
6 changed files with 36 additions and 5 deletions

View File

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

View File

@ -0,0 +1,8 @@
#include <stdint.h>
#include "hal.h"
void hal_lld_init(void) {
}
void boardInit(void) {
}

View File

@ -0,0 +1,11 @@
#include "osal.h"
#include "hal.h"
#if HAL_USE_PAL || defined(__DOXYGEN__)
void pal_lld_init(void) {
// todo
}
#endif /* HAL_USE_PAL */

View File

@ -48,12 +48,10 @@ typedef gpio_type *ioportid_t;
*/
typedef uint32_t iopadid_t;
#define pal_lld_init(config) _pal_lld_init(config)
#ifdef __cplusplus
extern "C" {
#endif
void _pal_lld_init(void);
void pal_lld_init(void);
#ifdef __cplusplus
}

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 */

@ -1 +1 @@
Subproject commit b53c05ada03180ef60a4fa781960e2d605aef645
Subproject commit 6c1a55531ac866824cc9fe25d72630eec2e0519f