Commit Graph

572 Commits

Author SHA1 Message Date
Simon Duquennoy
4583fff094 Radio API: added values/objects for TSCH constants 2018-10-03 12:42:06 +02:00
Simon Duquennoy
c4c1e589f7 cc1200: add 1000 kbps configuration, including TSCH configuration 2018-10-03 12:25:09 +02:00
Simon Duquennoy
6b1292d9d9 cc1200: add required structures and defines for TSCH support 2018-10-03 12:24:40 +02:00
kkrentz
501ce04f05 cc2538-rf: Simplified set_channel 2018-10-02 07:07:54 -07:00
kkrentz
9f78836219 cc2538-rf: Simplified get_channel 2018-10-02 07:07:01 -07:00
kkrentz
34f697adf7 cc2538-rf: Support for disabling the SHR search 2018-10-02 07:07:01 -07:00
kkrentz
f8091cb87c cc2538-rf: Use logging API 2018-10-02 07:07:01 -07:00
kkrentz
9c1fefa7a7 cc2538-rf: More compact implementation of getting RSSIs 2018-10-02 07:07:01 -07:00
kkrentz
34997f60f6 cc2538-rf: Removed unused function "cc2538_rf_set_promiscous_mode" 2018-10-02 07:07:01 -07:00
kkrentz
a1fddeb0f7 cc2538-rf: After init, we are not in receive mode 2018-10-02 07:07:01 -07:00
kkrentz
c919975d41 cc2538-rf: I see no point in flushing twice 2018-10-02 07:07:01 -07:00
kkrentz
3045a47a29 cc2538-rf: As per the user's guide, RFCORE_XREG_FSCAL1 needs updating, too 2018-10-02 07:07:01 -07:00
Atis Elsts
ad577cf77f Add TSCH stats 2018-09-27 16:00:36 +01:00
George Oikonomou
e71ef49c04 Create platform-independent SPI select and deselect 2018-09-26 21:42:06 +01:00
Atis Elsts
8db3c8d3be add const to spi_device_t * parameter in SPI functions, and store ext-flash default config in ROM instead of RAM 2018-09-25 14:28:50 +01:00
George Oikonomou
ba73abfeac Provide default board for platform simplelink
If BOARD is unspecified, simplelink platform's build system will generate an error instead of choosing a default. This is a) inconsistent with what we do for other platforms and b) problematic because making targets clean, distclean etc will fail.
2018-09-23 12:59:43 +01:00
Rehan MALAK
75d372cde4 minor refactoring of hdc-1000-sensor following commit f4a8cba37 2018-09-21 12:30:53 +02:00
Atis Elsts
cb55197f90 CC26xx/CC13xx: update the TSCH_CONF_ASSOCIATION_POLL_FREQUENCY parameter to make it associate faster 2018-09-17 14:28:23 +01:00
George Oikonomou
9a2a3d50aa
Merge branch 'develop' into contrib/cc26xx/bootloader-config 2018-09-17 13:26:01 +01:00
George Oikonomou
18af632c08
Merge branch 'develop' into contrib/gpio-hal-interrupt 2018-09-17 12:50:42 +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
f63012137d CC26xx/CC13xx GPIO interrupt hal: clear the interrupt flags before calling the callbacks, not after 2018-09-15 14:37:17 +01: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
22718bae34 Edit comments to pass doxygen test 2018-09-12 22:44:33 +01:00
George Oikonomou
0f42e81538
Merge branch 'develop' into ti-cc2640r2-ble5 2018-09-12 12:24:12 +01:00
Edvard Pettersen
a7352dc747 Merge branch 'develop' into contrib/ti-simplelink 2018-09-12 12:39:18 +02:00
Edvard Pettersen
113302d1bc Fixed wrong filename include
Will only trigger an error on case-sensitive systems
2018-09-12 09:50:19 +02:00
Edvard Pettersen
5ea0c80ae1
Merge branch 'develop' into contrib/ti-simplelink 2018-09-12 09:27:43 +02:00
Jinyan BAI
a4598b2660 add missing ';' 2018-09-12 00:31:39 +01:00
Jinyan BAI
7acf0bff18 use non-ROM variant functions
since the ROM ones are no longer supported in cc2640r2sdk
2018-09-11 23:42:36 +01:00
Jinyan BAI
b82851568f get rid of undeclared identifier 2018-09-11 19:17:26 +01:00
Edvard Pettersen
02fc8fdede Merge branch 'contrib/ti-simplelink' of https://github.com/tiepettersen/contiki-ng into contrib/ti-simplelink 2018-09-11 17:51:54 +02:00
Edvard Pettersen
dee1584312 Added missing button defines for sensortag/cc2650 Board 2018-09-11 17:50:11 +02:00
Edvard Pettersen
e212fd31fe Added missing defines for PLATFORM_HAS_* 2018-09-11 17:39:17 +02:00
Edvard Pettersen
84384d5efc Added missing LED define in sensortag/cc1350 Board 2018-09-11 16:45:21 +02:00
Jinyan BAI
46eca2ee25 Fix some code style problems 2018-09-11 15:23:34 +01:00
Jinyan BAI
9406f5b5d9 BLE5 support for CC2640R2 2018-09-11 12:45:29 +01:00
Jinyan BAI
3ece31be30 add support for TI's CC2640R2 2018-09-11 12:43:27 +01:00
Edvard Pettersen
86232c86f9 Expanded travis builds with SimpleLink platform
In addition, some small grammar fixes and slight bugfix in
Makefile.simplelink
2018-09-11 13:17:21 +02:00
George Oikonomou
8624f83cd5
Merge branch 'develop' into lafka-configurable-radio 2018-09-07 22:57:41 +01:00
Olav Frengstad
d953adf0cb Make cc26xx radio driver configurable in prop mode operation
It's already possible to override the default radio driver when operating in IEEE mode.
This patch opens up for users defining their own radio driver when using prop mode.
This is useful when overriding certain radio driver functions.
2018-09-04 18:38:25 +02:00
Edvard Pettersen
796db58412
Merge branch 'develop' into contrib/ti-simplelink 2018-09-04 10:16:58 +02:00
George Oikonomou
e050069ede
Merge branch 'develop' into contrib/werror 2018-09-03 15:11:41 +01:00
Atis Elsts
c8792c9261 Set -Werror only if WERROR is set 2018-09-03 12:01:34 +01:00
Atis Elsts
eb253c0f3b Generate a descriptive error message in case cc26xxware/cc13xxware does not exist 2018-09-03 11:49:14 +01:00
Edvard Pettersen
232fbd4c98 Fixed travis errors 2018-08-31 16:39:20 +02:00
Edvard Pettersen
d0124e3de7 Reverting API change to GPIO HAL 2018-08-31 11:06:32 +02:00
Edvard Pettersen
eda0a9b962 Added SPI pin declarations to Board files 2018-08-31 11:06:31 +02:00
Edvard Pettersen
f0419b21bc Removed unused custom board 2018-08-31 11:06:31 +02:00
Edvard Pettersen
1ddbedaacc Renamed cpu dir to simplelink-cc13xx-cc26xx 2018-08-31 11:06:31 +02:00
Edvard Pettersen
b8b1385c1f Extract changes to cpu/cc13xx-cc26xx 2018-08-31 11:05:34 +02:00
Edvard Pettersen
fff8e832e2 Conditionally print PANID if successfully received 2018-08-31 11:05:34 +02:00
Edvard Pettersen
c53ab05aea Fixed missing changes for GPIO-HAL 2018-08-31 11:05:34 +02:00
Edvard Pettersen
b20f38196a Added missing target dependency for .elf 2018-08-31 11:05:34 +02:00
Edvard Pettersen
405cb7ecd1 Fixed GPIO HAL arch compiler errors for native 2018-08-31 11:05:34 +02:00
Edvard Pettersen
f2ff81a0e3 Fixed CORE_SDK checks, and some grammar fixes 2018-08-31 11:05:34 +02:00
Edvard Pettersen
537f9a5baf Minor fixes 2018-08-31 11:05:33 +02:00
Edvard Pettersen
7debfe830f Fixed issue with SPI0 and SPI HAL, and fixed bug in Makefile.cm3 2018-08-31 11:05:33 +02:00
Edvard Pettersen
e23aa04411 Added RF inactivity timeout configuration 2018-08-31 11:05:33 +02:00
Edvard Pettersen
844f01de35 Fixed compile errors and made examples compile 2018-08-31 11:05:33 +02:00
Edvard Pettersen
45287759c2 Removed change 2018-08-31 11:05:32 +02:00
Edvard Pettersen
3ac27dc7c9 Cleanup of global Makefiles 2018-08-31 11:05:32 +02:00
Edvard Pettersen
7cf843f601 Uncrustify 2018-08-31 11:05:32 +02:00
Edvard Pettersen
08bda8bed7 Fixed compiler errors 2018-08-31 11:05:32 +02:00
Edvard Pettersen
210db77835 Cleaned up CCFG file handling 2018-08-31 11:05:31 +02:00
Edvard Pettersen
813543b569 Implented SPI HAL for CC13xx/CC26xx 2018-08-31 11:05:31 +02:00
Edvard Pettersen
7002309c23 Makefile rework 2018-08-31 11:05:31 +02:00
Edvard Pettersen
0c17a1a7ee Streamlined pre-RTM and RTM devices 2018-08-31 11:05:31 +02:00
Edvard Pettersen
ee0a4df7bf Cleanup in Makefiles 2018-08-31 11:05:31 +02:00
Edvard Pettersen
8fb568a7a2 Removed Display from Board files 2018-08-31 11:05:31 +02:00
Edvard Pettersen
a199809298 Added the Core SDK submodule 2018-08-31 11:05:30 +02:00
Edvard Pettersen
66005c9232 Extracted TX Power settings to its own file 2018-08-31 11:04:52 +02:00
Edvard Pettersen
ca2e82a459 Uncrustify code style 2018-08-31 11:04:51 +02:00
Edvard Pettersen
b605e9b43f Aligned Board Button HAL naming 2018-08-31 11:04:51 +02:00
Edvard Pettersen
3031be39a8 Added BOARD_STRING 2018-08-31 11:04:51 +02:00
Edvard Pettersen
640570cd38 Removed space between keyword and parentheses 2018-08-31 11:04:51 +02:00
Edvard Pettersen
54e8adfdec Fixed elif 2018-08-31 11:04:51 +02:00
Edvard Pettersen
06cc883b3f Fixed DeviceFamily_constructPath() 2018-08-31 11:04:51 +02:00
Edvard Pettersen
1d0f6227dc Fixed doxygen 2018-08-31 11:04:50 +02:00
Edvard Pettersen
abe82f3d8e Fixed bug in the circular data queue 2018-08-31 11:04:50 +02:00
Edvard Pettersen
824296cbc0 Removed external bias as default from RF settings, and doxygen alignment 2018-08-31 11:04:50 +02:00
Edvard Pettersen
dfc6ee611a Doxygen alignment, and fixed missing TRNG objects 2018-08-31 11:04:49 +02:00
Edvard Pettersen
c333e9f783 Slight naming refactoring, and removed bloat .vramTable from linker 2018-08-31 11:04:49 +02:00
Edvard Pettersen
a18cac1e0c Fixed GPIO HAL for srf06-cc26xx 2018-08-31 11:04:48 +02:00
Edvard Pettersen
8fb9b62140 Slight naming refactoring 2018-08-31 11:04:48 +02:00
Edvard Pettersen
10ff89ba01 Fixed issue with drift in synth 2018-08-31 11:04:48 +02:00
Edvard Pettersen
de0197d71f Normalized TX power settings 2018-08-31 11:04:48 +02:00
Edvard Pettersen
178bafad2e Fixed RX buf restart, and fixed RF prop settings include 2018-08-31 11:04:48 +02:00
Edvard Pettersen
5f8727a6ba Added missing include for sensortag board-conf 2018-08-31 11:04:48 +02:00
Edvard Pettersen
f4a8cba371 Rehauled doxygen commenting and fixed TI drivers configuration 2018-08-31 11:04:48 +02:00
Edvard Pettersen
8cd6017305 Cleanup in config 2018-08-31 11:04:47 +02:00
Edvard Pettersen
c170a90976 Fixed RX buf full error 2018-08-31 11:04:47 +02:00
Edvard Pettersen
e0bd086b3b Ported BLE beacond, fixed IEEE_RX_ACK. 2018-08-31 11:04:47 +02:00
Edvard Pettersen
9be3c05daa Fixed bug in CMD_PROP_TX_ADV settings 2018-08-31 11:04:46 +02:00
Edvard Pettersen
32fed691d4 Added HardFault debugger function 2018-08-31 11:04:46 +02:00
Edvard Pettersen
10805cbbe7 Fixed wrong prop-settins for CC13x0 2018-08-31 11:04:46 +02:00
Edvard Pettersen
41cb9dd66c Implemented RX_ACK for IEEE-mode 2018-08-31 11:04:46 +02:00
Edvard Pettersen
f307794b39 Reworked RF driver into scheduler 2018-08-31 11:04:46 +02:00