nes-proj/examples/platform-specific/zoul
2018-02-02 08:47:46 -08:00
..
at-test Add Makefile.target for platform-specific examples 2017-10-30 21:46:55 +00:00
node-red
orion Added root_start to routing driver 2018-02-02 08:47:46 -08:00
rev-b Auto-include project-conf.h whenever found 2017-10-07 09:45:38 +02:00
rtcc Auto-include project-conf.h whenever found 2017-10-07 09:45:38 +02:00
Makefile Auto-include project-conf.h whenever found 2017-10-07 09:45:38 +02:00
Makefile.target
project-conf.h
README.md
test-aac-sensor.c
test-ac-dimmer.c
test-bme280.c
test-bmp085-bmp180.c
test-dht22.c
test-grove-gyro.c
test-grove-light-sensor.c
test-grove-loudness-sensor.c
test-iaq.c
test-lcd.c
test-motion.c
test-pm10-sensor.c
test-relay.c
test-rotation-sensor.c
test-servo.c
test-sht25.c
test-tsl256x.c
test-vac-sensor.c
test-weather-meter.c
test-zonik.c

Zolertia Zoul test examples

The following tests are valid for the following platforms:

  • RE-Mote revision A
  • RE-Mote revision B
  • Firefly

Specific RE-mote revision A examples are available at the rev-a folder.

Compile and install an example

To flash either hardware platform use the same TARGET=zoul and the following:

  • RE-Mote revision A : BOARD=remote-reva
  • RE-Mote revision B : BOARD=remote-revb
  • Zolertia Firefly : BOARD=firefly

An example on how to compile is shown next:

make TARGET=zoul BOARD=remote-revb

Or alternatively if you just type make, it will default to use the BOARD=remote-revb.

For backward compatibility with the previous remote target corresponding to the RE-Mote revision A, using BOARD=remote will default to BOARD=remote-reva.

To upload an example to your Zolertia device, just add the .upload target as:

make TARGET=zoul BOARD=remote-revb zoul-demo.upload

Optionally you can select a specific USB port to flash a given device, in Linux and assuming there is a device at the /dev/ttyUSB0:

make TARGET=zoul BOARD=remote-revb zoul-demo.upload PORT=/dev/ttyUSB0

If you ommit the PORT argument, the system will flash all Zolertia devices connected over USB.

Visualize the console output

Just type make login to open a connection to the console via USB. As above to specify a given port use the PORT=/dev/ttyUSB0 argument.

Alternatively you can save the above PORT, TARGET or BOARD as follows:

export TARGET=zoul BOARD=remote-revb PORT=/dev/ttyUSB0

This will save you to type these when running a command on the terminal

Documentation and guides

More information about the platforms, guides and specific documentation can be found at Zolertia Wiki