progress
This commit is contained in:
parent
d32ba736ad
commit
0ef71ca751
|
@ -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
|
||||
|
|
|
@ -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 */
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue