Commit Graph

66 Commits

Author SHA1 Message Date
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
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
572c6725d3 TSCH: configurable byte air time and PHY overhead 2018-10-04 10:50:09 +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
Simon Duquennoy
5ef74e9cfc
Merge branch 'develop' into contrib/rtimer-config 2018-05-11 21:10:33 +02:00
Simon Duquennoy
4da9202d22 Add lrwrap to login and native BR 2018-04-26 03:00:04 -07:00
Simon Duquennoy
ff7c3ee042 Make rtimer 32-bit by default 2018-04-20 05:20:37 -07:00
Simon Duquennoy
2359cdb7c0 jn516x: use IEEE802154_DEFAULT_CHANNEL 2018-04-13 08:06:02 -07: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
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
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
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
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
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
1c993bf354 Remove unnecessary MODULES from platform Makefiles 2018-02-26 00:07:20 +00:00
Niclas Finne
309745780e Removed the remaining Contiki Interface declaration macros (CCIF/CLIF) 2018-02-21 01:14:10 +01:00
Simon Duquennoy
fa765e67b0 JN516x: fix SLIP configuration 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
George Oikonomou
6dfc53dfb3 Implement master interrupt manipulation (JN516x) 2017-12-09 17:08:31 +00:00
George Oikonomou
4bdc2f7513 Harmonise platform configuration files (jn516x) 2017-12-08 16:59:02 +00:00
Simon Duquennoy
e795517750
Merge branch 'develop' into contrib/stack-guard 2017-12-05 15:16:54 +01:00
George Oikonomou
d4680c656a Create doxygen groups for platforms
* Cooja
* Native
* jn516x
* nrf52dk
2017-12-03 00:05:12 +00:00
Atis Elsts
f9516eae73 Add stack check library and example 2017-12-01 13:35:06 +00:00
George Oikonomou
065bad280d Adjust return types of JN516x-specific slip implementation 2017-11-24 12:31:21 +00:00
Simon Duquennoy
0952960b91 Removing multi-threading support 2017-11-11 15:28:11 +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
a05a6b59d0 Remove all unnecessary BAUD2UBR macro definitions 2017-10-31 21:56:38 +00:00
George Oikonomou
aa07073acd Change all slip_arch_init implementations 2017-10-31 21:56:38 +00:00
Niclas Finne
e6ba2664b8 energest: removed include of energest from contiki.h to avoid circular dependency 2017-10-31 22:18:17 +01:00
Simon Duquennoy
56d1f795ff Minor fixes to platform initialization 2017-10-29 23:18:38 +00:00
George Oikonomou
463230d739 Use the logging module (JN516x) 2017-10-29 23:18:38 +00:00
George Oikonomou
d7e78df728 Remove leftover call 2017-10-29 23:18:37 +00:00
George Oikonomou
36a22c5d33 Rename function to better match what it actually does 2017-10-29 23:18:36 +00:00
George Oikonomou
c41cd3b75e Provide boot sequence hooks (jn516x) 2017-10-29 23:18:36 +00:00
Simon Duquennoy
882be25428 Merge pull request #94 from simonduq/pr/misc
Miscellaneous fixes
2017-10-14 09:24:45 +02:00
Niclas Finne
7317316942 energest: removed energest type ENERGEST_TYPE_IRQ 2017-10-12 23:57:38 +02:00
Simon Duquennoy
663d1f121d Autoconfigure Orchestra whenever the module is included 2017-10-12 18:32:19 +02:00
Simon Duquennoy
a1f74d6568 Shell: start automatically whenver the module is included 2017-10-12 17:08:42 +02:00
George Oikonomou
f6dcadbc4a Include "contiki.h" to pull in platform/example configuration 2017-10-08 17:03:05 +01:00