# Import environment set for target. Import('env_target') # Set target name. TARGET = 'helloworld' # Set libraries to use. libraries = [ 'digital_io' ] # Set source file. sources = 'helloworld.c' # Build project and libraries. env_target.BuildProject(libraries, sources, TARGET) # Compute memory usage. env_target.ComputeMemoryUsage(TARGET)