Oliver Schmidt
1a5e20bc5f
Remove tab chars from retro C sources.
2013-01-28 23:43:08 +01:00
Giovanni `evilaliv3` Pellerano
ee556dcf14
minor corrections to adhere contiki code style guidelines
2012-12-21 12:36:29 +01:00
Giovanni `evilaliv3` Pellerano
fdd380e7ca
added support for SEED-EYE board ( http://rtn.sssup.it/index.php/hardware/seed-eye )
2012-12-20 23:57:47 +01:00
George Oikonomou
f5bc1c92ba
Update to the new ds6_route API
2012-12-16 19:28:56 +00:00
George Oikonomou
351a4d39b9
Code style fixes: cc2530dk
2012-12-16 19:28:56 +00:00
George Oikonomou
b4bb51e811
Code style fixes: sensinode
2012-12-16 19:28:55 +00:00
Moritz 'Morty' Strübe
79aa5dbc01
Get rid of generc ihex-file to allow parallel uploads
2012-12-11 12:40:38 +01:00
Moritz 'Morty' Strübe
7213d36d63
Support MOTEIDS for flashing, etc
2012-12-11 12:40:24 +01:00
Adam Dunkels
aaa950ab17
Cooja platform changes to get IPv6/RPL to work better
2012-12-10 01:50:32 +01:00
Adam Dunkels
99f541e8fd
Updated to the latest uip-ds6-route API
2012-11-27 23:04:34 +01:00
Adam Dunkels
91206e2249
Avoid multiple definitions of NETSTACK_CONF_MAC. Turn on RPL by default.
2012-11-21 20:11:22 +01:00
Adam Dunkels
e178787999
Fixed compilation problems on the micaz and exp5438 platforms due to the node-id change
2012-11-20 21:16:50 +01:00
Adam Dunkels
ec8c7e9be0
Cleanup of the node-id.h files. The node-id.h file contains
...
declarations of functions for setting and getting a node ID number, a
functionality that exists on many platforms. Since this functionality
was not considered part of the Contiki core, each platform defined its
own node-id.h file. This commit attempts to clean this up by
collecting the node-id.h into a core/sys/node-id.h file that replaces
the old node-id.h files from the platform directories.
2012-11-20 19:59:46 +01:00
Mariano Alvira
03ab3fe317
Newer and cleaner TARGET=econotag as well as robust mc13224v
...
configuration system.
(also deprecate TARGET=redbee-econotag)
- mc13224v now automatically probes hardware config for buck converter
and 32kHz crystal as well as automatically monitors battery voltage
and manages the buck accordingly.
- new flashed based config system for mc13224v parameters such has
radio modes (demod, autoack), nvmtype, mac address, channel and
power.
- considerably cleaned up econotag platform code (suffered from severe
case of bit-rot)
2012-11-19 19:16:29 -05:00
Mariano Alvira
2c9a538582
Merge branch 'master' of git://git.devl.org/git/malvira/libmc1322x into bump-libmc1322x
...
bump libmc1322x to 7bee48243c
Conflicts:
cpu/mc1322x/board/Makefile.board
cpu/mc1322x/lib/include/uart.h
cpu/mc1322x/lib/uart1.c
cpu/mc1322x/lib/uart2.c
cpu/mc1322x/src/default_lowlevel.c
2012-11-18 18:27:39 -05:00
Etienne Duble
97da754b1c
Fixed login make target repeated in Makefile.mbxxx and Makefile.stm32w108
2012-11-09 15:43:15 +01:00
George Oikonomou
5399fa2b6f
cc2530dk: Fixed the startup text for dongle builds
...
See Pull Request #21
2012-11-04 21:44:34 +00:00
George Oikonomou
53fdb96816
cc2530dk and Sensinode: Local copy of uip-debug.c
...
Copied this file to the platform directories and
changed it to use putstring(), puthex() etc so
that we can print addresses without linking in
printf
See Pull Request #20
2012-11-04 21:43:57 +00:00
George Oikonomou
1a0f01ccc4
cc253x: Config to swap between UART and USB I/O
...
See Pull Request #18
2012-11-01 17:41:57 +00:00
George Oikonomou
2cc74c5fd4
cc2530dk: Added a 'Serial over USB' platform process
...
This is based on a usb-test example by Philippe Retornaz. It has
been moved to platform and modified accordingly. With this in place:
- putchar() can work over USB. So we can use things like
printf, slip output
- USB input can be redirected to slip or serial input
The example itself is no longer needed in the source tree
See Pull Request #18
2012-11-01 17:41:53 +00:00
George Oikonomou
c1d72475d7
cc253x: Renamed P2 interrupt-related files for better consistency
...
See Pull Request #18
2012-11-01 17:41:38 +00:00
George Oikonomou
fea4970142
cc253x: Configurable linkage for the P2 ISR
...
See Pull Request #18
2012-11-01 17:41:24 +00:00
Philippe Rétornaz
ba96408f37
cc253x: Add USB support to the compilation scripts
...
See Pull Request #18
2012-11-01 17:41:21 +00:00
Philippe Rétornaz
ddc8120d7c
cc253x: Add p2 interrupt handler
...
The P2 Interrupt is shared across many periferal (I2C, USB, GPIO).
This adds a generic interrupt handler on which the differents drivers
can register a handler.
See Pull Request #18
2012-11-01 17:41:11 +00:00
George Oikonomou
67bf9ec10e
DOS EOL and indentation fixes (platform files)
...
- Removed some DOS EOLs
- Changed some tabs to spaces
- Removed some trailing whitespaces
Closes #6
2012-10-30 13:44:25 +00:00
Adam Dunkels
944537fccf
Removed all old RCS tags in the Contiki source tree. Those RCS tags are not used any more, as we are now using git to manage the Contiki source tree
2012-10-26 15:54:49 +02:00
George Oikonomou
3b0e92168b
Copied cc2530 stack functions to the cc2430 port
2012-09-20 15:09:15 +01:00
George Oikonomou
b292e02012
Sensinode putdec() debugging
2012-09-20 15:09:15 +01:00
George Oikonomou
95b9d4ee29
Sensinode/cc2430 stack depth optimisation
...
This replicates the method used by the cc2530 port
2012-09-20 15:09:15 +01:00
George Oikonomou
067fabe0f9
Sensinode main variable optimsations:
...
r is now uint8_t, allocated to registers
len is uint16_t for more efficent arithmetic
(Changes replicated from the 253x port, originally
contributed by Philippe Retornaz - EPFL)
2012-09-20 15:09:15 +01:00
George Oikonomou
cb168da729
Changed the cc2430 sleep_flag to uint8_t
2012-09-20 15:09:15 +01:00
Niclas Finne
4630945475
Made the stack and heap size configurable when using the IAR compiler on the MSP430 platforms
2012-09-19 22:49:19 +02:00
Niclas Finne
919ddfbf09
Added delay at startup to let things stabilize before writing to the uart
2012-09-19 22:47:48 +02:00
George Oikonomou
ee7af77ca9
Reworked the cc2530 stack debugging facilities:
...
- Moved to their own file
(so we can later copy the entire thing over to cc2430)
- Renamed the functions
(for naming convention reasons)
- The entire thing can be enabled/disabled
- Added a couple more macros
- Hooked into main()
2012-09-07 17:40:17 +01:00
Philippe Rétornaz
780e62d7e8
cc253x: add putdec debug function
2012-09-07 17:32:54 +01:00
George Oikonomou
c6ec22c4c8
cc2530: Added a method to maximise stack depth
...
This was oringinally contributed/reported/discussed/patched by
Philippe Retornaz (EPFL) but it's implemented
in a more configurable fashion here.
2012-09-07 17:32:53 +01:00
Philippe Rétornaz
a0d2988846
cc253x: Don't force __data usage
...
SDCC optimize "r" and put it in a register.
Don't force len to be in __data.
2012-09-07 17:32:10 +01:00
Philippe Rétornaz
666ff6ca55
cc253x: use a uint8_t for sleep_flag
...
__bit variables must be located after the 0x20 address
This force the stack to start after 0x20, thus decrease
the stack size by a considerable amount.
2012-09-07 17:32:10 +01:00
George Oikonomou
8699f7741d
Fixed typos and a stray printf. Adjusted comments
2012-09-07 17:31:25 +01:00
Ivan Delamer
b43dad00b0
Cleaned up RF230BB, and refactored FRAME_RETRIES and CSMA_RETRIES
...
#defines.
2012-09-04 11:12:18 -06:00
Antonio Lignan
c5e9d688a5
Fixed sht11 driver, now ensures the i2c bus is disabled when initializing
2012-08-16 14:12:27 +02:00
Antonio Lignan
73e7f25cbc
Simple phidget-like relay driver for the Z1 mote with basic functionalities
2012-07-30 11:27:13 +02:00
George Oikonomou
62fbd389d8
Renamed a cc253x SFRX to stop namespace conflicts
...
The TR0 SFRX can not use the name TR0 because it
conflicts with TCON.TR0 on the default 8051.
See SDCC bug 3513300
2012-07-11 10:53:14 +01:00
David Kopf
37c407b177
Patch from Landon Fuller adds const to PROGMEM, required for newer avr-gcc
2012-06-10 12:54:11 -04:00
Niclas Finne
d1bef2b68a
Bug fix: setup MAC address based on node id if no MAC address was restored from external flash
2012-06-07 10:45:05 +02:00
Adam Dunkels
fd2e238d99
The __delay_cycles() function in the latest mspgcc takes an unsigned long argument but does not allow it to be larger than 65536.
2012-06-04 17:41:12 +02:00
Fredrik Osterlind
d270e4943d
bugfix: slip must be initialized after ctimer, as it uses ctimers
2012-05-30 12:59:42 +02:00
Niclas Finne
b6ed988709
Allow node address to be set by COOJA when emulating.
2012-05-29 19:42:35 +02:00
Niclas Finne
2c460090e3
io and signal have been moved into contiki include file
2012-05-29 19:31:16 +02:00
David Kopf
e0dab7c2fc
Prefer UART0 for stdout; move DEBUFGLOW macro below definition of uint8_t
2012-05-28 13:08:30 -04:00