Commit Graph

359 Commits

Author SHA1 Message Date
Simon Duquennoy 36d9d4a846 Radio API: document TSCH-related radio constants 2019-02-24 16:05:21 +01:00
Simon Duquennoy 6debe1b21b Added explicit types for TSCH timeslot timings in usec and ticks 2019-02-24 15:48:56 +01:00
firmwareguru 28d7a6e1ba Fix simplelink gpio hysteresis bitmask 2019-02-04 19:59:03 -07:00
Edvard Pettersen ff93ef11db Added individual configuration of front-end mode for each RF path 2019-01-28 16:26:21 +01:00
Edvard Pettersen 257a3794a1 Fixed RF front-end configuration and RF switching for CC13xx
Two issues caused the sensitivity on CC13xx devices to be dramatically
worse than CC26xx devices:
* Wrong front-end mode configuration
* Faulty/outdated RF switching logic

Both issues are inherently board-specific. Therefore, a generic
configuration was aligned across all boards which allows a specific
board to configure a correct RF front-end mode. In addition, the RF
switching logic was updated to latest and greatest.
2019-01-28 16:22:42 +01:00
Edvard Pettersen c177034d39 Fixed BLE advertisement on SimpleLink
A couple of issues was found:
* Wrong CPE patches in RF settings
* Wrong whitening init value for the CMD_BLE5_ADV_NC command
* BLE MAC address was not copied to RAM before set in the bleAdvPar
  construct.
* BLE advertisements were not transmitted in intervals as specified by
  BLE spec.
2019-01-28 16:22:41 +01:00
Atis Elsts 0b31b090aa Add AES-128 driver for CC26x0/CC13x0 2019-01-09 16:54:03 +02:00
George Oikonomou 944d8da255 Fix the nrf52dk .jlink and .flash make targets
Fixes #782
2018-12-01 20:52:47 +00:00
Simon Duquennoy f1bbc42121 Build system: enable compiling with arch directory at arbitrary paths 2018-11-23 10:41:40 +01:00
Olav Frengstad 5e57f7de83 Allow configurable linker script
Make it possible to overwrite `LDSCRIPT` from other Makefiles
2018-11-14 22:35:27 +05:30
firmwareguru 504be07f4f fixes contiki-ng/contiki-ng#756 simplelink target .bin files too big. 2018-11-11 20:58:12 -07:00
Simon Duquennoy 4ea5d41d52 Merge branch release-4.2 back into develop 2018-11-09 17:04:31 +01:00
George Oikonomou cf9be4e7f8
Merge branch 'develop' into cc2420_carrier 2018-11-05 21:45:27 +00:00
Simon Duquennoy bda7c329ba
Merge branch 'develop' into contrib/csma-llsec 2018-11-02 01:13:14 +01:00
Carlos Pérez Penichet 2d2d6b3ad6 Fixed code style issues 2018-10-29 11:15:40 +01:00
Simon Duquennoy a2b7b996e4
Merge branch 'develop' into contrib/uip-cleanup 2018-10-29 10:18:10 +01:00
Carlos Pérez Penichet a906f03a25 cc2420 return to last state when disabling carrier
Made cc2420 follow the same logic as cc2538 when
disabling the unmodulated carrier. Now they both
return to the state they were in before the carrier
was enabled.
2018-10-26 16:28:20 +02:00
Carlos Pérez Penichet c6770112af Fixed code style and removed forgotten pritf's 2018-10-25 11:49:20 +02:00
Carlos Pérez Penichet 79a4fe33a6 Unmodulated carrier transmission for cc2538
Modified the cc2538 driver to enable the radio test
mode to emit unmodulated carriers (tones).
A carrier can be enabled using the normal radio driver
API:
NETSTACK_CONF_RADIO.set_value(
RADIO_PARAM_POWER_MODE,
RADIO_POWER_MODE_CARRIER_ON);

Once enabled, the carrier can be disabled like this:
NETSTACK_CONF_RADIO.set_value(
RADIO_PARAM_POWER_MODE,
RADIO_POWER_MODE_CARRIER_OFF);
2018-10-25 11:24:44 +02:00
Yasuyuki Tanaka 2af3665b04 simplelink: correct a comment in Makefile.cc13xx-cc26xx 2018-10-23 13:32:55 -07:00
Yasuyuki Tanaka 0bcdd39cc6 Rename 'arch/cpu/cc26xx-cc13xx' to 'arch/cpu/cc26x0-cc13x0' 2018-10-23 13:32:03 -07:00
George Oikonomou 14eeeccebc Always create example.$(TARGET) under build/ and then copy to . 2018-10-23 17:47:32 +01:00
George Oikonomou 6f2f4b4b23 Fix the .upload target 2018-10-23 17:47:31 +01:00
George Oikonomou f8ea68c3eb Change build output dir structure and filenames 2018-10-23 17:47:30 +01:00
George Oikonomou ab5d5ba33c Extend build verbosity control
Apply verbosity control for mkdir, cp, srec_cat, objcopy, objdump
2018-10-23 17:47:30 +01:00
George Oikonomou 1841aadf6a Reduce makefile code duplication 2018-10-23 16:23:14 +01:00
Joakim Eriksson c42fae82da added uipbuf attributes for llsec level and key and added payloadlen in mac 2018-10-20 22:25:55 +02:00
George Oikonomou aedf05c2a7
Merge branch 'develop' into bugfix/cc26xx-rf-interrupt 2018-10-18 19:32:19 +01:00
Simon Duquennoy ff825daaea Merge remote-tracking branch 'origin/develop' into wip/uip6-cleanup 2018-10-18 20:28:00 +02:00
Simon Duquennoy ea32ab0f12 Removed UIP_LLH_LEN 2018-10-18 20:26:12 +02:00
Atis Elsts 093caff1d3 CC13x0/CC26x0 building: also fail with descriptive error message when cc13xxware/cc26xxware exists, but is empty 2018-10-18 18:16:54 +01:00
Atis Elsts 1cfe9df73e CC26xx RF: in polling mode, disable the CPE0 radio interrupt completely 2018-10-18 18:09:59 +01:00
George Oikonomou 8014524dd1
Merge branch 'develop' into contrib/cc13xx-tsch 2018-10-18 15:36:50 +01:00
Simon Duquennoy 59852d33f2 Use global uip.h buffer definitions in a number of other modules 2018-10-17 16:20:34 +02:00
George Oikonomou c4deaa70cd
Merge branch 'develop' into contrib/cortex-link 2018-10-16 17:33:26 +01:00
Simon Duquennoy f9134b1198 Add mising TSCH constants for platforms openmote-cc2528 and cc2538dk 2018-10-16 09:23:54 +02:00
Atis Elsts 7f860318de
Merge branch 'develop' into contrib/cortex-link 2018-10-15 11:33:51 +01:00
George Oikonomou 386e528cc5 Harmonise link rule for all cortex CPUs 2018-10-13 19:46:48 +01:00
Atis Elsts 4b7266247e Add optimization flags for native builds 2018-10-13 18:10:34 +01:00
Atis Elsts 5d04147406 CC26xx/CC13xx: Add support for TSCH API for the prop-mode.c radio driver, and unify the radio timer handling between the IEEE and prop modes 2018-10-13 15:38:18 +01:00
Atis Elsts 87efd3fb45 TI lib: add ti_lib_rfc_hw_int_enable/disable/clear functions 2018-10-13 14:07:10 +01:00
George Oikonomou d4fd286b34
Merge branch 'develop' into contrib/spi-sel-desel 2018-10-12 16:24:52 +01:00
George Oikonomou bf0e80aae3 Always provide -DCPU_FAMILY_xxx 2018-10-12 13:47:01 +01:00
George Oikonomou 4a0c9d8894 Change define to reflect current chip family name 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 23ab33cc39 Remove ti-lib-rom.h 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
Simon Duquennoy 1627aa18a4 Add missing return statement 2018-10-11 20:18:51 +02:00
George Oikonomou 00291a5fa0
Merge branch 'develop' into contrib/cc1200-tsch 2018-10-10 22:19:23 +01: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