Giter Site home page Giter Site logo

ci-firmwares's Introduction

Iotlab Continuous Integration System Firmwares

This repository contains the instructions and firmware source codes to be used with the continuous integration system of Iotlab.

The firmwares are based on RIOT operating system. Iotlab CI uses 2 different firmwares:

  • idle does basically nothing and is only used to verify that the board can be flashed by the iotlab management tools;

  • autotest verify basic functionalities provided by the boards:

    • echo: replies the exact serial input
    • get_time: replies the current time provided by the internal board timer. The format is ACK get_time <time> ticks_32khz. is computed by the firmware.
    • leds_on: turn on on-board LEDs using input flag (e.g 7 <=> 111 in binary, will turn on all 3 LEDs, etc)
    • leds_off: turn off on-board LEDs using input flag (e.g 7 <=> 111 in binary, will turn off all 3 LEDs, etc)

To be continued...

Usage

  1. Build the firmwares
$ make all
git submodule update --init --recursive
make -C firmwares/autotest/ BOARD=iotlab-m3
make[1]: Entering directory `/home/harter/work/ci-firmwares/firmwares/autotest'
...
make[1]: Leaving directory `/home/harter/work/ci-firmwares/firmwares/idle'
cp firmwares/idle/bin/arduino-mega2560/riot-idle.elf mega_idle.elf

$ ls *.elf
a8_autotest.elf   fox_idle.elf     mega_autotest.elf    samr21_idle.elf
a8_idle.elf       m3_autotest.elf  mega_idle.elf
fox_autotest.elf  m3_idle.elf      samr21_autotest.elf
  1. Copy the firmware in the iotlab-gateway repositoty. The destination folder is iotlab-gateway/gateway-code/static.

ci-firmwares's People

Contributors

aabadie avatar cladmi avatar fsaintma avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ci-firmwares's Issues

telosb board timing error in flash/term

I got some problems testing a telosb/tmotesky custom open node, I suspected the python-msp430-bsl, but digging I found the result was the same with the regular bsl included int RIOT

I might be doing something completely stupid so please correct me if I'm wrong :-)

Checkout the pb-tmotesky on my fork (the telosb BOARD doesnt compile with c++, i've modified the firmware with hardcoded values for parameters that needed sscanf)

git clone [email protected]:rienafairefr/ci-firmwares.git
git checkout --track -b pb-tmotesky origin/pb-tmotesky
make init_submodules
cd firmwares/autotest
export BOARD=telosb
make 
# this works, you can type help and get something
make flash; make term
# this fails, you type help and there is gibberish at the beginning
make flash; sleep 1; make term

This is probably why the autotests are currently failing on the tmotesky branch in iot-lab-gateway

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.