Rev 20 | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line | 
|---|---|---|---|
| 20 | jlesech | 1 | # Import environment set for target.  | 
        
| 2 | Import('env_target') | 
        ||
| 3 | |||
| 4 | # Set target name.  | 
        ||
| 5 | TARGET = 'ultimate'  | 
        ||
| 6 | |||
| 7 | # Set libraries to use.  | 
        ||
| 8 | libraries = [  | 
        ||
| 9 | 'ds1307',  | 
        ||
| 10 | |||
| 11 | 'digital_io',  | 
        ||
| 28 | jlesech | 12 | 'twi',  | 
        
| 20 | jlesech | 13 | 'usart'  | 
        
| 14 | ]  | 
        ||
| 15 | |||
| 16 | # Set source file.  | 
        ||
| 17 | sources = 'ultimate.c'  | 
        ||
| 18 | |||
| 19 | # Build project and libraries.  | 
        ||
| 20 | env_target.BuildProject(libraries, sources, TARGET)  | 
        ||
| 21 | |||
| 22 | # Compute memory usage.  | 
        ||
| 23 | env_target.ComputeMemoryUsage(TARGET)  |