Skip to content

Latest commit

 

History

History
45 lines (26 loc) · 1.23 KB

README.md

File metadata and controls

45 lines (26 loc) · 1.23 KB

Neotron Sample Applications

Here are some sample applications that use the Neotron API.

Building the Applications

Build the application as follows:

$ cargo build --release --target=thumbv6m-none-eabi
$ cp ./target/thumbv6m-none-eabi/release/hello /my/sdcard/hello.elf

Then copy the resulting hello.elf file to an SD card and insert it into your Neotron system. You can load the application with something like:

> load hello.elf
> run

List of Sample Applications

This is a basic "Hello World" application. It prints the string "Hello, world" to standard output and then exits with an exit code of 0.

This reports any bytes received on Standard Input. Press Ctrl-X to quit.

This application panics, printing a nice panic message.

This application generates a Hard Fault.

A basic "Hello, world" but written in ARM assembly. It prints the string "Hello, world" to standard output and then exits with an exit code of 0.

A basic "Hello, world" but written in C. It prints the string "Hello, world" to standard output and then exits with an exit code of 0.