Commit Graph

68 Commits

Author SHA1 Message Date
Simon Duquennoy 3889ffe750 Simplify and homogenize node-id across all platforms 2018-05-18 14:08:24 -07:00
George Oikonomou 90b5d2a149 Differentiate flash part across sensortag/cc2650 versions
Older CC2650 sensortags have a Winbond W25X40CL 4MBit SPI flash. Newer ones have a Macronix MX25R8035F 8MBit part. The parts have almost identical instruction sets and are both supported by our generic external flash driver. The key difference between the two parts is that they have different Manufacturer and Device IDs.

This commit allows us to switch between the two: We default to the new revision, and allow users to build for the older one by defining `SENSORTAG_CC2650_REV_1_2_0` to 1.

Current tags are version 1.5.1. Older tags are version 1.2.0. To identify older tags, look for "Rev: 1.2" printed on the PCB. They should also have a sticker that reads "Rev: 1.3.0" and "HW Rev 1.2.0".
2018-05-18 15:06:58 +01:00
Simon Duquennoy f9a1f958e1 Merge remote-tracking branch 'origin/release-4.1' into develop 2018-04-20 08:37:14 -07:00
Simon Duquennoy 8bc3a7388e cc26xx and cc13xx: use IEEE802154_DEFAULT_CHANNEL 2018-04-13 08:06:02 -07:00
George Oikonomou f254d22bf3 Delete trailing whitespaces (various leds-arch.c files) 2018-04-07 14:49:40 +01:00
George Oikonomou f6bd7ba47a Fix code style 2018-04-07 14:49:40 +01:00
Simon Duquennoy 005a45009b
Merge branch 'develop' into contrib/build/cleanup 2018-04-05 08:37:55 +02:00
Xenofon (Fontas) Fafoutis 629803c5e5 ext-flash driver moved to arch/dev/ 2018-04-04 11:30:32 +01:00
Xenofon (Fontas) Fafoutis 46d1dd1293 update xmem 2018-04-04 11:30:32 +01:00
George Oikonomou 03c63bdd0f Remove spi-hal-arch.h (CC13xx/CC26xx) 2018-04-04 11:30:32 +01:00
George Oikonomou f6f0c15421 Rename macro and move to HAL 2018-04-04 11:30:32 +01:00
Xenofon (Fontas) Fafoutis 5e79f0a922 spi hal implementation for sensortag 2018-04-04 11:30:32 +01:00
xenofon (Fontas) Fafoutis e7d7ee3962 generic spi driver for cc26xx-cc13xx
launchpad and ext-flash implementation
2018-04-04 11:30:32 +01:00
George Oikonomou c7e36a3d55 Change clean target to be more explicit
Previously, the clean target would delete a number of file extensions, many of which currently unknown to our build system (old platforms?). This commit changes the target so that it only cleans what we know we are building. Platforms / CPUs can append to the target with platform-specific build artifacts.
2018-03-30 21:22:59 +01:00
George Oikonomou 59df70fcd2 Fix launchpad LED colour mappings 2018-03-23 22:23:00 +00:00
Joakim Eriksson 0c31f4dd95
Merge branch 'develop' into wip/button-hal 2018-03-21 07:19:51 +01:00
George Oikonomou dc8aa6aeca Fix link layer address retrieval from flash 2018-03-18 13:10:21 +00:00
George Oikonomou 155e2c9b0a Support both old and new button API in common examples
This change is temporary so travis can pass until all platforms have been migrated to the new API
2018-03-14 09:34:47 +00:00
George Oikonomou 1dcb8426d6 Use the button HAL for all CC13xx/CC26xx devices 2018-03-14 09:34:45 +00:00
George Oikonomou 8ac1cf92ce Implement the new button HAL: Sensortag 2018-03-14 09:34:45 +00:00
George Oikonomou f199ff0a5f Implement the new button HAL: Launchpad 2018-03-14 09:34:45 +00:00
George Oikonomou 3f4fef4625 Implement the new button HAL: SmartRF06 + CC13xxEM/CC26xxEM 2018-03-14 09:34:44 +00:00
George Oikonomou 3014e8cf07 Start the sensors process conditionally
(Not all boards have sensors)
2018-03-14 09:34:44 +00:00
George Oikonomou 7859b3c189 Only print RADIO_PARAM_PAN_ID if the radio supports it 2018-03-12 15:26:43 +00:00
George Oikonomou 8624fa1601 Initialise variables explicitly 2018-03-12 15:17:47 +00:00
George Oikonomou c250cf93b7
Merge branch 'develop' into feature/ipv6_over_ble 2018-03-12 08:52:25 +00:00
dongdongbh 4b173ce01f add cfs support for srf06-cc26xx 2018-03-11 02:07:46 +08:00
George Oikonomou b1537374fb Migrate to the new LED HAL (CC26xx/CC13xx) 2018-03-01 15:29:30 +00:00
George Oikonomou ab710a8ed0 Implement the new LED HAL (Sensortag CC26xx/CC13xx) 2018-03-01 15:29:29 +00:00
George Oikonomou 877c758aaf Implement the new LED HAL (Launchpad CC26xx/CC13xx) 2018-03-01 15:29:29 +00:00
George Oikonomou f932e51128 Implement the new LED HAL (SmartRF06 CC26xx/CC13xx) 2018-03-01 15:29:29 +00:00
Atis Elsts 02f26ffff5 Fix BOARDS string in srf06-cc26xx platform makefile to accurately reflect all valid values of the BOARD variable 2018-02-27 12:03:58 +00:00
George Oikonomou 1c993bf354 Remove unnecessary MODULES from platform Makefiles 2018-02-26 00:07:20 +00:00
Simon Duquennoy e30423f6cc
Merge branch 'develop' into contrib/gpio-hal 2018-02-25 18:17:32 +01:00
George Oikonomou f1d1932c5c Adjust CC13xx/CC26xx drivers to use the GPIO HAL 2018-02-24 12:50:01 +00:00
Simon Duquennoy 884ba9805c Added missing inclusions of inttypes.h 2018-02-23 10:58:46 -08:00
George Oikonomou fd72afbfcb Allow Shell operaction for CC13xx/CC26xx
Fixes #187
2018-02-16 15:42:45 +00:00
spoerk 604e846ff1 Merge branch 'develop' of github.com:contiki-ng/contiki-ng into feature/ipv6_over_ble 2018-01-03 15:27:42 +01:00
spoerk 2a49608af6 link layer problem fixed 2018-01-03 14:51:23 +01:00
George Oikonomou 3bbcc6288f Include board.h after configuration is fully known 2017-12-18 16:50:40 +00:00
spoerk fd0f0ca4b6 Merge branch 'develop' of github.com:contiki-ng/contiki-ng into feature/ipv6_over_ble 2017-12-15 11:41:27 +01:00
spoerk 7a7c4e0015 added support for IPv6 over BLE communication 2017-12-15 11:20:44 +01:00
George Oikonomou fb9c0beb37 Pull CPU-related configuration from the CPU header (CC13xx/CC26xx) 2017-12-06 16:00:46 +00:00
George Oikonomou 5c07cb02a8 Pull CPU-related constants from the CPU header (CC13xx/CC26xx) 2017-12-06 16:00:46 +00:00
alexstanoev 9bbc9202a4 Add JTAG interface configuration in contiki-conf.h for CCxx platforms
This adds a new toggle to `contiki-conf.h` which controls access to the
JTAG debug interface on CC26xx/CC13xx platforms.
2017-11-26 18:13:03 +00:00
George Oikonomou 917c4c87de Remove LED undefs 2017-11-12 11:58:35 +00:00
George Oikonomou ec77214226 Remove obsolete SLIP_foo_CONF_NO_PUTCHAR 2017-11-01 10:04:48 +00:00
George Oikonomou 26d5efb784 Re-arrange the CC26xx startup sequence 2017-10-29 23:18:39 +00:00
Simon Duquennoy ff4ad7998a cc2538 platform.c: set link-layer address in phase two, as the Netstack initialization code needs it 2017-10-29 23:18:38 +00:00
George Oikonomou 6c8294b1e6 Use the logging module (CC26xx/CC13xx) 2017-10-29 23:18:37 +00:00