This commit is contained in:
rusefillc 2023-05-24 21:10:03 -04:00
parent d32ba736ad
commit 0ef71ca751
3 changed files with 13 additions and 3 deletions

View File

@ -1,4 +1,5 @@
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,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
}