Skip to content

Commit b406f1c

Browse files
committed
Stub to be able to create file for F10x without AF.
Signed-off-by: Frederic.Pillon <[email protected]>
1 parent e7753e4 commit b406f1c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/genpinmap/genpinmap_arduino.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ def find_gpio_file(xmldoc):
3333
return res
3434

3535
def get_gpio_af_num(xml, pintofind, iptofind):
36+
if 'STM32F10' in sys.argv[2]:
37+
return 'TBD'
3638
# xml = parse('GPIO-STM32L051_gpio_v1_0_Modes.xml')
3739
#xml = parse(gpiofile)
3840
#DBG print ('pin to find ' + pintofind)
@@ -548,9 +550,9 @@ def sort_my_lists():
548550
out_file = open(output_filename, 'w')
549551

550552
# Check if Alternate functions in GPIO or old GPIO (no alternate)
551-
if 'STM32F10' in sys.argv[2]:
552-
print ("STM32F10xx MCU not supported due to older GPIO IP version\n")
553-
quit()
553+
#if 'STM32F10' in sys.argv[2]:
554+
# print ("STM32F10xx MCU not supported due to older GPIO IP version\n")
555+
# quit()
554556

555557
gpiofile = find_gpio_file(xmldoc)
556558
if gpiofile == 'ERROR':

0 commit comments

Comments
 (0)