Commit Graph

217 Commits

Author SHA1 Message Date
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
095a89d937 Adjust CC2538 CPU drivers to use the GPIO HAL 2018-02-24 12:50:02 +00:00
George Oikonomou
10c2bcde15 Build the GPIO HAL for the CC2538 2018-02-24 12:50:02 +00:00
George Oikonomou
ab7d7cd9f4 Implement the GPIO HAL for the CC2538 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
421d95bc00 Build the GPIO HAL for CC13xx/CC26xx 2018-02-24 12:50:01 +00:00
George Oikonomou
d88c3d0c01 Implement the GPIO HAL for CC13xx/CC26xx 2018-02-24 12:50:01 +00: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
George Oikonomou
5f6eee66ff Correctly check against minumum RX frame length 2018-02-16 15:04:02 +00:00
MartenBE
e2d5f737db Deleted duplicate const specifiers 2018-02-02 15:26:16 +01: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
Simon Duquennoy
fa765e67b0 JN516x: fix SLIP configuration 2017-12-22 05:21:39 -08:00
Simon Duquennoy
7f1dd819ef RPL BR: remove platform-specific code for sky. Add putchar with SLIP support to arch, like in other platforms 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
81d1b1bd80 PROJECTDIR now turned into modules via MODULES_REL 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
George Oikonomou
38987352c4 Change variables to static 2017-12-17 22:24:48 +00:00
George Oikonomou
b5fa28e2d4 Link without using an archive file
For reasons discussed long ago and that have to do with how ld handles weak symbols, it was decided that it was preferable to link using an explicit list of object files, instead of adding object files to an archive first and then linking using this archive. This was applied for the CC2538, but not for CC13xx/CC26xx.

This pull applies this link logic to all CM3s. For this to work with the Contiki-NG build system, we need `.SECONDEXPANSION:`, so this pull moves that to the common CM3 Makefile.
2017-12-17 21:31:39 +00:00
George Oikonomou
14ad14e7d3 Remove nrf52832.a on make clean
When building for nrf52dk, `make clean` does not remove `nrf52832.a`. This commit fixes this.
2017-12-17 01:20:38 +00: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
82bc3363d1 Use Cortex-M mutexes (CC13xx/CC26xx) 2017-12-09 17:09:58 +00:00
George Oikonomou
48c10d3e30 Use Cortex-M mutexes (CC2538) 2017-12-09 17:09:58 +00:00
George Oikonomou
62a79c09fc Add mutex implementation for Cortex-M 2017-12-09 17:09:58 +00:00
George Oikonomou
bdddf41ca9 Use Cortex-M memory barriers (CC13xx/CC26xx) 2017-12-09 17:09:57 +00:00
George Oikonomou
755a6b88df Use Cortex-M memory barriers (CC2538) 2017-12-09 17:09:57 +00:00
George Oikonomou
35bd4eb1d8 Provide memory barrier for all Cortex-M CPUs 2017-12-09 17:09:57 +00:00
George Oikonomou
690bad7d5e Allow different CPUs to specify how they hook into CMSIS 2017-12-09 17:09:57 +00:00
George Oikonomou
103df5c95e Provide memory barrier (msp430) 2017-12-09 17:09:56 +00:00
George Oikonomou
4094297d3e Implement master interrupt manipulation (nrf52832) 2017-12-09 17:08:32 +00:00
George Oikonomou
6dfc53dfb3 Implement master interrupt manipulation (JN516x) 2017-12-09 17:08:31 +00:00
George Oikonomou
9396b6da6e Implement master interrupt manipulation (MSP430) 2017-12-09 17:08:31 +00:00
George Oikonomou
98664e99ee Implement master interrupt manipulation (CC2538) 2017-12-09 17:08:31 +00:00
George Oikonomou
f1774cc1e0 Implement master interrupt manipulation (CC13xx/CC26xx) 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