Rev 2 | Rev 27 | Go to most recent revision | Details | Compare with Previous | 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' |
||
26 | jlesech | 11 | env_avr.Append(CCFLAGS = '-Os -std=c99') |
2 | jlesech | 12 | |
13 | # Export environment set for AVR-GCC. |
||
14 | Export('env_avr') |