Skip to content

Generic wiselib application isense

Dimitrios Amaxilatis edited this page Jul 22, 2013 · 1 revision

Basic Requirements

Before compiling your first application, the appropriate paths must be set. Therefore the file

wiselib/applications/Makefile.template

must be copied to

wiselib/applications/Makefile.local

and the paths for the platforms to be used for compilation must be adapted.

Without an existing Makefile.local (see above), it is not possible to compile any application in the applications folder!

Once this is done, change to

wiselib/applications/example_app

There is already a Makefile included, so that you only need to call

make isense

Compile your Generic Application for iSense

Assuming that the paths for WISELIB_BASE, WISELIB_PATH, WISELIB_PATH_TESTING, and ISENSE_PATH are correctly set, and the ba-elf-compiler is available, it is pretty simple to compile the application for the iSense platform.

Just type

  • make isense

in your application's subfolder. Then the binary is generated in out/example_app.bin, and can be directly flashed to the iSense node (using the iShell or an alternative programming tool for iSense nodes).