c54f7ec1fc
HWINFO drivers should be responsible for ensuring that the data structure is a sequence of bytes. That is not what the current sam0 and nordic drivers do. The drivers read the data as u32_t and then memcpy the data to a buffer. This ensures the data has the endianness of the underlying MCU, which in this case is Cortex M0 which is little endian. This commit fixes the endianness so the data can be interpreted as a "left to right sequence of bytes". This commit updates the API doc to provide clarification of the data structure. Add to 2.3 release notes. Fixes #23444, #24103 Signed-off-by: Steven Slupsky <sslupsky@gmail.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
hwinfo_esp32.c | ||
hwinfo_handlers.c | ||
hwinfo_imxrt.c | ||
hwinfo_litex.c | ||
hwinfo_mcux_sim.c | ||
hwinfo_nrf.c | ||
hwinfo_sam.c | ||
hwinfo_sam0.c | ||
hwinfo_shell.c | ||
hwinfo_stm32.c | ||
hwinfo_weak_impl.c |