Compare commits
6 Commits
2500cb30b4
...
0ef71ca751
Author | SHA1 | Date |
---|---|---|
rusefillc | 0ef71ca751 | |
rusefillc | d32ba736ad | |
rusefillc | 456825e58c | |
rusefillc | 5bd915929f | |
rusefillc | 0a4d4ac7a8 | |
rusefillc | 499e73a9d0 |
|
@ -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
|
||||
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
#include <stdint.h>
|
||||
#include "hal.h"
|
||||
|
||||
void hal_lld_init(void) {
|
||||
}
|
||||
|
||||
void boardInit(void) {
|
||||
}
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue