Giter VIP home page Giter VIP logo

v1026-demo-app's Introduction

v1026-demo-app

Firmware for the V1026 LPWAN demonstrator.

This project is developed and maintained by 42 Technology (www.42technology.com)

Features

  • Is started by the Nordic 'secure boot-loader' and operates in insecure mode
  • Connects to Cloudflare's QUIC tech demo at https://quic.tech:4433

Dependencies

To build embedded programs using this template you'll need:

  • Rust 'nightly-2019-09-28-x86_64-unknown-linux-gnu'

  • rust-std components (pre-compiled core crate) for armv8m.main targets.

  • GCC for bare-metal ARM (arm-none-eabi-gcc), with the newlib C library

  • clang

  • bindgen

To get these things on Ubuntu 18.04, run:

$ apt-get update && apt-get install -y curl llvm-dev libclang-dev clang git cmake pkg-config libunwind-dev golang
$ curl -Lq https://developer.arm.com/-/media/Files/downloads/gnu-rm/8-2018q4/gcc-arm-none-eabi-8-2018-q4-major-linux.tar.bz2 | tar xjf - -C ~
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s - '-y'
$ source $HOME/.cargo/env
$ rustup toolchain install nightly-2019-09-28
$ rustup override set nightly-2019-09-28
$ rustup target add thumbv8m.main-none-eabi
$ export PATH=$PATH:~/gcc-arm-none-eabi-8-2018-q4-major/bin
$ export NEWLIB_PATH=~/gcc-arm-none-eabi-8-2018-q4-major/arm-none-eabi/include
$ cargo install bindgen

Hardware

This application runs on the Actinius Icarus board.

Building

To build, just run:

$ ./release.sh

The outputs are placed in target/bin/release.

To flash, load up J-Link Commander, and run:

J-Link> usb
J-Link> connect
# select nRF9160
J-Link> h # for halt
J-Link> r # for reset
J-Link> r # for reset again (sometimes it needs two resets)
J-Link> loadfile ~/v1026-demo-app/target/bin/release/<binary name>
J-Link> r # for reset
J-Link> g # for go

Upstream

This project is based on cortex-m-quickstart by the Rust Embedded team. We are grateful for their work.

License

This crate is under these licences:

at your option.

v1026-demo-app's People

Stargazers

Alexander Gherardi avatar  avatar Daniel Olano avatar Henrik Mohr avatar Mike Beaumont avatar

Watchers

James Cloos avatar

v1026-demo-app's Issues

trouble compiling

I have tried really hard to compile this demo code but I'm stuck.

I have updated references to the actinius repo and updated many of the other dependencies. I can't seem to get it linking(?) however getting errors like: v1026-demo-app/deps/ring/src/aead/chacha.rs:129: undefined reference to 'ChaCha20_ctr32'

I have followed the instructions in the readme.

I have tried this on both ubuntu 18.04 and macos including cargo cross.

Is there any chance you could look at it or maybe just point me in the right direction? I can push to a fork if you want to see my attempts but I doubt it :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.