Rev 26 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | jlesech | 1 | # Create and initialize the environment. |
2 | env_avr = Environment() |
||
3 | |||
4 | # Set environment for AVR-GCC. |
||
5 | env_avr['CC'] = 'avr-gcc' |
||
6 | env_avr['CPPPATH'] = '/usr/lib/avr/include' |
||
7 | env_avr['OBJCOPY'] = 'avr-objcopy' |
||
8 | env_avr['SIZE'] = 'avr-size' |
||
9 | env_avr['AR'] = 'avr-ar' |
||
10 | env_avr['RANLIB'] = 'avr-ranlib' |
||
11 | env_avr.Append(CCFLAGS = '-Os') |
||
12 | |||
13 | # Export environment set for AVR-GCC. |
||
14 | Export('env_avr') |