Commit Graph

379 Commits

Author SHA1 Message Date
Simon Duquennoy 11346c5bda RTIMER_BUSYWAIT_UNTIL_ABS: move cooja-specific implem to cooja platform directory 2019-03-04 09:17:17 +01:00
Simon Duquennoy 36d9d4a846 Radio API: document TSCH-related radio constants 2019-02-24 16:05:21 +01:00
Simon Duquennoy 2611d979fa
Merge branch 'develop' into contrib/default-prefix-as-variable 2019-02-18 15:22:53 +01: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
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
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
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
George Oikonomou 4243836e85
Merge branch 'develop' into contrib/default-prefix-as-variable 2018-11-25 02:43:45 +00:00
Simon Duquennoy f1bbc42121 Build system: enable compiling with arch directory at arbitrary paths 2018-11-23 10:41:40 +01:00
George Oikonomou 15f6e1d7a3 Change the way of accessing the default v6 prefix
This commit changes the method of accessing the default v6 prefix. Instead of always using `UIP_DS6_DEFAULT_PREFIX`, we store the default prefix in a variable. We subsequently retrieve the prefix by calling `uip_ds6_default_prefix()`.

`uip_ds6_init()` will set this variable to the value of `UIP_DS6_DEFAULT_PREFIX`, but only if the startup code has not set a different default prefix before `uip_ds6_init()` gets called.

This approach has the following benefits:

* It allows us to change the default prefix at run time.
* It allows the startup code to set a prefix different than the one specified by `UIP_DS6_DEFAULT_PREFIX`, which can be useful if the default prefix comes from a different source (e.g. the command line for native, or a configuration stored on a node's flash)
* In many places the current code assumes that the prefix contains 6 bytes of zeros (e.g. `FDxx::/64`). Changing to a different prefix (e.g. `FD00:ABCD::`) would need extensive code changes. This change here makes it easy to use a prefix of any length.
2018-11-11 18:30:54 +00:00
George Oikonomou 057dbebb24 Remove redundant code: prefix is always NULL 2018-11-11 18:24:33 +00:00
Simon Duquennoy 4ea5d41d52 Merge branch release-4.2 back into develop 2018-11-09 17:04:31 +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
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 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
Simon Duquennoy ea32ab0f12 Removed UIP_LLH_LEN 2018-10-18 20:26:12 +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
Simon Duquennoy f9134b1198 Add mising TSCH constants for platforms openmote-cc2528 and cc2538dk 2018-10-16 09:23:54 +02:00
George Oikonomou 3cc4d2d2e0
Merge branch 'develop' into bugfix/simplelink/board 2018-10-12 14:53:08 +01:00
George Oikonomou 8ea3e9fb77 Improve code style 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 8e990819a8 Remove all instances of ti_lib_rom_ macros 2018-10-12 13:47:00 +01:00
Simon Duquennoy 5cecd5f9c4
Merge branch 'develop' into bugfix/simplelink/board 2018-10-12 14:16:23 +02:00
Simon Duquennoy b80d113253 Add a common set of portable RTIMER_BUSY_WAIT functions 2018-10-12 09:08:03 +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
Simon Duquennoy fac787231d Added TSCH_CONF_ARCH_HDR_PATH for platform-specific TSCH includes 2018-10-10 16:52:33 +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 cc0c70c1b3 TSCH: move 10ms and 15ms timeslot timings to separate files 2018-10-04 10:50:10 +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
Atis Elsts ad577cf77f Add TSCH stats 2018-09-27 16:00:36 +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