Commit Graph

332 Commits

Author SHA1 Message Date
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
aedf05c2a7
Merge branch 'develop' into bugfix/cc26xx-rf-interrupt 2018-10-18 19:32:19 +01: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
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
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
22cbced037 TSCH: timeslot timing templates as const 2018-10-04 13:07:25 +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
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
4583fff094 Radio API: added values/objects for TSCH constants 2018-10-03 12:42:06 +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
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
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
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
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