[genpinmap] Fix PinNamesVar.h format
To avoid astyle check issue Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
This commit is contained in:
parent
e8887b5617
commit
6d516f8fb6
1 changed files with 5 additions and 2 deletions
|
|
@ -696,10 +696,10 @@ def print_usb(lst):
|
||||||
|
|
||||||
def print_usb_h():
|
def print_usb_h():
|
||||||
if usb_list or usb_otgfs_list or usb_otghs_list:
|
if usb_list or usb_otgfs_list or usb_otghs_list:
|
||||||
out_h_file.write(" /* USB */\n")
|
out_h_file.write("/* USB */\n")
|
||||||
out_h_file.write("#ifdef USBCON\n")
|
out_h_file.write("#ifdef USBCON\n")
|
||||||
for p in usb_list + usb_otgfs_list + usb_otghs_list:
|
for p in usb_list + usb_otgfs_list + usb_otghs_list:
|
||||||
out_h_file.write(" " + p[2] + " = " + p[0] + ",\n")
|
out_h_file.write(p[2] + " = " + p[0] + ",\n")
|
||||||
out_h_file.write("#endif\n")
|
out_h_file.write("#endif\n")
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -942,6 +942,9 @@ for mcu_file in mcu_list:
|
||||||
|
|
||||||
nb_pin = len(io_list)
|
nb_pin = len(io_list)
|
||||||
print(" * I/O pins found: %i" % nb_pin)
|
print(" * I/O pins found: %i" % nb_pin)
|
||||||
|
# io_list.sort(key=natural_sortkey)
|
||||||
|
# for io in io_list:
|
||||||
|
# print(io[1])
|
||||||
print("done\n")
|
print("done\n")
|
||||||
clean_all_lists()
|
clean_all_lists()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue