Hello,
I am currently trying to evaluate in Code which processor variant the code is running on. Especially if it is a HS or GP device.
We already did something similar in the past with the following register which is not documented in the TRM but is found in "bootloader_soc.c".
uint32_t devType = CSL_REG32_RD(BOOTLOADER_SYS_STATUS_REG) & BOOTLOADER_SYS_STATUS_DEV_TYPE_MASK; uint32_t devSubtype = CSL_REG32_RD(BOOTLOADER_SYS_STATUS_REG) & BOOTLOADER_SYS_STATUS_DEV_SUBTYPE_MASK; if((devType == BOOTLOADER_SYS_STATUS_DEV_TYPE_GP) || (devType == BOOTLOADER_SYS_STATUS_DEV_TYPE_TEST) || (devSubtype == BOOTLOADER_SYS_STATUS_DEV_SUBTYPE_FS))

