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 3cf9602 commit ec5d4ccCopy full SHA for ec5d4cc
src/genpinmap/genpinmap_arduino.py
@@ -1007,7 +1007,12 @@ def parse_pins():
1007
"Generating %s and %s for '%s'..." % (out_c_filename, out_h_filename, mcu_file)
1008
)
1009
input_file_name = os.path.join(cubemxdir, mcu_file)
1010
- out_path = os.path.join(cur_dir, "Arduino", os.path.splitext(mcu_file)[0])
+ out_path = os.path.join(
1011
+ cur_dir,
1012
+ "Arduino",
1013
+ os.path.splitext(mcu_file)[0][:7],
1014
+ os.path.splitext(mcu_file)[0],
1015
+ )
1016
output_c_filename = os.path.join(out_path, out_c_filename)
1017
output_h_filename = os.path.join(out_path, out_h_filename)
1018
if not (os.path.isdir(out_path)):
0 commit comments