Commit Graph

79 Commits

Author SHA1 Message Date
George Oikonomou 8ea3e9fb77 Improve code style 2018-10-12 13:47:01 +01:00
George Oikonomou 3ba8afea79 Harmonize usage across XXwares and CC2640R2-SDK 2018-10-12 13:47:00 +01:00
George Oikonomou 8e990819a8 Remove all instances of ti_lib_rom_ macros 2018-10-12 13:47:00 +01:00
Rehan MALAK 75d372cde4 minor refactoring of hdc-1000-sensor following commit f4a8cba37 2018-09-21 12:30:53 +02:00
George Oikonomou 9a2a3d50aa
Merge branch 'develop' into contrib/cc26xx/bootloader-config 2018-09-17 13:26:01 +01:00
George Oikonomou bb6e8d9bea
Merge branch 'develop' into contrib/flash-pins 2018-09-17 11:45:40 +01:00
George Oikonomou 06bbb65bdb Simplify configuration of the CC13xx/CC26xx ROM bootloader
Currently board.h does all the work, but it does not really need to. This commit moves most of the ccfg defines to ccxxware-conf.h and now board.h only needs to specify the bootloader enable pin and corresponding level.
2018-09-17 13:15:58 +03:00
Atis Elsts 8d12ca730f remove duplicate definitions of CC26xx/CC13xx flash pins 2018-09-15 14:30:17 +01:00
Atis Elsts 8f27179782 remove BUTTON_SENSOR_CONF_ENABLE_SHUTDOWN and button_sensor definitions for cc26xx: dead code since changing to the button HAL 2018-09-15 14:23:39 +01:00
Jinyan BAI 46eca2ee25 Fix some code style problems 2018-09-11 15:23:34 +01:00
Jinyan BAI 3ece31be30 add support for TI's CC2640R2 2018-09-11 12:43:27 +01:00
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