信息修改,通讯,显示相关
This commit is contained in:
1 parent
c9633041ab
commit
ac7e06bbd2
15 files changed
+89
-47
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user