Skip to content

Commit

Permalink
[bootloader] update for SYSINFO.MISC
Browse files Browse the repository at this point in the history
  • Loading branch information
stnolting committed Dec 29, 2024
1 parent f331251 commit d79b605
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sw/bootloader/bootloader.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,9 +305,9 @@ int main(void) {
PRINT_TEXT("\nSOC: ");
PRINT_XNUM(NEORV32_SYSINFO->SOC);
PRINT_TEXT("\nIMEM: ");
PRINT_XNUM((uint32_t)(1 << NEORV32_SYSINFO->MEM[SYSINFO_MEM_IMEM]) & 0xFFFFFFFCUL);
PRINT_XNUM((uint32_t)(1 << NEORV32_SYSINFO->MISC[SYSINFO_MISC_IMEM]) & 0xFFFFFFFCUL);
PRINT_TEXT("\nDMEM: ");
PRINT_XNUM((uint32_t)(1 << NEORV32_SYSINFO->MEM[SYSINFO_MEM_DMEM]) & 0xFFFFFFFCUL);
PRINT_XNUM((uint32_t)(1 << NEORV32_SYSINFO->MISC[SYSINFO_MISC_DMEM]) & 0xFFFFFFFCUL);
PRINT_TEXT("\n");


Expand Down

0 comments on commit d79b605

Please sign in to comment.