Commit Graph

14654 Commits

Author SHA1 Message Date
George Oikonomou
1db3ce4157
Merge pull request #686 from simonduq/contrib/cc1200-tsch
TSCH support for CC1200
2018-10-11 00:42:26 +01:00
George Oikonomou
00291a5fa0
Merge branch 'develop' into contrib/cc1200-tsch 2018-10-10 22:19:23 +01:00
Simon Duquennoy
372f8ec6d0
Merge pull request #688 from g-oikonomou/contrib/arm-dbg-io
Default to using os/lib/dbg-io for all arm-powered platforms
2018-10-10 17:17:52 +02:00
Simon Duquennoy
b7c9cae60c Platform Zoul: move generic cc2538 defines from contiki-conf.h to cc2538-def.h 2018-10-10 17:01:11 +02:00
Simon Duquennoy
fac787231d Added TSCH_CONF_ARCH_HDR_PATH for platform-specific TSCH includes 2018-10-10 16:52:33 +02:00
Simon Duquennoy
d150de227f cc2420: remove unused variables 2018-10-10 12:02:53 +02:00
George Oikonomou
123b38fc2b Rename make variable to better match current practice 2018-10-05 11:13:51 +01:00
George Oikonomou
085601f795 Default to using os/lib/dbg-io for all arm-powered platforms
With the exception of one specific build configuration for platform nrf52dk, all our arm-based platforms use the debugging I/O library from os/lib/dbg-io. This commit changes the build system to include this module by default for all arm devices. Platform / CPU Makefiles will no longer need to request this MODULE explicitly. Configuration provided to allow exclusion where required, as is the case for nrf52dk when NRF52_USE_RTT is set to 1.
2018-10-04 15:49:59 +01:00
Simon Duquennoy
7c5977d9f7 tsch_init: check that a timeslot timing template is provided 2018-10-04 13:07:25 +02:00
Simon Duquennoy
3ace2b93f6 tsch_init: added missing return in case of failed initialization 2018-10-04 13:07:25 +02:00
Simon Duquennoy
22cbced037 TSCH: timeslot timing templates as const 2018-10-04 13:07:25 +02:00
Simon Duquennoy
cc0c70c1b3 TSCH: move 10ms and 15ms timeslot timings to separate files 2018-10-04 10:50:10 +02:00
Simon Duquennoy
b5e12154c4 cc1200: added option to separate filling the Tx FIFO from actual transmission 2018-10-04 10:50:10 +02:00
Simon Duquennoy
0ef1ee6df5 cc1200: make pending_packet work even when interrupt handler was not called 2018-10-04 10:50:10 +02:00
Simon Duquennoy
90264a3ba3 cc1200: read out any pending packet before turning off 2018-10-04 10:50:10 +02:00
Simon Duquennoy
f4c1ae0fdd cc1200: reset rf_flags in on() 2018-10-04 10:50:09 +02:00
Simon Duquennoy
c589875aee cc1200: implement poll mode 2018-10-04 10:50:09 +02:00
Simon Duquennoy
ce0f95ec50 cc1200 flags for TSCH 2018-10-04 10:50:09 +02:00
Simon Duquennoy
f79a19eaab cc2538-rf and cc1200: only include implementation of RADIO_CONST_TSCH_TIMING when TSCH is enabled 2018-10-04 10:50:09 +02:00
Simon Duquennoy
5497dc1e20 TSCH: timeslot timings as a structure, for flexible configuration 2018-10-04 10:50:09 +02:00
Simon Duquennoy
ddde2aebdc jn516x example: compute sample_count on current timeslot timings rather than defaults 2018-10-04 10:50:09 +02:00
Simon Duquennoy
665f21592f TSCH: compute TSCH_SLOTS_PER_SECOND based on current timeslot timings rather than default 2018-10-04 10:50:09 +02:00
Simon Duquennoy
572c6725d3 TSCH: configurable byte air time and PHY overhead 2018-10-04 10:50:09 +02:00
Simon Duquennoy
64ce406ae4 Zoul: TSCH configuration assuming not only cc2538 2018-10-04 10:50:01 +02:00
Simon Duquennoy
ddeeb63ddd CC1200 set_channel: compute channel within bounds from any input channel 2018-10-03 13:31:33 +02:00
Simon Duquennoy
e18660367b CC1200: disable debug by default 2018-10-03 13:29:47 +02:00
Simon Duquennoy
a09fb40bf7 CC1200: add SFD timestamping and RSSI features 2018-10-03 13:28:50 +02:00
Simon Duquennoy
e6dec9ee4a TSCH: before associating on an EB, check that the Rx timestamp is sensible 2018-10-03 13:16:59 +02:00
Simon Duquennoy
17c2158229 TSCH: when scanning, set channel periodically regardless of previous channel 2018-10-03 13:16:19 +02:00
Simon Duquennoy
ace15d6499 TSCH: when receiving, bound packet duration with MaxTx from timing template 2018-10-03 13:01:21 +02:00
Simon Duquennoy
3ba1b43bd9 TSCH: define SYNC_IE_BOUND from timing in use rather than default 2018-10-03 12:59:52 +02:00
Simon Duquennoy
423412d99c TSCH: set max hopping sequence length to default hopping sequence 2018-10-03 12:47:10 +02:00
Simon Duquennoy
4583fff094 Radio API: added values/objects for TSCH constants 2018-10-03 12:42:06 +02:00
Simon Duquennoy
cad068d5e8 sixtop example: remove obsolete z1 configuration 2018-10-03 12:27:01 +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
George Oikonomou
710019877e
Merge pull request #684 from kkrentz/cc2538-pr
Improvements to cc2538-rf.c
2018-10-02 17:23:20 +01:00
kkrentz
11a2fb14b1 radio.h: Added RADIO_PARAM_SHR_SEARCH 2018-10-02 07:56:23 -07: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
George Oikonomou
b4db7aa4e7 GPIO HAL example fix 64-bit support 2018-09-30 20:21:17 +01:00
George Oikonomou
3e9d79ca8c Fix pin to mask conversion macro for 64-bit masks 2018-09-30 13:25:44 +01:00
Simon Duquennoy
a01413369d RPL-Lite: fix DAG lifetime, was 60h, now 8h 2018-09-29 09:26:29 +02:00