forked from xuos/xiuos
only for debug
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
/* parameters for sram peripheral */
|
||||
/* stm32f4 Bank3:0X68000000 */
|
||||
#define SRAM_BANK_ADDR ((uint32_t)0X60000000)
|
||||
#define SRAM_BANK_ADDR ((uint32_t)0X68000000)
|
||||
/* data width: 8, 16, 32 */
|
||||
#define SRAM_DATA_WIDTH 16
|
||||
/* sram size */
|
||||
|
||||
@@ -140,10 +140,10 @@ int FendGrin()
|
||||
int tempvalue = 1;
|
||||
|
||||
while( i< MEM_GRIN_COUNT) {
|
||||
KPrintf("\033[32;1malloc memory [%d]\033[0m\n",tempvalue);
|
||||
ptr[i] = x_malloc(tempvalue);
|
||||
|
||||
if (ptr[i]) {
|
||||
KPrintf("\033[32;1malloc memory [%d] ptr[%d] = 0x%x\033[0m\n",tempvalue,i,ptr[i]);
|
||||
arr_grin[i] = tempvalue;
|
||||
i++;
|
||||
tempvalue++;
|
||||
|
||||
Reference in New Issue
Block a user