634416bc49
Introduce hwinfo driver for Texas Instruments SimpleLink CC13xx/CC26xx SOC series, with support for retrieving device's ID and cause of reset. By default, the pre-programmed, 8-bytes length IEEE MAC address is used for device's ID, with option ('HWINFO_CC13XX_CC26XX_USE_BLE_MAC') for use 6-bytes length BLE MAC instead. By default, read-only values stored in FCFG (Factory Configuration) are used but additional Kconfig option ('HWINFO_CC13XX_CC26XX_ALWAYS_USE_FACTORY_DEFAULT') is also provided, which allows to use values from writable CCFG (Customer Configuration) area. In all cases, device ID value is provided in big-endian which matches what TI's UniFlash tool returns. For reset cause, 'SysCtrlResetSourceGet()' function from TI's driver library is used and its value is mapped to Zephyr's implementation. Importantly, only root cause of reset is available on CC13xx/CC26xx platform as described in MCU Technical Reference Manual ('RESET_SRC' field in 'RESETCTL' register): "Shows the root cause of the last system reset. More than the reported reset source can have been active during the last system reset but only the root cause is reported." Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
hwinfo_andes.c | ||
hwinfo_cc13xx_cc26xx.c | ||
hwinfo_esp32.c | ||
hwinfo_gecko.c | ||
hwinfo_handlers.c | ||
hwinfo_imxrt.c | ||
hwinfo_litex.c | ||
hwinfo_mcux_rcm.c | ||
hwinfo_mcux_sim.c | ||
hwinfo_mcux_src.c | ||
hwinfo_mcux_src_rev2.c | ||
hwinfo_mcux_syscon.c | ||
hwinfo_nrf.c | ||
hwinfo_psoc6.c | ||
hwinfo_rpi_pico.c | ||
hwinfo_sam.c | ||
hwinfo_sam0.c | ||
hwinfo_sam4l.c | ||
hwinfo_sam_rstc.c | ||
hwinfo_shell.c | ||
hwinfo_stm32.c | ||
hwinfo_weak_impl.c | ||
Kconfig |