Add pico functions, non-interactive execution, cleanup main
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
;; TODO: Make uclisp to a remote git repo
|
||||
lib_deps = ../uclisp/
|
||||
|
||||
|
||||
[common]
|
||||
build_flags =
|
||||
-Wall
|
||||
@@ -28,7 +29,8 @@ debug_build_flags =
|
||||
src_filter =
|
||||
+<main.c>
|
||||
|
||||
[env:pico-debug]
|
||||
|
||||
[env:pico-repl-debug]
|
||||
platform = https://github.com/Wiz-IO/wizio-pico.git
|
||||
framework = baremetal
|
||||
board = raspberry-pi-pico
|
||||
@@ -38,13 +40,33 @@ build_flags =
|
||||
-D PLATFORM_PICO_SDK
|
||||
-D LIB_PICO_STDIO_USB
|
||||
-D PICO_USB
|
||||
-D REPL_APPLICATION
|
||||
build_src_filter =
|
||||
${common.src_filter}
|
||||
+<pico-plat.c>
|
||||
|
||||
+<pico*.c>
|
||||
upload_protocol = uf2
|
||||
upload_port = /run/media/max/RPI-RP2
|
||||
lib_deps = /home/max/repos/uclisp/
|
||||
extra_scripts = pre:extra_script.py
|
||||
|
||||
[env:pico-lisp-src-debug]
|
||||
platform = https://github.com/Wiz-IO/wizio-pico.git
|
||||
framework = baremetal
|
||||
board = raspberry-pi-pico
|
||||
build_flags =
|
||||
${common.build_flags}
|
||||
${common.debug_build_flags}
|
||||
-D PLATFORM_PICO_SDK
|
||||
-D LIB_PICO_STDIO_USB
|
||||
-D PICO_USB
|
||||
-D LISP_SOURCE_APPLICATION
|
||||
build_src_filter =
|
||||
${common.src_filter}
|
||||
+<pico*.c>
|
||||
upload_protocol = uf2
|
||||
upload_port = /run/media/max/RPI-RP2
|
||||
lib_deps = /home/max/repos/uclisp/
|
||||
extra_scripts = pre:extra_script.py
|
||||
|
||||
[env:native-debug]
|
||||
platform = native
|
||||
@@ -56,6 +78,7 @@ build_src_filter =
|
||||
${common.src_filter}
|
||||
+<native-plat.c>
|
||||
|
||||
|
||||
[env:native-release]
|
||||
platform = native
|
||||
build_flags =
|
||||
|
||||
Reference in New Issue
Block a user