You are reading a single comment by @hutu and its replies. Click here to read the full conversation.
  • Hi Gordon,

    I attach a short screen shoot of the diff between two csv files fyi.

    without format error, the python script should work properly...

    but now just switch to f411.csv file, the compilation is broken: list index out of range

    -->

    Traceback (most recent call last):
    File "scripts/build_pininfo.py", line 50, in

    pins = board.get_pins()
    

    File "/Users/dp/Desktop/espmac/scripts/../boa­rds/STM32F411DISCOVERY.py", line 139, in get_pins

    pins = pinutils.scan_pin_file([], 'stm32f411.csv', 5, 8, 9)
    

    File "/Users/dp/Desktop/espmac/scripts/pinuti­ls.py", line 197, in scan_pin_file

    pin["csv"][head] = pindata[i].strip()
    

    IndexError: list index out of range
    make: *** [/Users/dp/Desktop/espmac/gen/jspininfo.­h] Error 1
    make: *** Waiting for unfinished jobs....
    make: *** [/Users/dp/Desktop/espmac/gen/platform_c­onfig.h] Error 1


    1 Attachment

    • Screen Shot 2017-10-27 at 13.25.43.png
About

Avatar for hutu @hutu started