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