mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-22 22:50:49 +08:00
The fmu-v6xrt boards can be fitted with either of two octal flash parts, and nothing told the user which one is on the board. The identity is already known: the bootloader stage reads the JEDEC ID to pick a config, and the app stage recognises the config from the installed read sequence, so no extra flash access is needed to report it. Keep the part name behind a weak board_get_flash_type_name() and append it to the chip tag when the board provides one, so `ver mcu` and the logged chip name read e.g. "i.MX RT1170 rA0 IS25WX512M". Boards that do not implement it are unaffected and their tag is unchanged. Signed-off-by: Peter van der Perk <peter.vanderperk@nxp.com>