Add ifdef check for MAIN_RAM_SIZE

This commit is contained in:
Caleb Jamison 2019-03-31 10:33:39 -05:00
parent f452d3e96f
commit 1f0b3f8124
1 changed files with 2 additions and 0 deletions

View File

@ -425,7 +425,9 @@ int main(int i, char **c)
#ifdef L2_SIZE #ifdef L2_SIZE
printf("\e[1mL2\e[0m: %dKB\n", L2_SIZE/1024); printf("\e[1mL2\e[0m: %dKB\n", L2_SIZE/1024);
#endif #endif
#ifdef MAIN_RAM_SIZE
printf("\e[1mMAIN-RAM\e[0m: %dKB\n", MAIN_RAM_SIZE/1024); printf("\e[1mMAIN-RAM\e[0m: %dKB\n", MAIN_RAM_SIZE/1024);
#endif
printf("\n"); printf("\n");
printf("--========= \e[1mPeripherals init\e[0m ===========--\n"); printf("--========= \e[1mPeripherals init\e[0m ===========--\n");