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