Modify boot files to use new bootstrapping library.

This commit is contained in:
Anna Rose 2021-08-19 02:29:54 +00:00
parent b9206f8480
commit 828b5f9a5e
4 changed files with 25 additions and 64 deletions

View File

@ -1,16 +1,10 @@
runoncepath("0:/lib/boot").
RunOncePath("0:/lib/boot").
parameter debug is false.
local compiled is List(
"/lib/stabilize_helicopter",
"/lib/ui"
).
Bootstrap(
"/boot/helicopter",
"/prog/helicopter",
compiled,
List(), // no copied files
List(), // no additional program files
debug
).

View File

@ -1,24 +1,10 @@
runoncepath("0:/lib/boot").
RunOncePath("0:/lib/boot").
parameter debug is false.
local compiled is list(
"/lib/launch_rocket",
"/lib/navigation",
"/lib/stabilize_rocket",
"/lib/ui",
"/lib/reentry",
"/lib/throttle"
).
local copied is list(
"/lib/sensors"
).
Bootstrap(
"/boot/rocket",
"/prog/rocket",
compiled,
copied,
debug
"/boot/rocket",
"/prog/rocket",
List(),
debug
).

View File

@ -1,24 +1,13 @@
runoncepath("0:/lib/boot").
parameter debug is false.
local compiled is list(
"/lib/navigation",
"/lib/throttle",
"/lib/ui",
"/prog/nodestats"
).
local copied is list(
"/prog/execnode",
"/prog/circ",
"/prog/satdeploy"
).
RunOncePath("0:/lib/boot").
Bootstrap(
"/boot/satellite",
"",
compiled,
copied,
debug
"/boot/satellite",
"",
List(
"/prog/execnode",
"/prog/circ",
"/prog/satdeploy",
"/prog/nodestats"
),
debug
).

View File

@ -1,21 +1,13 @@
runoncepath("0:/lib/boot").
RunOncePath("0:/lib/boot").
parameter debug is false.
local compiled is List(
"/lib/navigation",
"/lib/reentry"
).
local copied is List(
"/prog/execnode",
"/prog/reentry"
).
Bootstrap(
"/boot/science",
"",
compiled,
copied,
debug
"/boot/science",
"",
List(
"/prog/execnode",
"/prog/reentry"
),
debug
).