信息修改,通讯,显示相关

This commit is contained in:
sc committed 2026-02-15 20:45:53 +08:00
1 parent c9633041ab
commit ac7e06bbd2
15 files changed
+89 -47

No files matched your search

+2 -1
View File
@@ -16,7 +16,7 @@
static SDRAM_HandleTypeDef hsdram1;
static FMC_SDRAM_CommandTypeDef command;
#ifdef RT_USING_MEMHEAP_AS_HEAP
struct rt_memheap sdram_heap;
struct rt_memheap sdram_heap,sdram_lcd;
#endif
/**
* @brief Perform the SDRAM exernal memory inialization sequence
@@ -161,6 +161,7 @@ static int SDRAM_Init(void)
#ifdef RT_USING_MEMHEAP_AS_HEAP
/* If RT_USING_MEMHEAP_AS_HEAP is enabled, SDRAM is initialized to the heap */
rt_memheap_init(&sdram_heap, "SDRAM", (void *)SDRAM1_START, SDRAM1_SIZE);
rt_memheap_init(&sdram_lcd, "LCDRAM", (void *)SDRAM_LCD_START, SDRAM_LCD_SIZE);
#endif
}
return result;