Lines Matching full:env
3 def set_avr_platform(env): argument
4 native = env.Clone()
8 env.Replace(EMBEDDED = "AVR")
9 env.Replace(CC = "avr-gcc",
11 env.Replace(TEST_RUNNER = "build/run_test")
12 env.Append(CFLAGS = "-mmcu=atmega1284 -Dmain=app_main -Os -g -Wall ")
13 env.Append(CXXFLAGS = "-mmcu=atmega1284 -Dmain=app_main -Os -Wno-type-limits")
14 env.Append(CPPDEFINES = {'PB_CONVERT_DOUBLE_FLOAT': 1, 'UNITTESTS_SHORT_MSGS': 1,
17 env.Append(LINKFLAGS = "-mmcu=atmega1284")
18 env.Append(LINKFLAGS = "-Wl,-Map,build/avr.map")
21 avr_io = env.Object("build/avr_io.o", "site_scons/platforms/avr/avr_io.c")
22 env.Append(LIBS = avr_io)
25 env.Depends(avr_io, runner)