Fixed autoboot.
This commit is contained in:
@ -71,8 +71,7 @@ $(GEN):
|
|||||||
|
|
||||||
POSIX_BOOT = common/boot.fs common/terminal.fs \
|
POSIX_BOOT = common/boot.fs common/terminal.fs \
|
||||||
posix/posix.fs posix/posix_highlevel.fs \
|
posix/posix.fs posix/posix_highlevel.fs \
|
||||||
common/filetools.fs posix/posix_desktop.fs \
|
common/filetools.fs posix/posix_desktop.fs
|
||||||
common/autoboot.fs
|
|
||||||
$(GEN)/posix_boot.h: common/source_to_string.js $(POSIX_BOOT) | $(GEN)
|
$(GEN)/posix_boot.h: common/source_to_string.js $(POSIX_BOOT) | $(GEN)
|
||||||
echo "ok" | cat $(POSIX_BOOT) - | $< boot >$@
|
echo "ok" | cat $(POSIX_BOOT) - | $< boot >$@
|
||||||
|
|
||||||
@ -80,7 +79,9 @@ WINDOWS_BOOT = common/boot.fs common/terminal.fs windows/windows.fs
|
|||||||
$(GEN)/windows_boot.h: common/source_to_string.js $(WINDOWS_BOOT) | $(GEN)
|
$(GEN)/windows_boot.h: common/source_to_string.js $(WINDOWS_BOOT) | $(GEN)
|
||||||
echo "ok" | cat $(WINDOWS_BOOT) - | $< boot >$@
|
echo "ok" | cat $(WINDOWS_BOOT) - | $< boot >$@
|
||||||
|
|
||||||
ARDUINO_BOOT = common/boot.fs arduino/arduino.fs
|
ARDUINO_BOOT = common/boot.fs arduino/arduino.fs \
|
||||||
|
posix/posix_highlevel.fs common/filetools.fs \
|
||||||
|
arduino/autoboot.fs
|
||||||
$(GEN)/arduino_boot.h: common/source_to_string.js $(ARDUINO_BOOT) | $(GEN)
|
$(GEN)/arduino_boot.h: common/source_to_string.js $(ARDUINO_BOOT) | $(GEN)
|
||||||
echo "ok" | cat $(ARDUINO_BOOT) - | $< boot >$@
|
echo "ok" | cat $(ARDUINO_BOOT) - | $< boot >$@
|
||||||
|
|
||||||
|
|||||||
@ -19,4 +19,4 @@
|
|||||||
-1 echo !
|
-1 echo !
|
||||||
115200 Serial.begin
|
115200 Serial.begin
|
||||||
100 ms
|
100 ms
|
||||||
-1 z" /" 10 SPIFFS.begin drop
|
-1 z" /spiffs" 10 SPIFFS.begin drop
|
||||||
|
|||||||
2
ueforth/arduino/autoboot.fs
Normal file
2
ueforth/arduino/autoboot.fs
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
: autoexec ( a n -- ) s" /spiffs/autoexec.fs" ['] included catch 2drop drop ;
|
||||||
|
autoexec
|
||||||
@ -1,2 +0,0 @@
|
|||||||
: autoexec s" autoexec.fs" ['] included catch 2drop drop ;
|
|
||||||
autoexec
|
|
||||||
Reference in New Issue
Block a user