nes-proj/examples/platform-specific/zoul
2018-05-10 10:33:53 -07:00
..
at-test Update Makefiles to be compatible with the new build system and restrict them to specific platforms where needed 2018-03-09 16:29:06 +00:00
node-red
orion Change Zoul examples to use the button HAL 2018-03-14 09:34:46 +00:00
rev-b restrict Zoul examples to specific boards 2018-03-09 16:29:06 +00:00
rtcc Restrict RTCC example to Zoul boards that have an RTCC 2018-03-09 16:29:06 +00:00
Makefile removed problematic .c extension in Makefile 2018-05-10 10:33:53 -07: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 fixed dht22 driver 2018-05-09 19:29:24 -07:00
test-grove-gyro.c Migrate to LED HAL (Zoul examples) 2018-03-01 15:29:31 +00:00
test-grove-light-sensor.c
test-grove-loudness-sensor.c Move zoul examples one level up 2017-05-18 09:56:47 +02:00
test-iaq.c
test-lcd.c Change Zoul examples to use the button HAL 2018-03-14 09:34:46 +00:00
test-motion.c
test-pm10-sensor.c
test-relay.c
test-rotation-sensor.c
test-servo.c
test-sht25.c Move zoul examples one level up 2017-05-18 09:56:47 +02:00
test-tsl256x.c Migrate to LED HAL (Zoul examples) 2018-03-01 15:29:31 +00:00
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