Richard Weickelt
81b782636a
Initial port
2018-08-31 11:04:37 +02:00
Simon Duquennoy
4dbba4df9a
Platform native: overprovision routes, neighbor table and queues
2018-06-05 14:08:02 +02:00
George Oikonomou
11f563dc98
Harmonize login, serialdump and serialvew across all platforms
2018-05-26 13:55:03 +01:00
George Oikonomou
37f14efad5
Harmonize building of tools from within an example dir
2018-05-26 13:55:02 +01:00
Simon Duquennoy
1f5d109f33
Remove left-over instances of WITH_TINYOS_AUTO_IDS
2018-05-25 12:49:35 -07:00
Simon Duquennoy
3889ffe750
Simplify and homogenize node-id across all platforms
2018-05-18 14:08:24 -07:00
George Oikonomou
90b5d2a149
Differentiate flash part across sensortag/cc2650 versions
...
Older CC2650 sensortags have a Winbond W25X40CL 4MBit SPI flash. Newer ones have a Macronix MX25R8035F 8MBit part. The parts have almost identical instruction sets and are both supported by our generic external flash driver. The key difference between the two parts is that they have different Manufacturer and Device IDs.
This commit allows us to switch between the two: We default to the new revision, and allow users to build for the older one by defining `SENSORTAG_CC2650_REV_1_2_0` to 1.
Current tags are version 1.5.1. Older tags are version 1.2.0. To identify older tags, look for "Rev: 1.2" printed on the PCB. They should also have a sticker that reads "Rev: 1.3.0" and "HW Rev 1.2.0".
2018-05-18 15:06:58 +01:00
Simon Duquennoy
9de0f76b83
Merge remote-tracking branch 'origin/develop' into contrib/sicslowpan
2018-05-13 06:41:12 -07:00
Simon Duquennoy
5ef74e9cfc
Merge branch 'develop' into contrib/rtimer-config
2018-05-11 21:10:33 +02:00
Antonio Iannopollo
0b9f03f442
fixed dht22 driver
2018-05-09 19:29:24 -07:00
Antonio Iannopollo
51a4960fa8
fixed dht22 driver and example
2018-05-09 19:25:08 -07:00
George Oikonomou
2ba54edaec
Tidy-up renode for OS X and enable for all CC2538DK
2018-04-28 15:02:05 +01:00
Simon Duquennoy
4da9202d22
Add lrwrap to login and native BR
2018-04-26 03:00:04 -07:00
Simon Duquennoy
f9a1f958e1
Merge remote-tracking branch 'origin/release-4.1' into develop
2018-04-20 08:37:14 -07:00
Simon Duquennoy
f339747218
rtimer: homogenize clock size configuration
2018-04-20 05:20:37 -07:00
Simon Duquennoy
ff7c3ee042
Make rtimer 32-bit by default
2018-04-20 05:20:37 -07:00
Simon Duquennoy
f933767b4c
Remove now unnecessary pintouts of 802.15.4 panid and channel
2018-04-13 08:06:03 -07:00
Simon Duquennoy
df90e62b88
Cooja: remove leftover RF_CHANNEL
2018-04-13 08:06:03 -07:00
Simon Duquennoy
d128898420
cc2420: use IEEE802154_DEFAULT_CHANNEL
2018-04-13 08:06:02 -07:00
Simon Duquennoy
2359cdb7c0
jn516x: use IEEE802154_DEFAULT_CHANNEL
2018-04-13 08:06:02 -07:00
Simon Duquennoy
8bc3a7388e
cc26xx and cc13xx: use IEEE802154_DEFAULT_CHANNEL
2018-04-13 08:06:02 -07:00
Simon Duquennoy
0b2ea0d810
cc2538-rf: use IEEE802154_DEFAULT_CHANNEL
2018-04-13 02:27:17 -07:00
Simon Duquennoy
6fa97286b3
Merge branch 'release-4.1' into contrib/native/button-hal
2018-04-11 20:41:46 +02:00
George Oikonomou
f254d22bf3
Delete trailing whitespaces (various leds-arch.c files)
2018-04-07 14:49:40 +01:00
George Oikonomou
f6bd7ba47a
Fix code style
2018-04-07 14:49:40 +01:00
Simon Duquennoy
826624c8dd
Added ping with 6lowpan fragmentation test
2018-04-06 12:47:09 -07:00
George Oikonomou
a94b868a4f
Tidy-up AROPTS for cpu native
2018-04-06 13:45:56 +01:00
Simon Duquennoy
9476148191
Cooja motes: larger log buffer
2018-04-06 04:04:55 -07:00
Simon Duquennoy
005a45009b
Merge branch 'develop' into contrib/build/cleanup
2018-04-05 08:37:55 +02:00
Xenofon (Fontas) Fafoutis
629803c5e5
ext-flash driver moved to arch/dev/
2018-04-04 11:30:32 +01:00
Xenofon (Fontas) Fafoutis
46d1dd1293
update xmem
2018-04-04 11:30:32 +01:00
George Oikonomou
8ea998847b
Rename old msp430/sky SPI driver
2018-04-04 11:30:32 +01:00
George Oikonomou
ee4e287fc5
Rename old SPI API to -legacy.h
2018-04-04 11:30:32 +01:00
George Oikonomou
03c63bdd0f
Remove spi-hal-arch.h (CC13xx/CC26xx)
2018-04-04 11:30:32 +01:00
George Oikonomou
f6f0c15421
Rename macro and move to HAL
2018-04-04 11:30:32 +01:00
George Oikonomou
0695810044
Rename old CC2538 SPI driver
2018-04-04 11:30:32 +01:00
Xenofon (Fontas) Fafoutis
5e79f0a922
spi hal implementation for sensortag
2018-04-04 11:30:32 +01:00
xenofon (Fontas) Fafoutis
e7d7ee3962
generic spi driver for cc26xx-cc13xx
...
launchpad and ext-flash implementation
2018-04-04 11:30:32 +01:00
Simon Duquennoy
a6d8c9cf3f
Merge branch 'develop' into contrib/build/cleanup
2018-04-04 10:02:57 +02:00
George Oikonomou
e3ac8c449c
Adjust build system
...
* Remove lib from CONTIKI_TARGET_DIRS since we no longer have anything in this dir
* Build dbg.c (has been added)
* Do not build sprintf.c (has been removed)
* Add os/lib/dbg-io to MODULES
2018-04-03 22:49:41 +01:00
George Oikonomou
16f61bc769
Delete platform-specific implementation of stdio functions
2018-04-03 22:49:41 +01:00
George Oikonomou
f0315cf5c7
Implement dbg_putchar() and dbg_send_bytes()
...
Those two functions are needed so we can use os/lib/dbg-io for this platform. The old putchar() in slip.c is no longer needed.
2018-04-03 22:49:41 +01:00
George Oikonomou
76bcfcb8cc
Move slip.c to top-level platform code dir
2018-04-03 22:49:41 +01:00
Simon Duquennoy
4b11f8c99e
Merge branch 'develop' into contrib/build/cleanup
2018-04-03 14:50:17 +02:00
Simon Duquennoy
1884fe9b0e
Merge branch 'develop' into contrib/jn516x/leftover-br
2018-04-03 14:22:57 +02:00
George Oikonomou
7872da3c9b
Transition platform native to the new LED HAL
2018-04-02 22:14:55 +01:00
George Oikonomou
6857d2fe20
Implement the GPIO HAL for platform native
2018-04-02 22:14:55 +01:00
George Oikonomou
b8a43e8bf9
Implement the button HAL for platform native
2018-04-02 22:14:55 +01:00
Simon Duquennoy
fb93316f21
Merge branch 'develop' into contrib/native/remove-typedefs
2018-04-02 20:33:24 +02:00
George Oikonomou
1d59a258ed
Remove obsolete typedefs
2018-04-01 14:34:52 +01:00
George Oikonomou
c7e36a3d55
Change clean target to be more explicit
...
Previously, the clean target would delete a number of file extensions, many of which currently unknown to our build system (old platforms?). This commit changes the target so that it only cleans what we know we are building. Platforms / CPUs can append to the target with platform-specific build artifacts.
2018-03-30 21:22:59 +01:00
George Oikonomou
16d8c5b4f9
Use a variable for the Contiki-NG archive file
...
Prevents having to hard-code the filename in multiple cpu/platform makefiles and allows us to easily rename it across the board in the future
2018-03-30 21:22:59 +01:00
George Oikonomou
87dfa61fd6
Use dbg.c from the CPU dir and delete platform file
2018-03-30 21:06:52 +01:00
George Oikonomou
ce540a8bca
Harmonise filename pattern for the .map file
...
All map files are now called example-platform.map (e.g. hello-world-native.map).
2018-03-30 20:24:59 +01:00
George Oikonomou
1bf1f37b24
Build dbg-io as a module
2018-03-30 15:23:50 +01:00
George Oikonomou
6d592945a0
Use a single common dbg.h
2018-03-30 15:23:50 +01:00
George Oikonomou
ed3e2c850e
Remove depedency to a debug-uart.h
2018-03-30 15:23:50 +01:00
George Oikonomou
8fb2b2074e
Delete jn516x-specific BR example
...
#132 deleted other jn516x-specific BR examples, but this one was missed. This pull deletes the leftover example.
This is the only place where we are still using the obsolete `SLIP_BRIDGE_CONF_NO_PUTCHAR` define (all others were removed by #135 ). This pull removes that too.
2018-03-30 15:21:52 +01:00
George Oikonomou
4ff15877e5
Merge branch 'develop' into contrib/cooja-main
2018-03-24 16:08:14 +00:00
George Oikonomou
59df70fcd2
Fix launchpad LED colour mappings
2018-03-23 22:23:00 +00:00
Simon Duquennoy
59ebacd384
Platform Cooja: port to common main
2018-03-23 12:23:27 -07:00
Joakim Eriksson
0c31f4dd95
Merge branch 'develop' into wip/button-hal
2018-03-21 07:19:51 +01:00
George Oikonomou
dc8aa6aeca
Fix link layer address retrieval from flash
2018-03-18 13:10:21 +00:00
George Oikonomou
155e2c9b0a
Support both old and new button API in common examples
...
This change is temporary so travis can pass until all platforms have been migrated to the new API
2018-03-14 09:34:47 +00:00
George Oikonomou
a5ea8d44e9
Use the new button HAL: Zoul
2018-03-14 09:34:46 +00:00
George Oikonomou
d22ea1df99
Use the new button HAL: OpenMote-CC2538
2018-03-14 09:34:46 +00:00
George Oikonomou
974a7549e9
Use the new button HAL: CC2538DK
2018-03-14 09:34:46 +00:00
George Oikonomou
1dcb8426d6
Use the button HAL for all CC13xx/CC26xx devices
2018-03-14 09:34:45 +00:00
George Oikonomou
8ac1cf92ce
Implement the new button HAL: Sensortag
2018-03-14 09:34:45 +00:00
George Oikonomou
f199ff0a5f
Implement the new button HAL: Launchpad
2018-03-14 09:34:45 +00:00
George Oikonomou
3f4fef4625
Implement the new button HAL: SmartRF06 + CC13xxEM/CC26xxEM
2018-03-14 09:34:44 +00:00
George Oikonomou
3014e8cf07
Start the sensors process conditionally
...
(Not all boards have sensors)
2018-03-14 09:34:44 +00:00
Simon Duquennoy
76773c7b13
Merge branch 'develop' into bugfix/cc13xx/prop-mode-pan-id
2018-03-14 09:20:38 +01:00
Jaroslav Kysela
1575222e4e
JN516x SDK 4170 build 1745 does not have vMMAC_SetChannel() function
...
- use only vMMAC_SetChannelAndPower()
- remove redundant call in init()
2018-03-13 20:10:52 +01:00
George Oikonomou
7859b3c189
Only print RADIO_PARAM_PAN_ID if the radio supports it
2018-03-12 15:26:43 +00:00
George Oikonomou
8624fa1601
Initialise variables explicitly
2018-03-12 15:17:47 +00:00
Simon Duquennoy
7fe4d913b7
Merge branch 'develop' into contrib/build-all
2018-03-12 14:22:34 +01:00
George Oikonomou
c250cf93b7
Merge branch 'develop' into feature/ipv6_over_ble
2018-03-12 08:52:25 +00:00
dongdongbh
4b173ce01f
add cfs support for srf06-cc26xx
2018-03-11 02:07:46 +08:00
Atis Elsts
a0707dfcb6
Orion: do not auto-enable IP64 as this causes compilation issues on many examples. Orion examples enable IP64 explicitly
2018-03-09 16:29:07 +00:00
Simon Duquennoy
b0b71f6624
Do not attempt to compile SLIP for nrf52dk
2018-03-09 16:29:06 +00:00
Atis Elsts
449d7dd5e7
Add CLEAN targets for sky and native platforms
2018-03-09 16:29:06 +00:00
George Oikonomou
c8debbac22
Add RGB LED driver
2018-03-01 15:29:30 +00:00
George Oikonomou
0dfd39adcf
Adjust data types for legacy LED API implementations
2018-03-01 15:29:30 +00:00
George Oikonomou
d52bfa0f22
Enable the legacy LED API for respective platforms
2018-03-01 15:29:30 +00:00
George Oikonomou
b1537374fb
Migrate to the new LED HAL (CC26xx/CC13xx)
2018-03-01 15:29:30 +00:00
George Oikonomou
ab710a8ed0
Implement the new LED HAL (Sensortag CC26xx/CC13xx)
2018-03-01 15:29:29 +00:00
George Oikonomou
877c758aaf
Implement the new LED HAL (Launchpad CC26xx/CC13xx)
2018-03-01 15:29:29 +00:00
George Oikonomou
f932e51128
Implement the new LED HAL (SmartRF06 CC26xx/CC13xx)
2018-03-01 15:29:29 +00:00
George Oikonomou
ce4caf2c7c
Implement and use the new LED HAL (Zoul)
2018-03-01 15:29:29 +00:00
George Oikonomou
e39472f7d0
Implement and use the new LED HAL (OpenMote)
2018-03-01 15:29:29 +00:00
George Oikonomou
f468fcd2a7
Implement and use the new LED HAL (CC2538DK)
2018-03-01 15:29:29 +00:00
George Oikonomou
6004084785
Fix Zoul build when RTCC is enabled
2018-03-01 13:34:32 +00:00
Simon Duquennoy
635d8d78f7
Zoul platform.c: include stdlib.h
2018-03-01 13:34:32 +00:00
Simon Duquennoy
a2262786b1
Zoul platform.c: removing leftover PRINTF
2018-03-01 13:34:32 +00:00
Atis Elsts
02f26ffff5
Fix BOARDS string in srf06-cc26xx platform makefile to accurately reflect all valid values of the BOARD variable
2018-02-27 12:03:58 +00:00
George Oikonomou
1c993bf354
Remove unnecessary MODULES from platform Makefiles
2018-02-26 00:07:20 +00:00
George Oikonomou
cab38d9ea8
Use the GPIO HAL for Zoul sensor drivers
2018-02-25 23:15:56 +00:00
Simon Duquennoy
e30423f6cc
Merge branch 'develop' into contrib/gpio-hal
2018-02-25 18:17:32 +01:00
George Oikonomou
46cf366698
Merge branch 'develop' into contrib/PRI
2018-02-24 15:03:46 +00:00
George Oikonomou
b9a321d602
Add GPIO HAL example
2018-02-24 12:50:02 +00:00
George Oikonomou
df0659cd1a
Use the GPIO HAL (CC2538DK)
2018-02-24 12:50:02 +00:00
George Oikonomou
488a906018
Use the GPIO HAL (OpenMote CC2538)
2018-02-24 12:50:02 +00:00
George Oikonomou
749c4e5cd8
Use the GPIO HAL (Zoul)
2018-02-24 12:50:02 +00:00
George Oikonomou
f1d1932c5c
Adjust CC13xx/CC26xx drivers to use the GPIO HAL
2018-02-24 12:50:01 +00:00
George Oikonomou
5065bf0519
Merge branch 'develop' into contrib/native-conf-mac
2018-02-24 12:37:43 +00:00
Simon Duquennoy
884ba9805c
Added missing inclusions of inttypes.h
2018-02-23 10:58:46 -08:00
Simon Duquennoy
38caaeb9d1
Platform native: make MAC address configurable
2018-02-23 04:22:01 -08:00
Niclas Finne
309745780e
Removed the remaining Contiki Interface declaration macros (CCIF/CLIF)
2018-02-21 01:14:10 +01:00
George Oikonomou
fd72afbfcb
Allow Shell operaction for CC13xx/CC26xx
...
Fixes #187
2018-02-16 15:42:45 +00:00
Niclas Finne
21a1a2e220
Platform: native: initialize serial line
2018-01-26 23:19:15 +01:00
Simon Duquennoy
526aad9606
Disable TSCH HW frame filtering on platform sky
2018-01-12 09:20:14 -08:00
spoerk
604e846ff1
Merge branch 'develop' of github.com:contiki-ng/contiki-ng into feature/ipv6_over_ble
2018-01-03 15:27:42 +01:00
spoerk
2a49608af6
link layer problem fixed
2018-01-03 14:51:23 +01:00
Simon Duquennoy
fa765e67b0
JN516x: fix SLIP configuration
2017-12-22 05:21:39 -08:00
Simon Duquennoy
6de6e15ce7
Move RPL border router from example to os/services
2017-12-22 05:21:39 -08:00
Simon Duquennoy
84ea0971bc
Remove obsolete flag AUTOSTART_ENABLE, as well as .co and .ce files
2017-12-22 05:21:39 -08:00
Laurent Deru
511497b3b6
Make uip_stats_t int instead of short for native
2017-12-22 11:23:39 +01:00
Laurent Deru
acbe590b52
Don't override UIP_CONF_BYTE_ORDER in contiki-conf.h for native platform
2017-12-22 11:23:39 +01:00
Laurent Deru
d0ca150a38
Document new native platform defines
2017-12-22 11:23:04 +01:00
Laurent Deru
9fe252d107
Make stdin select callback configurable
2017-12-20 14:15:29 +01:00
Laurent Deru
ca16bf1bd2
Make select timeout user configurable for native platform
2017-12-20 14:15:29 +01:00
George Oikonomou
3bbcc6288f
Include board.h after configuration is fully known
2017-12-18 16:50:40 +00:00
spoerk
fd0f0ca4b6
Merge branch 'develop' of github.com:contiki-ng/contiki-ng into feature/ipv6_over_ble
2017-12-15 11:41:27 +01:00
spoerk
7a7c4e0015
added support for IPv6 over BLE communication
2017-12-15 11:20:44 +01:00
George Oikonomou
d780719530
Compile platform native with NULLNET
2017-12-13 09:40:02 +00:00
Laurent Deru
ccb705ed31
Use clock_gettime() instead of gettimeofday() to have a monotonic clock and use CLOCK_CONF_SECOND explicitly
2017-12-12 16:53:51 +01:00
George Oikonomou
6dfc53dfb3
Implement master interrupt manipulation (JN516x)
2017-12-09 17:08:31 +00:00
Joakim Eriksson
52e012d3c1
optimized flash usage due to fit sky
2017-12-09 10:22:19 +01:00
George Oikonomou
0a76ff8ee7
Harmonise platform configuration files (Sky)
2017-12-08 17:07:33 +00:00
George Oikonomou
df54d30a2a
Pull CPU-related constants from the CPU header (Sky)
2017-12-08 17:07:32 +00:00
George Oikonomou
aa016c3c29
Pull CPU-related configuration from the CPU header (Sky)
2017-12-08 17:07:32 +00:00
George Oikonomou
d7b426c105
Move user configuration to contiki-conf.h
2017-12-08 17:07:32 +00:00
George Oikonomou
fdb60ab22f
Move non-configuration macros to msp430def.h
2017-12-08 16:59:02 +00:00
George Oikonomou
4a129fefc6
Remove obsolete macro
2017-12-08 16:59:02 +00:00
George Oikonomou
abe583ed75
Harmonise platform configuration files (nrf52dk)
2017-12-08 16:59:02 +00:00
George Oikonomou
4bdc2f7513
Harmonise platform configuration files (jn516x)
2017-12-08 16:59:02 +00:00
George Oikonomou
da5d415bc1
Pull CPU-related configuration from the CPU header (Zoul)
2017-12-08 16:32:49 +00:00
George Oikonomou
458fbb1ee2
Pull CPU-related constants from the CPU header (Zoul)
2017-12-08 16:32:49 +00:00
George Oikonomou
369f58a60b
Pull CPU-related configuration from the CPU header (OpenMote)
2017-12-08 16:32:49 +00:00
George Oikonomou
91c437e631
Pull CPU-related constants from the CPU header (OpenMote)
2017-12-08 16:32:49 +00:00
George Oikonomou
88feb34ec7
Pull CPU-related configuration from the CPU header (CC2538DK)
2017-12-08 16:32:49 +00:00
George Oikonomou
03435d826e
Pull CPU-related constants from the CPU header (CC2538DK)
2017-12-08 16:32:49 +00:00
George Oikonomou
ba8f37bef4
Pull CPU-related constants from the CPU header (nrf52dk)
2017-12-08 16:32:49 +00:00
George Oikonomou
fb9c0beb37
Pull CPU-related configuration from the CPU header (CC13xx/CC26xx)
2017-12-06 16:00:46 +00:00
George Oikonomou
5c07cb02a8
Pull CPU-related constants from the CPU header (CC13xx/CC26xx)
2017-12-06 16:00:46 +00:00
Simon Duquennoy
e795517750
Merge branch 'develop' into contrib/stack-guard
2017-12-05 15:16:54 +01: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
e6915a25ee
Add missing copyright header
2017-12-03 00:14:08 +00:00
George Oikonomou
4324bce6b0
Re-structure OpenMote-CC2538 documentation
2017-12-03 00:05:12 +00:00