Skip to content

Commit

Permalink
MCXN94x: Log information whether CPU0 or CPU1 is used
Browse files Browse the repository at this point in the history
JIRA: RTOS-988
  • Loading branch information
agkaminski committed Dec 16, 2024
1 parent 479e752 commit 3735492
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hal/armv8m/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,13 @@ char *hal_cpuInfo(char *info)
}

if (((cpuinfo >> 4) & 0xfffu) == 0xd21u) {
#ifdef MCX_USE_CPU1
hal_strcpy(info + i, "Micro Cortex-M33 ");
i += 17;
#else
hal_strcpy(info + i, "Cortex-M33 ");
i += 11;
#endif
}

*(info + i++) = 'r';
Expand Down

0 comments on commit 3735492

Please sign in to comment.