add can and flash driver for hc32f4a0 in XiZi_IIoT
This commit is contained in:
@@ -66,9 +66,12 @@ Modification:
|
||||
#include <connect_hwtimer.h>
|
||||
#endif
|
||||
|
||||
#ifdef BSP_USING_CAN
|
||||
#include <connect_can.h>
|
||||
#endif
|
||||
|
||||
extern void entry(void);
|
||||
extern int HwUsartInit();
|
||||
extern int HwWdtInit();
|
||||
|
||||
/* Peripheral register WE/WP selection */
|
||||
#define LL_PERIPH_SEL (LL_PERIPH_GPIO | LL_PERIPH_FCG | LL_PERIPH_PWC_CLK_RMU | \
|
||||
@@ -189,6 +192,9 @@ struct InitSequenceDesc _board_init[] =
|
||||
#endif
|
||||
#ifdef BSP_USING_TIMER
|
||||
{ "tmr", HwTimerInit },
|
||||
#endif
|
||||
#ifdef BSP_USING_CAN
|
||||
{ "can", HwCanInit },
|
||||
#endif
|
||||
{ " NONE ", NONE },
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user