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