Roy Scheefhals
1058ea986a
Changed the parameter 'char * data' of process_start to the
...
type process_data_t. This was an artifact when the choice was
made to use the void * type for the data parameter in processes.
Changed parameter 'void * data' of process_post_synch to
process_data_t for consistency.
Checked all the uses of process_start() in contiki and fixed casts
of the data parameter.
2014-06-12 13:40:28 +02:00
Adam Dunkels
9ceb059c21
Merge pull request #611 from nfi/cc2x20-sfd-config
...
Corrected CC2x20 sfd config and startup message.
2014-06-11 23:17:05 +02:00
Adam Dunkels
d7e4443ab2
Remove the unmaintained iris platform
2014-06-11 19:52:19 +02:00
Nicolas Tsiftes
da8e9a3e8d
Merge pull request #655 from atiselsts/stm32_patches
...
Fix inconsistent usage of short/long integer type in mbxxx platform's configuration file.
2014-06-07 23:21:59 +02:00
Nicolas Tsiftes
350c83c947
Merge pull request #656 from atiselsts/native_platform_patches
...
Minor improvements for the native platform
2014-06-07 23:06:36 +02:00
George Oikonomou
ba9c2d40eb
Merge pull request #682 from g-oikonomou/watchdog-cc2538
...
Confine CC2538 WDT on/off conf inside the driver
2014-06-03 22:05:08 +01:00
George Oikonomou
25cd0788a6
Merge pull request #683 from g-oikonomou/sensinode-modules
...
Fix MODULES for the Sensinode platform
2014-06-03 22:03:42 +01:00
Adam Dunkels
64f65b4e45
Merge pull request #617 from nfi/extended-radio-api
...
Extended radio API with support for setting channel, pan id, addressing modes, etc
2014-06-03 21:32:53 +02:00
Nicolas Tsiftes
3650950460
Merge pull request #678 from simonduq/sky-disable-ndp
...
Disable IPv6 Neighbor Discovery Protocol by default on the sky platform
2014-06-02 10:52:07 +02:00
Rémy Léone
25c8b0835d
Closing doxygen groups
2014-05-30 11:01:20 +02:00
Lars Schmertmann
50481722a8
Enabled 2nd button on platform econotag
2014-05-23 11:50:12 +02:00
George Oikonomou
6e08841e5c
Fix MODULES for the Sensinode platform
2014-05-18 15:30:54 +02:00
George Oikonomou
807ee624e4
Confine CC2538 WDT on/off conf inside the driver
...
Instead of requiring all calls to `watchdog_start` to be
wrapped inside `#if WATCHDOG_CONF_ENABLE` guards, we control
things from within the WDT driver itself.
This commit also includes some minor documentation and
indentation cleanups
2014-05-18 14:12:16 +02:00
George Oikonomou
b864ec2b71
Merge pull request #661 from hexluthor/watchdog-enable
...
CC2538: Add WATCHDOG_CONF_ENABLE to optionally disable the watchdog timer
2014-05-18 14:11:49 +02:00
George Oikonomou
eabc244bff
Merge pull request #641 from hexluthor/backdoor-conf
...
CC2538: Add CONF parameters to select boot loader backdoor pin and logic level
2014-05-18 13:29:02 +02:00
George Oikonomou
026864d129
Merge pull request #665 from hexluthor/cc2538-flash-conf
...
CC2538: Add FLASH_CONF_ORIGIN and FLASH_CONF_SIZE config parameters.
2014-05-18 13:12:49 +02:00
Simon Duquennoy
6e53ab6eb0
Disable IPv6 Neighbor Discovery Protocol by default on the sky platform
2014-05-14 17:29:18 +02:00
Claes Jakobsson
9c08f28956
Added EEPROM support for Cooja with a rudimentary hexdump -C like viewer in the mote interface view
2014-05-08 22:35:58 +02:00
Ian Martin
2abaeaa8cc
CC2538: Add FLASH_CONF_ORIGIN and FLASH_CONF_SIZE config parameters.
2014-05-02 11:35:58 -04:00
Ian Martin
7081440eff
CC2538: Add WATCHDOG_CONF_ENABLE to optionally disable the watchdog timer.
2014-05-02 10:28:30 -04:00
George Oikonomou
08c884afa0
Improve the CC2538 extended RF API implementation
...
* Decouple 64-bit address from LINKADDR_SIZE
* get and set object from/to the start/end of the src/dest buffer
* We expect size == 8 (rather than size < 8) for both get_ and set_object. Error otherwise
* The RF no longer sets parameters by itself. We let the platform do this, using the extended API.
2014-04-23 12:20:16 +01:00
George Oikonomou
3183805ba4
Implement extended RF API for the CC2530 RF
2014-04-23 12:16:50 +01:00
Atis Elsts
7dcfe77fba
Fix inconsistent usage of short/long integer type in mbxxx platform's configuration file.
...
The type used to store rtimer ticks on this platform is 32-bit integer, but the macro uses 16-bit comparison.
As a result, the output of the RTIMER_CLOCK_LT(a,b) macro was incorrect when used for comparisons between time values with sufficiently large difference.
The code to repeat this problem on mbxxx platform:
rtimer_clock_t a = 6 * RTIMER_ARCH_SECOND;
rtimer_clock_t b = 0;
printf("%d\n", RTIMER_CLOCK_LT(a,b)); // expected output: "0", actual: "1"
2014-04-22 14:52:50 +02:00
Atis Elsts
9cbfede2b6
Explicitly initialize queue buffer in the main startup routine only if uIP is used.
...
The Rime stack already does this on its own, and there is no need to do it twice.
2014-04-22 14:40:04 +02:00
Atis Elsts
b9e15a5986
Make native platform's main loop less noisy.
2014-04-22 14:38:08 +02:00
Atis Elsts
6ea744421b
Initialize the rtimer component on native platform's startup.
...
Otherwise applications that use rtimers die when run as native code because of an unhandled signal.
2014-04-22 14:35:01 +02:00
Ian Martin
ee05810904
Changes suggested by @bthebaudeau.
2014-04-18 10:29:47 -04:00
George Oikonomou
49bf7cc241
Merge pull request #616 from hexluthor/listing
...
CC2538: Add a Makefile rule to generate a final assembly listing.
2014-04-17 22:13:52 +01:00
Benoît Thébaudeau
d93d129da6
cc2538: uart: Make it possible to use several UARTs simultaneously
...
This avoids the limitation of having a single UART available at runtime, without
duplicating code.
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
2014-04-17 18:53:44 +02:00
Ian Martin
2cf730a1c6
Un-indent preprocessor directives.
2014-04-17 10:39:00 -04:00
Ian Martin
23a3a7f004
Add a note about "make cc2538-demo.lst" to the platform README.
2014-04-16 10:47:01 -04:00
Ian Martin
16936d864c
Rename FLASH_CCA_CONF_BOOTLDR_BACKDOOR_PIN to FLASH_CCA_CONF_BOOTLDR_BACKDOOR_PORT_A_PIN.
2014-04-16 10:19:37 -04:00
Ian Martin
1a63c47cf9
CC2538: Add CONF parameters to select boot loader backdoor pin and logic level.
2014-04-15 17:36:55 -04:00
Brad Campbell
af27d2d252
[CC2538-SPI] Implement SPI_FLUSH, spi mode, !CS
...
Because the CC2538 has a multi-byte SPI RX FIFO, flushing the buffer
requires more than just a single read. This adds a loop that empties the
entire RX buffer on a FLUSH().
Different SPI chips needs different SPI settings. This commit adds a
function that allows chip drivers to configure the SPI peripheral before
using it.
The frame pin the driver was using as a chip select does not work as
most devices expect it to. It toggles after every byte, and most chips
interpret that as end of message. To make drivers more reliable, each
chip driver should setup a GPIO and assert it as needed.
2014-04-15 14:07:10 -04:00
George Oikonomou
33abe26ec8
Merge pull request #411 from ADVANSEE/cc2538-adc
...
cc2538: Add adc driver and example
2014-04-13 03:05:12 +01:00
George Oikonomou
22554e6d72
Merge pull request #596 from hexluthor/cc2538-uart-baudrate
...
cc2538: Support any UART baudrate.
2014-04-13 02:51:58 +01:00
Niclas Finne
fc6814a104
Added stub for extended radio API for seedeye
2014-04-03 13:38:31 +02:00
Niclas Finne
b8a23564a3
Added stub for extended radio API for Cooja
2014-04-03 13:38:29 +02:00
Niclas Finne
b13b5fc9ac
Fixed typo to correctly print the radio channel at startup
2014-03-28 11:54:12 +01:00
Ian Martin
336224633a
Eliminate UART_CONF_IBRD and UART_CONF_FBRD.
2014-03-22 10:26:03 -04:00
François Revol
726bdd699a
native: Add CTK to the module list
...
It is needed for apps compiled WITH_GUI.
2014-03-21 23:01:02 +01:00
Nicolas Tsiftes
b78eb96a54
Merge pull request #590 from g-oikonomou/native-rpl-module
...
Include the RPL module for the native platform
2014-03-18 12:32:56 +01:00
Oliver Schmidt
d1d6278f42
Added info on W5100 driver.
2014-03-15 16:56:08 +01:00
George Oikonomou
4704eeb919
Include the RPL module for the native platform
2014-03-09 03:29:43 +00:00
George Oikonomou
6dc9dfa6c2
Merge pull request #551 from JelmerT/feature-cc2538-bsl
...
CC2538 serial boot loader python script
2014-03-09 02:11:36 +00:00
Jelmer Tiete
34e48f4233
Added bootloader backdoor configuration for cc2538DK in contiki-conf.h and selector in startup-gcc.c. Updated Makefile.cc2538dk to support direct uploading. Also updated the platform readme to include the workflow with cc2538-bsl.
2014-03-07 15:44:08 +01:00
Brad Campbell
d14f0d5eed
CC2538: add secondary location to ieee address
...
The CC2538 currently has two addressing options: a hardcoded address set
at compile time or the address stored in primary address section of the
info page. This commit adds the option to choose the secondary location
of the ieee address from the info page, or any memory address.
To use, define `IEEE_ADDR_CONF_USE_SECONDARY_LOCATION` in `project-conf.h`
or similar.
For example:
#define IEEE_ADDR_CONF_USE_SECONDARY_LOCATION 1
2014-03-06 10:31:30 -05:00
Oliver Schmidt
a1cd642e6e
Merge pull request #554 from oliverschmidt/master
...
Fixed win32 broken by recent changes.
2014-02-02 12:10:57 -08:00
Oliver Schmidt
71c671b6cf
Fixed win32 broken by recent changes.
2014-02-02 20:19:47 +01:00
George Oikonomou
a63376f8be
Use -Os for CC2538 builds
...
As discussed in #503 , -Os was broken with one of the toolchains
recommended in the platform's README and for that reason we were
using -O2 by default.
This commit sets the default to -Os and updates the README to no
longer recommend the toolchain in question
2014-01-31 20:02:43 +00:00
Adam Dunkels
45265249fc
Changed the name of the rimeaddr module to linkaddr
2014-01-29 20:12:24 +01:00
Adam Dunkels
765e9acded
Merge pull request #499 from adamdunkels/bold/modularize-everything
...
A bold move: modularize everything
2014-01-29 08:17:10 -08:00
Ian Martin
f3cc607101
eval-adf7xxxmb4z: Use the nullrdc driver instead of sicslowmac.
2014-01-26 17:40:31 -05:00
Adam Dunkels
4f498e2eac
Updated the include paths to point to the new places
2014-01-26 23:20:47 +01:00
Adam Dunkels
2ec176891f
Added the necessary modules to make the eval-adf7xxxmb4z port compile
2014-01-26 23:20:47 +01:00
Adam Dunkels
824d2047da
Add the explicit list of modules, since we cannot do auto-dependency management of them
2014-01-26 23:20:47 +01:00
Adam Dunkels
fce84c178c
Removed unused rime-udp code
2014-01-26 23:20:45 +01:00
Adam Dunkels
8eace27f9b
Moved net/rime.h to net/rime/rime.h
2014-01-26 23:20:45 +01:00
Adam Dunkels
1be10f026a
Handle the CONTIKI_NO_NET case so that the ravenusbstick example builds
2014-01-26 23:20:42 +01:00
Adam Dunkels
6594873753
Updated the path to uip-debug.h
2014-01-26 23:20:41 +01:00
Adam Dunkels
4c2bd9f120
A set of default modules for the cc253x platform
2014-01-26 23:20:41 +01:00
Adam Dunkels
dee654cfe5
Put the cc253x custom makerules in its own customrules file
2014-01-26 23:20:41 +01:00
Adam Dunkels
7846eb2e2f
Split the cc2430 custom rules into its own file
2014-01-26 23:20:40 +01:00
Adam Dunkels
36a5aadc9e
Moved the 6502 custom rules into its own Makefile.customrules-6502 file
2014-01-26 23:20:40 +01:00
Fredrik Osterlind
cf32063c0b
introduced optional Makefile.customrules-$(TARGET), to contain custom platform make rules
2014-01-26 23:20:39 +01:00
Adam Dunkels
7a740b382f
Moved the individual MODULE definitions from the top-level Makefile.include into the individual platforms' Makefiles
2014-01-26 23:20:36 +01:00
Adam Dunkels
0fe08205e1
Moved the rimeaddr.[ch] code from the core/net/rime module to the core/net module, as it is used not only by rime code
2014-01-26 23:20:36 +01:00
Adam Dunkels
b02104e4c4
Add the sht11 device driver module to the z1 platform
2014-01-26 23:20:36 +01:00
Adam Dunkels
aaf0f83120
Add cxmac module to the sky platform
2014-01-26 23:20:35 +01:00
Adam Dunkels
9851ff85dd
Add a sensible set of modules for the sensinode platform
2014-01-26 23:20:35 +01:00
Adam Dunkels
b40f1210e6
Don't use the sicslowmac code, use nullrdc instead
2014-01-26 23:20:34 +01:00
Adam Dunkels
e556ecbc25
Don't use the sicslowmac code, use nullrdc instead
2014-01-26 23:20:34 +01:00
Adam Dunkels
d7013524f9
Add a sensible set of modules for the micaz platform
2014-01-26 23:20:34 +01:00
Adam Dunkels
ee5299fe6e
Add a sensible set of modules for the exp5438 platform
2014-01-26 23:20:33 +01:00
Adam Dunkels
51efdd952a
Define MODULES for the avr-raven and the avr-ravenusb platforms
2014-01-26 23:20:33 +01:00
Adam Dunkels
34d46fa533
Include driver modules
2014-01-26 23:20:32 +01:00
Adam Dunkels
25367fb08c
Moved the ds2411 driver into a dev/ds2411 module
2014-01-26 23:20:31 +01:00
Adam Dunkels
c9efe3c3c4
Moved the cc2520 driver into its own dev/cc2520 module
2014-01-26 23:20:31 +01:00
Adam Dunkels
4cfe6c4a5e
Moved the sht11 driver to its own module
2014-01-26 23:20:30 +01:00
Adam Dunkels
d91bab9104
Include a basic set of modules
2014-01-26 23:20:28 +01:00
Adam Dunkels
0b805e4763
Moved the cc2420 driver into a separate dev/cc2420 module
2014-01-26 23:20:27 +01:00
Adam Dunkels
c80615913f
Include the core/net and core/net/ip modules in the core/net/ipv4 module
2014-01-26 23:20:25 +01:00
Adam Dunkels
3a3e65a78d
Use the MODULES mechanism for the native platform
2014-01-26 23:20:24 +01:00
Adam Dunkels
5f3fe7f7c7
Updated include paths for the moved files under net/
2014-01-26 23:20:23 +01:00
Ian Martin
ed4edab461
eval-adf7xxxmb4z: Corrections to the platform README, update URLs to point to the mainline Contiki.
2014-01-24 12:49:16 -05:00
Oliver Schmidt
0258c413cc
Merge pull request #539 from oliverschmidt/master
...
Added more flexibility to webbrowser -> wget forwarding.
2014-01-24 08:08:08 -08:00
Oliver Schmidt
1f4613383f
Added more flexibility to webbrowser -> wget forwarding.
...
- Up to now the CTK program handler was necessary to start wget and forward the URL. Now alternatively the webbrowser uses the underlying OS to exec wget.
- Up to now windowed CTK was necessary to display the acknowledge dialog. Now alternatively the webbrowser displays the acknowledge text and buttons right in the webpage area.
- For now the targets 'win32' and 'c64' make use of the new capabilities.
2014-01-24 16:09:30 +01:00
Oliver Schmidt
8baf2d7b42
Merge pull request #536 from oliverschmidt/master
...
Copied 'contiki_arg[c|v]' from 'native' to the other desktop targets.
2014-01-24 03:41:42 -08:00
Oliver Schmidt
fc983e2e79
Copied 'contiki_arg[c|v]' from 'native' to the other desktop targets.
...
- On the retro targets support for 'contiki_arg[c|v]' is optional as accesing arg[c|v] is rather expensive.
2014-01-24 11:56:40 +01:00
Ian Martin
a897426410
Increase the default baudrate to 38400 bps for RL78.
2014-01-22 18:42:18 -05:00
Oliver Schmidt
510678bed0
Added mouse support for the Atari.
2014-01-20 22:51:40 +01:00
Oliver Schmidt
a24865de72
Add somewhat more support to use different mouse drivers.
...
- The default mouse driver is now always named 'contiki.mou'.
- Alternative mouse drivers are present in the disk images.
- Users can select their mouse driver by renaming the files.
2014-01-17 23:45:59 +01:00
Oliver Schmidt
fb20cf5ee6
Added UIP_CONF_LLH_LEN.
2014-01-17 22:07:03 +01:00
Ian Martin
85b439e33a
Add eval-adf7xxxmb4z platform makefile.
2014-01-10 15:03:38 -05:00
Ian Martin
174d4dd80c
Adds support for ADF7023 sub-GHz radio from Analog Devices and RL78 series MCU from Renesas.
...
This example platform for this port is the EVAL-ADF7XXXMB4Z w/ radio
daughter cards:
http://www.analog.com/en/evaluation/eval-adf7023/eb.html
See the platform readme for usage and platform information:
https://github.com/contiki-os/contiki/tree/master/platform/eval-adf7xxxmb4z/readme.md
All files provided by Analog Devices for this port are released under
the same license as Contiki and copyright Analog Devices Inc. per
agreement between Redwire Consulting, LLC and Analog Devices Inc. (SOW 08122013)
2014-01-04 18:56:51 -05:00
Oliver Schmidt
63725eff36
Merge remote-tracking branch 'upstream/master'
2013-12-12 20:46:43 +01:00
Oliver Schmidt
3b2173e01f
Have CBM DOS filetype of imported files match the one used by cc65.
...
CFS_WRITE implies O_TRUNC which is implemented on CBM DOS by deleting an
exsisting file. Hoewever this succeeds only if the CBM DOS filetype matches.
We need a working O_TRUNC in order to be able to overwrite the contiki.cfg
configuration file.
Note: Now it has be clarified why overwriting the configuration file started to
fail the CBM PFS (platform file system) can be activated for the recently added
ethconfig program.
2013-12-12 18:57:40 +01:00
Benoît Thébaudeau
dbba311270
cc2538: Add adc driver and example
...
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
2013-12-06 22:07:45 +01:00
George Oikonomou
f2c552bb55
Merge pull request #478 from ADVANSEE/cc2538-startup-cleanup
...
cc2538: Startup cleanup
2013-12-05 11:07:19 -08:00
George Oikonomou
63298843b3
Merge pull request #491 from g-oikonomou/remove-lpp-from-readme
...
Remove LPP discussion from the cc2538 README
2013-12-05 11:07:03 -08:00