Go to most recent revision | Details | 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 = [ |
||
| 9 | 'ds1307', |
||
| 10 | |||
| 11 | 'twi', |
||
| 12 | 'usart' |
||
| 13 | ] |
||
| 14 | |||
| 15 | # Set source file. |
||
| 16 | sources = 'clock.c' |
||
| 17 | |||
| 18 | # Build project and libraries. |
||
| 19 | env_target.BuildProject(libraries, sources, TARGET) |
||
| 20 | |||
| 21 | # Compute memory usage. |
||
| 22 | env_target.ComputeMemoryUsage(TARGET) |