Commit Graph

610 Commits

Author SHA1 Message Date
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
George Oikonomou
eb03db9fa4
Merge branch 'develop' into contrib/msp430-platforms 2019-01-24 11:26:57 +00:00
firmwareguru
8203abb2e7 fixes contiki-ng/contiki-ng#768 simplelink opt3001 wrong value 2019-01-14 19:35:12 -07:00
Atis Elsts
f35a7a2f36 add back z1 platform 2019-01-14 14:55:34 +00:00
Zhitao He
d0a0a2a568 busy wait maximum 72 us (typically 36 us) for taking a measurement from the on-chip temperature sensor 2019-01-10 18:56:27 +01:00
George Oikonomou
5ac181741f
Merge branch 'develop' into fix-nrf-zero-temp-read 2019-01-10 03:40:10 +02:00
Atis Elsts
0b31b090aa Add AES-128 driver for CC26x0/CC13x0 2019-01-09 16:54:03 +02:00
Zhitao He
cd1b23ff38 fix temperature sensor reading in nrf52dk platform, which was stuck at zero 2019-01-09 14:02:01 +01:00
Toshio Ito
e7a86cf16b cooja: add int-master implementation.
It's copied from arch/cpu/native/int-master.c, which is just a no-op
stub.

See #790
2018-12-06 11:30:54 +09:00
George Oikonomou
944d8da255 Fix the nrf52dk .jlink and .flash make targets
Fixes #782
2018-12-01 20:52:47 +00:00
Edvard Pettersen
dff3e760b8 Fix correct LOG_INFO in platform.c
When logging info about channel and PANID a newline is added for each
logging statement. It should only add a newline for the first LOG_INFO.
2018-11-29 16:42:45 +01:00
Edvard Pettersen
081a8cd516 Fixed wrong PIN configuration for UART0_RX on LaunchPads
All LaunchPads drives the UART0_RX pin up, but is configured in the
Board file to be pull-down. This alignes the UART0_RX pin configuration
with the development board HW.
2018-11-26 12:04:08 +01: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
kkrentz
468a14b528 moved initialization of queuebuf to contikimac-main.c 2018-10-27 07:13:36 -07: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
Carlos Pérez Penichet
feb1513b46 Unmodulated carrier transmission for cc2420
Modified the cc2420 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-24 15:26:40 +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
Yasuyuki Tanaka
7a6cbff5f6 Rename srf06/{cc26xx,cc13xx} to srf06/{cc26x0,cc13x0} 2018-10-23 13:09:02 -07:00
Yasuyuki Tanaka
61fba4dcde Rename srf06-cc26xx to cc26x0-cc13x0 2018-10-23 13:04:32 -07:00
George Oikonomou
1dc0249836 Adjust the jn516x build system to the new build output dir structure 2018-10-23 17:54:35 +01:00
George Oikonomou
14eeeccebc Always create example.$(TARGET) under build/ and then copy to . 2018-10-23 17:47:32 +01:00
George Oikonomou
44d3f78b9c Adjust the Cooja build system to the new build output dir structure 2018-10-23 17:47:31 +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
74a6853d35
Merge branch 'develop' into contrib/tools/zolertia-motelist 2018-10-19 11:28:36 +01: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
Simon Duquennoy
2f9b60215e Removing tcpip and udpip data strcutures, unsafe in cases with IPv6 extension headers 2018-10-17 11:22:05 +02:00
George Oikonomou
95cebf10bc Change platform zoul to use the new motelist 2018-10-16 22:03:59 +01:00
George Oikonomou
5ec9063314 Add board search strings for Zolertia devices 2018-10-16 22:03:59 +01:00
George Oikonomou
c4deaa70cd
Merge branch 'develop' into contrib/cortex-link 2018-10-16 17:33:26 +01:00