Skip to content

Commit 93ca3c4

Browse files
danieldegrassedecsny
authored andcommitted
scripts: pinctrl: gen_soc_headers.py: expand for additional families
Expand the processor_to_controller() function in the gen_soc_headers.py implementation to support some additional SOC families the script can already handle. Signed-off-by: Daniel DeGrasse <[email protected]>
1 parent c41a401 commit 93ca3c4

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

mcux/scripts/pinctrl/gen_soc_headers.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,21 @@ def processor_to_controller(processor_name):
7272
if "IMXRT5" in processor_name:
7373
# LPC config tools
7474
return 'IOCON'
75-
if "LPC55" in processor_name:
75+
if "IMX8M" in processor_name:
76+
# IMX config tools
77+
return 'IOMUX'
78+
if "IMX9" in processor_name:
79+
# IMX config tools
80+
return 'IOMUX'
81+
if "LPC5" in processor_name:
7682
# LPC config tools
7783
return 'IOCON'
7884
if "MK" in processor_name:
7985
# Kinetis config tools
8086
return 'PORT'
87+
if "K32" in processor_name:
88+
# Kinetis config tools
89+
return 'PORT'
8190
if "MCX" in processor_name:
8291
# Kinetis config tools
8392
return 'PORT'

0 commit comments

Comments
 (0)