The official git repository for OSD-Contiki, the open source OS for the Internet of Things
Find a file
George Oikonomou cd5a0ef291 Consolidate .upload for all CC26xx/CC13xx boards
The block that controls the `.upload` target is unnecessarily replicated in multiple sub-board Makefiles. This was originally done because the SmartRF and the Launchpad can be programmed with the c2538-bsl script, whereas the sensortag cannot.

This commit moves the `cc2538-bsl` / `.upload` target logic to the top level cpu Makefile (`cpu/cc26xx-cc13xx/Makefile.cc26xx-cc13xx`). Board makefiles simply set the make variable `BOARD_SUPPORTS_BSL` to 1 to signal that they can be programmed by the BSL script. If `BOARD_SUPPORTS_BSL` is not equal to 1, trying to use the `.upload` target will return an error message.

For example:

```
$ make BOARD=sensortag/cc2650 cc26xx-demo.upload
using saved target 'srf06-cc26xx'
This board cannot be programmed with the ROM bootloader and therefore does not support the .upload target.
```
2016-05-14 19:30:53 +01:00
apps Merge pull request #1651 from gebart/pr/lwm2m-json-sv-bv 2016-05-12 17:01:16 +02:00
core core/cfs: Disallow seeking past the end of a file if it is not writable 2016-05-03 07:10:35 +02:00
cpu Consolidate .upload for all CC26xx/CC13xx boards 2016-05-14 19:30:53 +01:00
dev Merge pull request #1447 from alignan/pull/cc1200-sensniff 2016-04-27 23:59:45 +02:00
doc Fix doxygen warning 2016-03-15 10:25:05 +01:00
examples Fix for IPv6 compilation and linkage errors 2016-05-09 18:18:28 +02:00
lib/newlib Implement generic Newlib syscalls 2015-12-16 19:50:49 +01:00
platform Consolidate .upload for all CC26xx/CC13xx boards 2016-05-14 19:30:53 +01:00
regression-tests Replace the '+' operator with String.prototype.concat() 2016-05-02 18:18:12 +02:00
tools do not use setBaudrate 2016-05-02 18:48:16 +02:00
.gitattributes Add binary files file extension 2015-10-22 16:19:39 +02:00
.gitignore Added a pfs_remove() function and a pfs_seek() stub to the Commodore platforms. 2016-03-28 14:07:35 +02:00
.gitmodules Align to current master 2015-09-04 17:01:04 +02:00
.travis.yml Fix failure of ARM-AAPCS travis job 2016-04-06 23:24:42 +01:00
CONTRIBUTING.md Updated CONTRIBUTING.md to reflect Contiki's new merging policy 2015-08-18 22:06:56 +02:00
LICENSE Removed the explicit year 2012 to make it more generic 2012-10-25 23:08:54 +02:00
Makefile.include Makefile.include: Remove unused MODULESSUBST 2015-06-01 22:09:58 +02:00
README-BUILDING.md Rename to md 2013-03-26 23:15:37 +01:00
README-EXAMPLES.md Several minor consistency improvements. 2013-07-31 00:55:31 +02:00
README.md Travis icon in README.md: show build status of the current master rather than latest build status (can be any pull request) 2015-08-19 09:21:38 +02:00

The Contiki Operating System

Build Status

Contiki is an open source operating system that runs on tiny low-power microcontrollers and makes it possible to develop applications that make efficient use of the hardware while providing standardized low-power wireless communication for a range of hardware platforms.

Contiki is used in numerous commercial and non-commercial systems, such as city sound monitoring, street lights, networked electrical power meters, industrial monitoring, radiation monitoring, construction site monitoring, alarm systems, remote house monitoring, and so on.

For more information, see the Contiki website:

http://contiki-os.org