Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/fhunleth/nerves-see
- Owner: fhunleth
- Created: 2014-02-20T20:11:38.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-20T20:33:12.000Z (almost 11 years ago)
- Last Synced: 2024-10-13T09:56:26.316Z (2 months ago)
- Language: Erlang
- Size: 141 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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...
```