Nicolas Tsiftes
69c76c9f2f
Merge pull request #872 from Bocci83/master
...
Seedeye platform: add the explicit list of modules
2014-11-28 19:21:52 +01:00
Nicolas Tsiftes
9b90c378e8
Merge pull request #812 from kkrentz/packetbuf-holds-broadcast
...
packetbuf_holds_broadcast()
2014-11-28 19:15:19 +01:00
kkrentz
7b63217a32
ContikiMAC: Default to contikimac_framer when using Rime over ContikiMAC
2014-11-25 04:56:09 -08:00
Stefano
a5550fa083
Seedeye platform: add the explicit list of modules
2014-11-21 14:36:23 +01:00
Antonio Lignan
e8c49dd29e
Remove leading zeros from node id
2014-11-20 14:48:28 +01:00
Harald Pichler
a86f137cf5
add module llsec
2014-11-19 15:10:10 +01:00
Harald Pichler
5f18fc6955
set all colors to the same pin PE5
2014-11-19 13:54:35 +01:00
Harald Pichler
42d3b38c9c
optriac sensors use Arduino API
2014-11-19 13:54:28 +01:00
Harald Pichler
f7e987cbeb
change port manipulation to ardino commands and lets change the pin at runtime possible
2014-11-19 13:54:22 +01:00
Ralf Schlatterbeck
1a1aaa883e
Turn off JTAG in adc_init
2014-11-19 13:54:13 +01:00
Ralf Schlatterbeck
53cf5ab6cf
Fix A0-A5 ADC constants, use in example sketch
2014-11-19 13:53:59 +01:00
Ralf Schlatterbeck
fbe6ae6a60
Fix off-by-one error in digitalPinToTimer
2014-11-19 13:53:53 +01:00
Ralf Schlatterbeck
abdf6f8c6b
Refactor A/D conversion in adc.c
...
Now the necessary settings are in adc.h. Refactored to allow repeated
ADC reads without reinitialization. Arduino allows setting
analogReference, this is now also implemented.
ADC is now initialized to sane values in apps/arduino/arduino-process.c
dev/arduino/arduino-compat.h now has all hardware independent settings
for arduino (some moved from platform/osd-merkur/dev/hw-arduino.h).
turnOffPWM re-implemented with hw_timer, removed from wiring_digital.c
ADC-specific arduino stuff moved to arduino-compat.h
Arduinos wiring_analog no longer necessary.
arduino-sketch example now reads analog inputs 1 and 5 using analogRead.
2014-11-19 13:53:32 +01:00
Ralf Schlatterbeck
c46d6afa39
Make Arduino timer stuff work on Contiki
...
New discovery: Contiki also uses timer 0. With almost the same interface
as Arduino. So we now completely get rid of wiring.c (only the main
file, the other wiring_xxx stay) and implement Arduino timer, delay, etc
in terms of the corresponding Contiki routines. Verified that now delay
works as expected. The LED in examples/osd/arduino-sketch blinks!
Before this, the arduino_init routine in wiring.c destroyed the timer-0
initialization of contiki, making both, contiki timer implementation
*and* contiki timer implementation fail if the arduino_init routine was
called. Now both work.
Squashed with following bug-fix commit.
2014-11-19 13:50:58 +01:00
Ralf Schlatterbeck
b6be226e69
Add Arduino compatibility layer
...
We can now directly compile arduino sketches (.pde) files.
Arduino compatible analogWrite works now.
But there is still a long way to go, serial I/O and timer stuff (delay,
millis etc) currently don't work (not tested but I don't expect this to
work).
It can be used in an arduino sketch or in a normal contiki program.
We get a PWM frequency of 490.2 Hz (a period of 2.040 ms), that's
Arduino compatible. If you need different frequencies see native timer
usage in examples/osd/pwm-example
In a contiki program you have to call arduino_pwm_timer_init to
initialize the timer before pwm works. The arduino sketch wrapper
already does this.
For running a sketch, see examples/osd/arduino-sketch
2014-11-19 13:48:05 +01:00
Harald Pichler
5077010fc0
add i2c driver from Ingo
2014-11-19 13:46:58 +01:00
Harald Pichler
16fa63ebac
bugfix read analog
2014-11-19 13:46:14 +01:00
Harald Pichler
4461dca8f2
set 0xABCD default panid
2014-11-19 13:46:07 +01:00
Ralf Schlatterbeck
4ceffb090d
Make HW timer for contiki rtimer configurable
...
... and configure osd platform to use timer 5. With the new
configuration we can use timer 3 for generating hardware PWM.
2014-11-19 13:44:55 +01:00
Harald Pichler
38dbf611e6
add Arduino pin definition and commands
2014-11-19 13:42:57 +01:00
Harald Pichler
7c0cd36a77
bugfix define panid
2014-11-19 13:42:47 +01:00
Ralf Schlatterbeck
56f6f87c94
Allow changing bootloader_get_mac address
...
Current default in the Makefile is the *new* bootloader address.
But for backward compatibility we've modified the run*.sh files
to use the old address. The run*.sh also now explain how to change
the default.
2014-11-19 13:42:35 +01:00
Harald Pichler
1efbe0736a
change resources to simple and make climate2 default
2014-11-19 13:42:13 +01:00
Harald Pichler
d90e0d622d
get s/button ->show button status 0/1
2014-11-19 13:42:05 +01:00
Harald Pichler
affe81cc6d
bugfix includes and names
2014-11-19 13:40:29 +01:00
Harald Pichler
a16849120f
adapt new names and api
2014-11-19 13:40:09 +01:00
Harald Pichler
964164b157
remove t4 driver at the moment, config problem
2014-11-19 13:39:11 +01:00
Marcus Priesch
630bd8e9e4
Factored to support configurable amount of pwm's, fixes
2014-11-19 13:38:58 +01:00
Harald Pichler
11b13a7a7e
remove link status and bugfix params.c
2014-11-19 13:37:41 +01:00
Harald Pichler
9906e9736c
temp and hum sensors values xxxx -> xx.xx
2014-11-19 13:37:21 +01:00
Harald Pichler
1b04a24022
config panid over defines
2014-11-19 13:37:06 +01:00
Harald Pichler
8b323633cd
define new tria pins, configurable type ligt or shutter or plug
2014-11-19 13:36:58 +01:00
Harald Pichler
2408af0b93
remove xmac config
2014-11-19 13:36:35 +01:00
Harald Pichler
ab16ebd4ea
bugfix nbr name xmac
2014-11-19 13:35:04 +01:00
Harald Pichler
171c1290c3
update boarder router to new rpl tables
2014-11-19 13:34:47 +01:00
Harald Pichler
dd917c3260
bugfix server client demo
2014-11-19 13:34:37 +01:00
Harald Pichler
e2edd006d4
initial upload
2014-11-19 13:34:27 +01:00
Harald Pichler
837f70770a
cleanup plattform defines, disable energest, radiostatistics
2014-11-19 13:34:20 +01:00
Harald Pichler
34d64b4eb0
bugfix blockmode, 8 Hz dutycyle as standard
2014-11-19 13:34:07 +01:00
Harald Pichler
1093989aef
bugfix CS cast to uint8_t
2014-11-19 13:33:59 +01:00
Harald Pichler
29c7297591
bugfix RH03 sensor
2014-11-19 13:33:50 +01:00
Harald Pichler
45ede69308
add dht22 and RHT03 support
2014-11-19 13:33:40 +01:00
Harald Pichler
8f85f7fb0a
bugfix new dresden module 32khz
2014-11-19 13:33:31 +01:00
Harald Pichler
cead1c7ce0
use batmon in battery_sensor
2014-11-19 13:32:41 +01:00
Harald Pichler
ae732f4636
initial upload
2014-11-19 13:32:31 +01:00
Harald Pichler
db823713eb
bugfix packet loss
...
Conflicts:
platform/osd-merkur/contiki-main.c
2014-11-19 13:31:33 +01:00
Harald Pichler
48fff35bd9
update for new contiki fetch
2014-11-19 13:22:20 +01:00
Harald Pichler
e9c033688b
bugfix
2014-11-19 13:21:52 +01:00
Harald Pichler
1fc136d379
add BOOTLOADER_GET_MAC
...
Conflicts:
platform/osd-merkur/params.h
2014-11-19 13:19:44 +01:00
Harald Pichler
b1e1ef1ffd
periodic prints configurable
2014-11-19 13:14:20 +01:00
Harald Pichler
88ae1828f9
remove debug code
2014-11-19 13:12:43 +01:00
Harald Pichler
245d801862
add merkurboard coap client demo
2014-11-19 12:14:24 +01:00
Marcus Priesch
42c28e0bf7
timer4 servo pwm
2014-11-19 12:11:19 +01:00
Marcus Priesch
277f63d76a
timer4 servo pwm
2014-11-19 12:10:09 +01:00
Harald Pichler
54114b0943
many bugfixes, add cputemp
2014-11-19 12:07:31 +01:00
Harald Pichler
e645833a99
add light-actor
2014-11-19 12:06:54 +01:00
Harald Pichler
8c08364cad
add servo example
2014-11-19 12:06:45 +01:00
Harald Pichler
81e6734626
add climate example
2014-11-19 12:04:53 +01:00
Harald Pichler
715cfa3a75
add platform osd-merkur
2014-11-19 12:04:38 +01:00
Nicolas Tsiftes
866bb99944
Merge pull request #860 from simonduq/frame802154-align
...
frame802154_t: make sure dest_addr and src_addr are aligned
2014-11-18 08:59:30 +01:00
kkrentz
fb00a217f5
packetbuf: Use packetbuf_holds_broadcast() all-over
2014-11-13 09:58:08 -08:00
Enrico Joerns
b0206e2f58
[doc] avr-raven: Fix placement of description for ravenserial group
...
Note: The raven-lcd-interface and raven-ipso modules in atmega128rfa1
seem to be needles for this platform and might be there only because of
copy&paste from the raven platform. Should be removed in a later patch.
2014-11-10 23:53:34 +01:00
Enrico Joerns
846fd567d4
[doc] avr-atmega128rfa1: add to parent platform group
2014-11-10 23:53:34 +01:00
Enrico Joerns
d4cf5ef5a1
[doc] Added minimal doxygen anchor for each platform currently available in Contiki
...
Already existing label names and titles were retained
2014-11-10 23:53:34 +01:00
Enrico Joerns
0288f867ce
[platform/native] Add to doxygen tree
2014-11-10 23:53:32 +01:00
Enrico Joerns
9dd7f1d29a
[doc] added faulty esb and msp430 references
2014-11-10 23:53:32 +01:00
Enrico Joerns
0b8769e576
[doc] Various fixes for doxygen grouping etc.
2014-11-10 23:53:32 +01:00
Simon Duquennoy
6b7017452b
frame802154: move inclusion of linkaddr.h from .h to .c file
2014-11-10 15:43:32 +01:00
Fredrik Österlind
0a2804fd69
Merge pull request #846 from ejoerns/pull-req/cooja-platform
...
Cooja platform fixes
2014-11-05 15:21:18 +01:00
Enrico Joerns
0d12bcffcb
[cooja-platform] Fixes for slip-bridge compatibility
...
* Added dev/uart1.h header file to cooja platform
* Added slip arch stub
* Suppress examples putchar definition as cooja platform provides its own
Note that the uart1.h file should only be an intermediate solution.
A generic contiki-wide definition for uart handling is required as each
platform defines its own varying set of uart functions.
2014-11-04 00:14:06 +01:00
Enrico Joerns
5a4c2e0d1f
[cooja-platform] Add cast to linkaddr_t to avoid warning
2014-11-04 00:09:45 +01:00
Enrico Joerns
f8445ba1bd
[cooja-platform] Remove unused variable 'shortaddr'
...
This variable was set but never used in the code
2014-11-04 00:09:45 +01:00
Enrico Joerns
2bc1e08f19
[cooja-platform] Include eeprom.h to avoid implicit declaration warning
2014-11-04 00:09:45 +01:00
Antonio Lignan
ef6c351d0c
Add function to change I2C baudrate and push relevant configuration values to platform config
2014-10-20 14:23:36 +02:00
Nicolas Tsiftes
0d39ee96ad
Merge pull request #820 from alignan/serialnum_as_nodeid
...
Use the Z1 product ID as MAC/Node ID if no value is found in XMEM
2014-10-20 11:38:11 +02:00
Nicolas Tsiftes
27cde1ff81
Merge pull request #824 from alignan/fix_warnings
...
Warning fixes
2014-10-20 11:16:36 +02:00
Antonio Lignan
cceb97059c
Use the Z1 product ID as MAC/Node ID if no value is found in the XMEM
2014-10-20 10:36:49 +02:00
Antonio Lignan
c836fbfbd9
Fixes warnings, bad code and code style
2014-10-20 10:28:00 +02:00
Moritz 'Morty' Strübe
c0783e2841
sky: Initialize energest as early as possible
...
If energest is initialized too late, the radio is not accounted
until the first switch. This is a problem when the radio is always
listening.
2014-10-09 09:42:56 +02:00
Mariano Alvira
e803a654b4
Merge pull request #684 from SmallLars/2nd-button
...
Enabled 2nd button on platform econotag
2014-10-08 14:05:24 -05:00
Adam Dunkels
d891d11324
Merge pull request #557 from kkrentz/llsec-integration
...
Integration of Link Layer Security
2014-10-08 15:45:46 +02:00
Antonio Lignan
5bbb0cabbc
Added battery capability to Z1 platform
2014-10-08 11:53:09 +02:00
Antonio Lignan
343a3d3f7b
Added missing radio capability define to Z1 platform config
2014-09-24 11:42:55 +02:00
Weichuan Yan
7b6439bd6f
atmega128rfa1: Fix the default build error
...
Fixing from http://sourceforge.net/p/contiki/mailman/message/32494852/
Signed-off-by: Weichuan Yan <yan.weichuan@gmail.com>
2014-09-18 08:53:32 +08:00
Atis Elsts
0e9c051485
Fix time accounting on TI EXP5438 MSP430x5438a experimenters board
2014-08-21 18:10:53 +02:00
Nicolas Tsiftes
35b6032c64
Merge pull request #745 from PaulCorbalan/patch-1
...
Add PLATFORM_HAS_RADIO in Sky Platform
2014-08-18 15:08:37 +02:00
kkrentz
94d2b519e4
aducrf101mkxz: added llsec module
2014-08-05 09:15:40 -07:00
kkrentz
2cf7d98cad
ContikiMAC: Create and parse ContikiMAC header in special framer; Expanded framer interface
...
to allow for creating and securing frames in advance; Create and secure frames in advance when sending bursts; Do neither recreate nor resecure frames that come from phase
2014-08-05 05:07:06 -07:00
kkrentz
c15a05aee1
Sky: Use the cc2420_aes_128_driver by default
2014-08-05 05:07:06 -07:00
kkrentz
c6a98f2968
CC2420: Turned SPI macros to functions and removed redundant AES API
2014-08-05 05:07:06 -07:00
kkrentz
c032b67969
llsec: Noncompromise-resilient 802.15.4 security
2014-08-05 05:07:05 -07:00
kkrentz
7943751b16
Sky: DEBUG on/off switch
2014-08-04 01:09:57 -07:00
kkrentz
c7b394c51b
Sky: Calling NETSTACK_LLSEC.bootstrap from contiki-sky-main.c
2014-08-04 01:09:57 -07:00
kkrentz
c396a85364
llsec: Added a layer in between NETSTACK_MAC and NETSTACK_NETWORK for implementing link layer security
2014-08-04 01:09:57 -07:00
Jim Paris
9b76c2fb17
aducrf101: Adjust default buffer sizes to fit better in available RAM
2014-07-29 18:25:55 -04:00
Adam Dunkels
62b8aafb03
Merge pull request #722 from royscheefhals/contiki-fix
...
char * data to void * data parameter in process_start
2014-07-28 22:04:36 +02:00
Nicolas Tsiftes
582bfcb8c6
Merge pull request #696 from sieben/doc
...
Correct several doxygen tags (\file,...)
2014-07-28 11:42:41 +02:00
Rémy Léone
8c3fa17ec0
Correct several doxygen tags (\file)
2014-07-28 11:11:45 +02:00
George Oikonomou
95e2cd9021
Merge pull request #732 from camilorodegheri/patch-1
...
Update README.md
2014-07-27 22:55:00 +01:00
Jim Paris
6db05caed9
Fix radio hangups when trying to transmit with radio off.
...
The border-router tries to transmit and do other stuff after turning
the radio off, and the radio driver didn't handle that very well.
With this fix, it's no longer necessary to reset the border router
after starting tunslip6.
2014-07-23 16:21:53 -04:00
Jim Paris
6937b29670
Add Windows build instructions for ev-aducrf101mkxz platform
2014-07-23 16:21:53 -04:00
Jim Paris
07201d13a3
Add IAR compiler support for ADuCRF101
2014-07-23 16:21:53 -04:00
Jim Paris
4f1fc3557c
Add README.md for ev-aducrf101mkxz platform
2014-07-23 16:21:53 -04:00
Jim Paris
ad141b00fb
Implement rtimers for ADuCRF101
2014-07-22 21:18:16 -04:00
Jim Paris
c8716f4d57
Add platform LED driver
2014-07-22 21:18:16 -04:00
Jim Paris
63692ba96d
Add button sensor support (BOOT button)
2014-07-22 21:18:16 -04:00
Jim Paris
4cb97a3311
Move RF RX into its own process
2014-07-22 21:18:16 -04:00
Jim Paris
b7373edf8c
Add ADuCRF101 radio driver
2014-07-22 21:18:16 -04:00
Jim Paris
5673b46e86
Add initial EV-ADuCRF101MKxZ platform support
2014-07-22 21:18:16 -04:00
Nicolas Tsiftes
784b20c04d
Merge pull request #739 from alignan/merge_z1sp_with_z1
...
Merges Z1SP into Z1 platform
2014-07-04 22:03:27 +02:00
Oliver Schmidt
9ee1bae150
Only wait for a keypress if the user is told to press a key.
2014-07-04 19:33:35 +02:00
Antonio Lignan
5467674fcc
Merges Z1SP into Z1 platform
2014-07-04 10:41:05 +02:00
Pablo Corbalán
a490986401
Add PLATFORM_HAS_RADIO in Sky Platform
...
In order to use the er-server-example Radio resource it is required that the platform defines that it has a radio. This line might be required in other platforms.
2014-07-03 14:59:13 +01:00
Rémy Léone
f111058472
Removing trailing whitespaces
2014-06-30 20:01:05 +02:00
Ian Martin
6ae6c4768e
rl78: Change RIMEADDR_CONF_SIZE to LINKADDR_CONF_SIZE because the rimeaddr module has been renamed to linkaddr.
2014-06-28 22:07:57 -04:00
Camilo Rodegheri
a50e933f4b
Update README.md
...
Adding new command for ftdi_sio which applies to Kernel>3.12 used by Ubuntu 14.04 LTS
2014-06-21 15:04:48 -03:00
Antonio Lignan
3d64b80e40
Added flags to enable 20-bit support from msp430-gcc 4.7.x
2014-06-17 12:55:08 +02:00
Nicolas Tsiftes
4c5fa6ff5d
Merge pull request #713 from adamdunkels/pr/drop-iris
...
Remove the unmaintained iris platform
2014-06-13 12:57:52 +02:00
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