jawher / xavr

An AVR C project template for XCode
MIT License
68 stars 18 forks source link

avr-gcc flag 4.1.1 issue : do not provide mcus target list #15

Open ghost opened 8 years ago

ghost commented 8 years ago

Problem : Using avr-gcc version 4.1.1 In the xavr wizard window

The mcu list menu propose only atmega328p (instead of the list of mcus supported by avr-gcc)

solution : in setup.py : function supported_mcus() line 54 : lines = string.split(out, '\n')

change 'out' to 'err'

the reason is :

lines = string.split(out, '\n') Traceback (most recent call last): File "", line 1, in File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/string.py", line 292, in split AttributeError: 'tuple' object has no attribute 'split'