添加信息

This commit is contained in:
sc committed 2026-01-14 01:13:22 +08:00
1 parent b185a8ec12
commit 115d1d12c3
22 files changed
+3619 -1829

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ rt_weak void rt_hw_board_init()
rt_memheap_init(&sram_DTCMRAM, "DTCMRAM", (void *)DTCMRAM_START, DTCMRAM_SIZE);
//rt_memheap_init(&sram_AXIRAM, "AXIRAM", (void *)AXIRAM_START, AXIRAM_SIZE);
rt_memheap_init(&sram_SRAM1, "SRAM1", (void *)SRAM1_START, SRAM1_SIZE);
//rt_memheap_init(&sram_SRAM2, "SRAM2", (void *)SRAM2_START, SRAM2_SIZE);
rt_memheap_init(&sram_SRAM2, "SRAM2", (void *)SRAM2_START, SRAM2_SIZE);
hw_board_init(BSP_CLOCK_SOURCE, BSP_CLOCK_SOURCE_FREQ_MHZ, BSP_CLOCK_SYSTEM_FREQ_MHZ);
+4 -4
View File
@@ -46,12 +46,12 @@ extern "C"
#define DTCMRAM_END (DTCMRAM_START + DTCMRAM_SIZE)
#define SRAM1_START (0x30000000)
#define SRAM1_SIZE (288*1024)
#define SRAM1_SIZE (128*1024)
#define SRAM1_END (SRAM1_START + SRAM1_SIZE)
//#define SRAM2_START (0x30020000)
//#define SRAM2_SIZE (128*1024)
//#define SRAM2_END (SRAM2_START + SRAM2_SIZE)
#define SRAM2_START (0x30020000)
#define SRAM2_SIZE ((128+32)*1024)
#define SRAM2_END (SRAM2_START + SRAM2_SIZE)
//#define SRAM3_START (0x30040000)
//#define SRAM3_SIZE (32*1024)