Commit Graph

359 Commits

Author SHA1 Message Date
George Oikonomou fdb4d8f24a Use the CM4 common build instrastructure for nrf52832 2017-12-03 15:04:11 +00:00
George Oikonomou 238962d528 Use the CM3 common Makefile to build CC13xx/CC26xx-based platforms 2017-12-03 15:04:11 +00:00
George Oikonomou 64c310bf2a Use the CM3 common Makefile to build CC2538-based platforms 2017-12-03 15:04:11 +00:00
George Oikonomou e458240200 Change asm() to __asm()
This is required in order to compile with -std=c99
2017-12-03 15:04:10 +00:00
George Oikonomou 1e18f090ac Add Makefile for all CM3 CPUs 2017-12-03 15:04:10 +00:00
George Oikonomou 92c572bf76 Add Makefile for all CM4 CPUs 2017-12-03 15:04:10 +00:00
George Oikonomou 6333e3b8f7 Move CMSIS arm/cortex-m and add Makefile 2017-12-03 15:04:00 +00:00
George Oikonomou 9aa9a05b93 Add Makefile for all Arm CPUs 2017-12-03 15:03:37 +00:00
George Oikonomou 0870ade055 Restructure docs for the nrf52832 2017-12-03 00:14:08 +00:00
George Oikonomou bb18bd4a48 Restructure docs for the CC13xx/CC26xx CPUs 2017-12-03 00:05:12 +00:00
George Oikonomou 618ca50fe7 Restructure docs for the CC2538 CPU 2017-12-03 00:05:12 +00:00
George Oikonomou f25318b60d Create doxygen groups for CPUs
* CC2538
* CC13xx-CC26xx
* nrf52832
2017-12-03 00:05:11 +00:00
George Oikonomou c8ecd201f5 Tidy-up CMSIS documentation
Define the group within the CMSIS dir and rename a doxygen group that was not displaying correctly in the built docs
2017-12-02 23:30:48 +00:00
George Oikonomou 1b87b86f2e Create doxygen group for ARM CPUs 2017-12-02 23:30:47 +00:00
George Oikonomou e84eb8247b Remove doxygen groups for obsolete CPUs and platforms 2017-12-02 23:30:47 +00:00
Joakim Eriksson 8cefc3ea39 added some missing NRF52 scripts for flashing and fixed baudrate to be 115200 2017-12-01 23:34:16 +01:00
Atis Elsts f9516eae73 Add stack check library and example 2017-12-01 13:35:06 +00:00
George Oikonomou cbecd8c122 Add CC13xx/CC26xx CMSIS support 2017-11-27 11:19:31 +00:00
George Oikonomou 4d92c63194 Fix MODULES for the CC2538
This commit fixes two bugs related to the usage of MODULES for CC2538-based platforms:

* newlib is no longer under `lib/newlib` but under `os/lib/newlib`.
* There is no such thing as `sys` under `arm/common`, so this module is removed.
2017-11-26 22:08:25 +00:00
alexstanoev 9bbc9202a4 Add JTAG interface configuration in contiki-conf.h for CCxx platforms
This adds a new toggle to `contiki-conf.h` which controls access to the
JTAG debug interface on CC26xx/CC13xx platforms.
2017-11-26 18:13:03 +00:00
George Oikonomou 390a4849df Don't disable the debug interface by default
This commit updates both CCxxwares to latest version. In this latest version, we revert two older commits that disable the debug interface by default in `ccfg.c` in the two respective submodules.
2017-11-26 16:50:58 +00:00
Xenofon (Fontas) Fafoutis b415d57a99 enhanced BLE support for cc26xx-cc13xx 2017-11-25 16:53:23 +00:00
Atis Elsts f43e114a24 cc26xx ieee-mode.c: limit the time spend in waiting for transmissions to finish 2017-11-23 15:51:26 +00:00
Simon Duquennoy faf526b441
Merge branch 'develop' into contrib/remove-mt 2017-11-17 19:40:06 +01:00
Atis Elsts 02c065db69 add deep sleep tracking for CC26xx 2017-11-15 12:17:53 +00:00
Atis Elsts 7b26ead9de add deep sleep tracking for CC2538 2017-11-15 12:17:44 +00:00
Simon Duquennoy 0952960b91 Removing multi-threading support 2017-11-11 15:28:11 +01:00
Niclas Finne 5c6117e698 Platform native: Avoid trying to use the tun when the tun is not available.
This allows a native platform application to run without network.
2017-11-02 01:32:51 +01:00
Simon Duquennoy 1275c4cb9e
Merge pull request #139 from nfi/contrib/energest-deep-lpm
New energest type for deep sleep plus configurable type for Energest time source
2017-10-31 23:24:12 +01:00
George Oikonomou aa07073acd Change all slip_arch_init implementations 2017-10-31 21:56:38 +00:00
George Oikonomou 6d0f43f291 Remove stub instances of uart1.h
Some platforms provide this header file because some examples used to assume its presence. Now that the examples no longer make this assumption, those stub headers are no longer required.
2017-10-31 21:56:38 +00:00
Niclas Finne 1c4622bad6 energest: Added new energest type ENERGEST_TYPE_DEEP_LPM to support
energy estimations of both sleep and deep sleep CPU modes.

Added configurable type ENERGEST_TIME_T to re-add support for clocks with
wrapping time as energest time source.
2017-10-31 22:17:30 +01:00
Simon Duquennoy 5c1ad6e394 Use logging module for tun6-net 2017-10-31 16:15:51 +01:00
George Oikonomou f15b11b564 Change default logging level to NONE 2017-10-29 23:18:38 +00:00
George Oikonomou fec382602b Use the logging module (CC2538 SoC) 2017-10-29 23:18:37 +00:00
George Oikonomou 827acf4770 Implement common early-stage init for all CC2538-based platforms 2017-10-29 23:18:35 +00:00
Niclas Finne 21f2c22da4 Updated make rules for MSPSim as submodule to Cooja 2017-10-18 20:40:13 +02:00
Niclas Finne 18b5f6d667 energest: made energest more configurable
* energest time defaults to rtimer but can be configured via
  ENERGEST_CONF_CURRENT_TIME and ENERGEST_CONF_SECOND.

* Additional energest types can be added by platform and application
  using ENERGEST_CONF_PLATFORM_ADDITIONS and ENERGEST_CONF_ADDITIONS.

* Energest times are now 64 bit and thereby non-wrapping in most systems.

* Removed unused energest types for serial and sensors.
2017-10-13 00:17:30 +02:00
Niclas Finne fafe4bb1f3 energest: replaced some energest on/off with ENERGEST_SWITCH() 2017-10-12 23:59:11 +02:00
Niclas Finne 7317316942 energest: removed energest type ENERGEST_TYPE_IRQ 2017-10-12 23:57:38 +02:00
George Oikonomou 75ed5a03a6 Build CC2538 USB functionality from within our own CPU dir 2017-10-10 21:04:28 +02:00
George Oikonomou bf4dd68be3 Remove cpu/cc253x
This was used by platform CC2530DK which has been removed.
2017-10-10 21:04:26 +02:00
George Oikonomou 8050864226 Move USB sourcefiles to the CC2538 CPU dir
Previously, the CC2538 port would compile USB-related files from their original location under the CC2531 CPU dir. We are now removing the latter, but we need to keep those files.
2017-10-10 21:04:23 +02:00
Simon Duquennoy 9acb4c895a tun6-net warning message 2017-10-08 15:01:36 +02:00
Simon Duquennoy fb0de6dd7a Various fixes to netstack config 2017-10-08 14:47:34 +02:00
Joakim Eriksson db344197d4 added warning on native when not running sudo / not able to allocate tun 2017-10-08 09:55:49 +02:00
Joakim Eriksson 5d87cd1b5f moved the MAKE_NET code in makefile include so that platform makefiles are before decisions 2017-10-08 00:46:57 +02:00
Joakim Eriksson 1143d6f5aa addressed some of the suggestions on the PR - naming and netstack MAC 2017-10-08 00:44:02 +02:00
Joakim Eriksson 8cf65ed01a changed NETSTACK configuration on network layer 2017-10-08 00:44:02 +02:00
Joakim Eriksson 1b2b043f24 fixed nullnet and its examples 2017-10-08 00:44:02 +02:00
Joakim Eriksson 3091a9010a added tun6 interface for native - removed old codebase for tap/tun/wpcap 2017-10-08 00:44:02 +02:00
Simon Duquennoy 14779f29f8 Rework Doxygen modules 2017-09-29 22:18:48 +02:00
Simon Duquennoy 543408db68 Re-organzie ip stack implementation 2017-09-22 17:09:54 +02:00
Simon Duquennoy 0aa44c3c22 Homogenize NET layer config with MAC 2017-09-22 14:34:20 +02:00
Simon Duquennoy 0f92c6ebfd Include contiki.h instead of contiki-conf.h so as to ensure consistent inclusion of contiki-default-conf.h 2017-09-08 14:20:59 +02:00
Niclas Finne 2c86194ef8 Renamed core to os 2017-09-01 15:29:00 +02:00
766f0766e6 Removed platform Galileo 2017-08-31 15:58:56 +02:00
Simon Duquennoy 9a0087faf3 Simplify configuration through more suitable defaults, and removed unused features. Cleanup many configuration files. 2017-07-06 10:01:55 +02:00
Nicolas Tsiftes 9bb51087bf Renamed the drivers directory to arch to reflect that this is the main place for architecture-dependent functionality. 2017-06-28 16:20:43 +02:00