Merge branch 'release/0.5' of github.com:kendryte/kendryte-freertos-sdk into release/0.5
commit
ac01f5f80d
|
@ -77,8 +77,6 @@ void _init_bsp(int core_id, int number_of_cores)
|
|||
/* Init FPIOA */
|
||||
fpioa_init();
|
||||
bsp_pin_setup();
|
||||
/* Setup clocks */
|
||||
setup_clocks();
|
||||
/* Init UART */
|
||||
uarths_init();
|
||||
}
|
||||
|
|
|
@ -136,8 +136,8 @@ typedef struct _plic_target_enables
|
|||
/* 0x0C002000-0x0C1F1F80: target 0-15871 enables */
|
||||
struct
|
||||
{
|
||||
uint32_t enable[32];/* Offset 0x00-0x7C: Bit 0 is zero, Bits 1-1023 is bits*/
|
||||
} target[15872];
|
||||
uint32_t enable[32 * 2];/* Offset 0x00-0x7C: Bit 0 is zero, Bits 1-1023 is bits*/
|
||||
} target[15872 / 2];
|
||||
|
||||
/* 0x0C1F2000-0x0C1FFFFC: Reserved, size 0xE000 */
|
||||
uint8_t resv[0xE000];
|
||||
|
@ -178,8 +178,8 @@ typedef struct _plic_target
|
|||
struct {
|
||||
uint32_t priority_threshold;/* Offset 0x000 */
|
||||
uint32_t claim_complete; /* Offset 0x004 */
|
||||
uint8_t resv[0xFF8]; /* Offset 0x008, Size 0xFF8 */
|
||||
} target[15872];
|
||||
uint8_t resv[0x1FF8]; /* Offset 0x008, Size 0x1FF8 */
|
||||
} target[15872 / 2];
|
||||
} __attribute__((packed, aligned(4))) plic_target_t;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue