IoT - Modular - Pre-Compile.py

From The TinkerNet Wiki
Revision as of 15:26, 30 April 2021 by Tinker (talk | contribs) (Created page with "<syntaxhighlight lang="py" line="1"> print(">---------- PRE Compile Script BEGIN ----------<") Import("env") # Dump construction environments (for debug purpose) # print(env...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
 1 print(">---------- PRE Compile Script BEGIN ----------<")
 2 
 3 Import("env")
 4 
 5 # Dump construction environments (for debug purpose)
 6 # print(env.Dump())
 7 
 8 # access to global construction environment
 9 # print(env)
10 
11 # print("=======")
12 # print("BUILD FLAGS: ")
13 # print(env.ParseFlags(env['BUILD_FLAGS']))
14 # print("=======")
15 
16 print("PIOENV: ", env['PIOENV'])
17 
18 # env.Replace(PROGNAME=env['PIOENV'])
19 
20 print(">---------- PRE Compile Script END ----------<")