mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-23 22:58:10 +08:00
stm32_common:board_mcu_version expand to include STM32H7[4|5]
Todate I have not fould a way to differentiate a 74 from a 75. as all parts map to Device ID 0x450: STM32H742, STM32H743/753 and STM32H750. One the CPU is fully differentiate in Nuttx, this can be a #ifdef.
This commit is contained in:
committed by
Daniel Agar
parent
19cf2f47ac
commit
9beca65600
@@ -84,8 +84,9 @@ int board_mcu_version(char *rev, const char **revstr, const char **errata)
|
||||
|
||||
switch (chip_version) {
|
||||
|
||||
|
||||
case STM32H74xx_75xx:
|
||||
*revstr = "STM32H74xxx";
|
||||
*revstr = "STM32H7[4|5]xxx";
|
||||
break;
|
||||
|
||||
case STM32F74xxx_75xxx:
|
||||
|
||||
Reference in New Issue
Block a user