mmoskal/uf2-stm32f

make issues

lionyhw opened this issue · 0 comments

python uf2/utils/uf2conv.py --carray build/brainpad_arcade/bootloader.bin -o build/brainpad_arcade/bootloader.c
Traceback (most recent call last):
File "uf2/utils/uf2conv.py", line 292, in
main()
File "uf2/utils/uf2conv.py", line 268, in main
outbuf = convert_to_carray(inpbuf)
File "uf2/utils/uf2conv.py", line 84, in convert_to_carray
outp += "0x%02x, " % ord(file_content[i])
TypeError: ord() expected string of length 1, but int found
rules.mk:39: recipe for target 'build/brainpad_arcade/flasher.uf2' failed
make: *** [build/brainpad_arcade/flasher.uf2] Error 1