File "/Users/dp/Desktop/espmac/scripts/pinutils.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_config.h] Error 1
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
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
File "/Users/dp/Desktop/espmac/scripts/../boards/STM32F411DISCOVERY.py", line 139, in get_pins
File "/Users/dp/Desktop/espmac/scripts/pinutils.py", line 197, in scan_pin_file
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_config.h] Error 1
1 Attachment