osd-contiki/cpu/cc26xx-cc13xx
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
..
dev Always set a valid time for the next AON RTC CH1 compare event 2015-11-14 02:44:04 +01:00
lib Update CCxxwares to our warning-free version 2015-10-20 10:11:41 +02:00
rf-core Merge pull request #1601 from philrhinehart/bugfix-cc26xx-ble-events 2016-04-18 20:06:33 +01:00
cc26xx.ld Add support for the CC13xx CPU 2015-08-23 19:54:42 +01:00
clock.c Tickless bugfixes: 2015-09-02 12:05:47 +02:00
dbg.h Add support for the CC13xx CPU 2015-08-23 19:54:42 +01:00
debug-uart.h Add support for the CC13xx CPU 2015-08-23 19:54:42 +01:00
fault-handlers.c Add support for the CC13xx CPU 2015-08-23 19:54:42 +01:00
ieee-addr.c Add support for the CC13xx CPU 2015-08-23 19:54:42 +01:00
ieee-addr.h Add support for the CC13xx CPU 2015-08-23 19:54:42 +01:00
lpm.c Improve CC13xx/CC26xx LPM logic 2015-11-14 02:48:46 +01:00
lpm.h Add support for the CC13xx CPU 2015-08-23 19:54:42 +01:00
Makefile.cc13xx Add support for the CC13xx CPU 2015-08-23 19:54:42 +01:00
Makefile.cc26xx Add support for the CC13xx CPU 2015-08-23 19:54:42 +01:00
Makefile.cc26xx-cc13xx Consolidate .upload for all CC26xx/CC13xx boards 2016-05-14 19:30:53 +01:00
mtarch.h Add support for the CC13xx CPU 2015-08-23 19:54:42 +01:00
putchar.c Add support for the CC13xx CPU 2015-08-23 19:54:42 +01:00
rtimer-arch.c Add support for the CC13xx CPU 2015-08-23 19:54:42 +01:00
rtimer-arch.h Add support for the CC13xx CPU 2015-08-23 19:54:42 +01:00
slip-arch.c Add support for the CC13xx CPU 2015-08-23 19:54:42 +01:00
ti-lib.h Add support for the CC13xx CPU 2015-08-23 19:54:42 +01:00