Add pico functions, non-interactive execution, cleanup main
This commit is contained in:
14
extra_script.py
Normal file
14
extra_script.py
Normal file
@@ -0,0 +1,14 @@
|
||||
import os
|
||||
|
||||
Import("env")
|
||||
|
||||
# Add incbin dependencies since Platformio doesn't know about those
|
||||
env.Depends(
|
||||
os.path.join("$BUILD_DIR", "src", "pico-plat.o"),
|
||||
os.path.join("$PROJECT_DIR", "src", "pico-program.lsp")
|
||||
)
|
||||
|
||||
env.Depends(
|
||||
os.path.join("$BUILD_DIR", "src", "native-plat.o"),
|
||||
os.path.join("$PROJECT_DIR", "src", "native-program.lsp")
|
||||
)
|
||||
Reference in New Issue
Block a user