forked from xuos/xiuos
add cpp support for hc32f4a0
This commit is contained in:
parent
73fbeea117
commit
10c39d930c
|
@ -87,6 +87,13 @@ SECTIONS
|
|||
_shell_command_end = .;
|
||||
. = ALIGN(4);
|
||||
|
||||
PROVIDE(__ctors_start__ = .);
|
||||
KEEP (*(SORT(.init_array.*)))
|
||||
KEEP (*(.init_array))
|
||||
PROVIDE(__ctors_end__ = .);
|
||||
|
||||
. = ALIGN(4);
|
||||
|
||||
__isrtbl_idx_start = .;
|
||||
KEEP(*(.isrtbl.idx))
|
||||
__isrtbl_start = .;
|
||||
|
|
|
@ -107,7 +107,7 @@ static void CanInit(struct CanDriverConfigure *can_drv_config)
|
|||
FCG_Fcg1PeriphClockCmd(PWC_FCG1_CAN2, ENABLE);
|
||||
(void)CAN_Init(CAN_X, &stcInit);
|
||||
#endif
|
||||
CAN_ClearStatus(CAN_X, 0xFFFF);
|
||||
CAN_ClearStatus(CAN_X, 0xFFFFFFFFU);
|
||||
|
||||
#ifdef CAN_USING_INTERRUPT
|
||||
/* Configures the interrupts if needed. */
|
||||
|
|
Loading…
Reference in New Issue