Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fhunleth/nerves-see

Joe Armstrong's SEE code in the Nerves embedded environment
https://github.com/fhunleth/nerves-see

Last synced: about 1 month ago
JSON representation

Joe Armstrong's SEE code in the Nerves embedded environment

Awesome Lists containing this project

README

        

# Simple Execution Environment (SEE) in Nerves

This example shows how to build a Nerves firmware image that runs a SEE test
application from [Joe Armstrong's Programming Erlang 2nd Edition](http://pragprog.com/book/jaerlang2/programming-erlang). SEE
doesn't load OTP or any of the normal Erlang modules. As a result, this is
about the smallest and fastest loading image that you can build with Nerves.
Bootloader and Linux overhead are painfully obvious in these images.

To build, download and build the `nerves-sdk` first. See https://github.com/nerves-project/nerves-sdk.
Then run the following:

```shell
$ source ../nerves-sdk/nerves-env.sh
$ make
```

Copy the image to an SDCard using `dd` or `mmccopy`:

```shell
$ sudo mmccopy _images/sdcard.img
```

Insert the image into a BeagleBone Black and boot. You should eventually see
the following
```
HELLO WORLD
4 modules loaded
Press a key to reboot...
```