-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Markus Klotzbuecher <mk@mkio.de>
- Loading branch information
Showing
5 changed files
with
139 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,30 @@ | ||
Composing microblx systems | ||
========================== | ||
|
||
To build a microblx application, blocks need to be instantiated, | ||
configured, connected and started up according to the life-cycle | ||
FSM. There are different ways to do this: | ||
|
||
- by using microblx system composition files (the ``*.usc`` files | ||
under examples). ``usc`` stands for microblx system | ||
composition). These can be launched using the ``ubx_launch`` | ||
tool. For example: | ||
|
||
.. code:: bash | ||
$ ubx_launch -webif -c examples/trig_rnd_hexdump.usc | ||
this will launch the given system composition and additionally | ||
create a webserver block to allow system to be introspected via a | ||
browser. Using the usc files is the preferred approach. | ||
- by writing a Lua called “deployment script” (e.g. see | ||
``examples/trig_rnd_to_hexdump.lua``). This is not recommended under | ||
normal circumstances, but can be useful in specific cases such as | ||
for building dedicated test tools. | ||
|
||
- by assembling everything in C/C++. Possible, but somewhat painful to | ||
do by hand. This would be better solved by introducing a | ||
usc-compiler tool. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.