diff --git a/devices/stm32/stm32h7-23_33.xml b/devices/stm32/stm32h7-23_33.xml index 9b268716..407dece6 100644 --- a/devices/stm32/stm32h7-23_33.xml +++ b/devices/stm32/stm32h7-23_33.xml @@ -573,8 +573,7 @@ - - + diff --git a/devices/stm32/stm32h7-25_35.xml b/devices/stm32/stm32h7-25_35.xml index 58f01574..a34ffd3a 100644 --- a/devices/stm32/stm32h7-25_35.xml +++ b/devices/stm32/stm32h7-25_35.xml @@ -614,8 +614,7 @@ - - + diff --git a/devices/stm32/stm32h7-30.xml b/devices/stm32/stm32h7-30.xml index 0ba9607a..794ec5a1 100644 --- a/devices/stm32/stm32h7-30.xml +++ b/devices/stm32/stm32h7-30.xml @@ -566,8 +566,7 @@ - - + diff --git a/devices/stm32/stm32h7-42.xml b/devices/stm32/stm32h7-42.xml index 1290e6ab..7b82f11f 100644 --- a/devices/stm32/stm32h7-42.xml +++ b/devices/stm32/stm32h7-42.xml @@ -2863,7 +2863,7 @@ - + diff --git a/devices/stm32/stm32h7-45_55.xml b/devices/stm32/stm32h7-45_55.xml index 33bb351c..f75e4aee 100644 --- a/devices/stm32/stm32h7-45_55.xml +++ b/devices/stm32/stm32h7-45_55.xml @@ -74,7 +74,7 @@ stm32h755zit7@m4 stm32h755zit7@m7 - + @@ -330,10 +330,6 @@ - - - - @@ -341,7 +337,6 @@ - diff --git a/devices/stm32/stm32h7-47_57.xml b/devices/stm32/stm32h7-47_57.xml index 9f47206b..e90f0460 100644 --- a/devices/stm32/stm32h7-47_57.xml +++ b/devices/stm32/stm32h7-47_57.xml @@ -32,7 +32,7 @@ stm32h757ziy6@m4 stm32h757ziy6@m7 - + @@ -290,10 +290,6 @@ - - - - @@ -301,7 +297,6 @@ - diff --git a/devices/stm32/stm32h7-a3.xml b/devices/stm32/stm32h7-a3.xml index fd74b324..df08054b 100644 --- a/devices/stm32/stm32h7-a3.xml +++ b/devices/stm32/stm32h7-a3.xml @@ -591,8 +591,7 @@ - - + diff --git a/devices/stm32/stm32h7-b0.xml b/devices/stm32/stm32h7-b0.xml index 36b8269a..1bfa5642 100644 --- a/devices/stm32/stm32h7-b0.xml +++ b/devices/stm32/stm32h7-b0.xml @@ -564,8 +564,7 @@ - - + diff --git a/devices/stm32/stm32h7-b3.xml b/devices/stm32/stm32h7-b3.xml index b7847614..c88dfcf2 100644 --- a/devices/stm32/stm32h7-b3.xml +++ b/devices/stm32/stm32h7-b3.xml @@ -586,8 +586,7 @@ - - + diff --git a/tools/generator/dfg/stm32/stm_device_tree.py b/tools/generator/dfg/stm32/stm_device_tree.py index c82d11db..5561e202 100644 --- a/tools/generator/dfg/stm32/stm_device_tree.py +++ b/tools/generator/dfg/stm32/stm_device_tree.py @@ -76,7 +76,7 @@ def _properties_from_partname(partname): def _properties_from_id(comboDeviceName, device_file, did, core): if core.endswith("m4") or core.endswith("m7") or core.endswith("m33"): core += "f" - if did.family in ["h7"] or (did.family in ["f7"] and did.name not in ["45", "46", "56"]): + if (did.family in ["h7"] and "m7" in core) or (did.family in ["f7"] and did.name not in ["45", "46", "56"]): core += "d" if "@" in did.naming_schema: did.set("core", core[7:9]) @@ -150,7 +150,8 @@ def clean_up_version(version): software_ips = {"GFXSIMULATOR", "GRAPHICS", "FATFS", "TOUCHSENSING", "PDM2PCM", "MBEDTLS", "FREERTOS", "CORTEX_M", "NVIC", "USB_DEVICE", "USB_HOST", "LWIP", "LIBJPEG", "GUI_INTERFACE", "TRACER", - "FILEX", "LEVELX", "THREADX", "USBX", "LINKEDLIST", "NETXDUO"} + "FILEX", "LEVELX", "THREADX", "USBX", "LINKEDLIST", "NETXDUO", + "OPENAMP", "RESMGR_UTILITY"} if any(ip.get("Name").upper().startswith(p) for p in software_ips): continue