We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c580bf commit 45c8df0Copy full SHA for 45c8df0
src/genpinmap/genpinmap_arduino.py
@@ -1624,7 +1624,11 @@ def manage_repo():
1624
1625
for mcu_file in mcu_list:
1626
print("Generating files for '{}'...".format(mcu_file.name))
1627
- out_path = cur_dir / "Arduino" / mcu_file.name[:7] / mcu_file.stem
+ if "MP1" in mcu_file.name:
1628
+ mcu_dir = "STM32MP1xx"
1629
+ else:
1630
+ mcu_dir = mcu_file.name[:7] + "xx"
1631
+ out_path = cur_dir / "Arduino" / mcu_dir / mcu_file.stem
1632
periph_c_filepath = out_path / periph_c_filename
1633
pinvar_h_filepath = out_path / pinvar_h_filename
1634
variant_cpp_filepath = out_path / variant_cpp_filename
0 commit comments