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
9a63e8c027
cc253x: Add stack monitoring helpers
2012-09-07 17:32:54 +01:00
Philippe Rétornaz
780e62d7e8
cc253x: add putdec debug function
2012-09-07 17:32:54 +01:00
Philippe Rétornaz
48d99f15c8
cc253x: fix dma interrupt enable flag
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
Philippe Rétornaz
44bcabe89c
cc253x: Change CFLAGS
...
This add -fomit-frame-pointer by default, it decrease sliglty the
stack usage when several function call are nested.
On some specific case 30 bytes could be saved on the stack.
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
Ivan Delamer
2e72ec3594
Place ATmega1281 define in correct section (it does have compare C
...
unit, avoid duplicate define and compiler warning).
2012-09-01 15:22:13 -06:00
Ivan Delamer
5636357243
Fix RF230 transition: RX_AACK_ON -> TX_ARET_ON (go through PLL_ON,
...
as per datasheet). Tested on RF230 and 128RFA1 (RF231).
2012-09-01 15:20:00 -06:00
simonduq
1bb055bae6
Fixed the udp-stream example: use the new RPL interface, reduce RAM usage
2012-08-30 13:22:27 +02:00
Niclas Finne
c425e51911
Added support for nested quotes in arguments when calling external commands from Cooja
2012-08-22 14:14:55 +02:00
simonduq
24dba740e2
Added support for quote-delimited arguments when calling external commands from Cooja
2012-08-22 13:32:20 +02: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
Adam Dunkels
a3e56371a5
Bumped version number
2012-07-12 11:33:12 +02:00
Adam Dunkels
08d854f782
Updated README with new website and shorter text
2012-07-12 11:30:21 +02:00
Adam Dunkels
dd148e1d12
Bumped version number
2012-07-12 11:30:05 +02:00
George Oikonomou
26a87ee9cb
Improved handling of cc2x3x rf_flags
2012-07-11 10:53:14 +01:00
George Oikonomou
43f2790357
Added channel_get() to the cc2x3x RF drivers
2012-07-11 10:53:14 +01:00
George Oikonomou
d66241fd97
Bugfixed the cc2530 LOW_POWER_RX configuration
...
Report and fix by Tom Xiao
2012-07-11 10:53:14 +01: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
George Oikonomou
4b73b48f60
Fixed the cc2530 RSSI adjustment
2012-07-11 10:53:14 +01:00
Ivan Delamer
17a62a649c
ATmega128RFA1 bug fix: no interrupt pin used (embedded radio).
...
Enabling interrupt caused MCU reset if using pin as GPIO.
2012-07-10 14:36:47 -06:00
Nicolas Tsiftes
86115a392e
Include string.h
2012-06-27 15:44:53 +02:00
Nicolas Tsiftes
0ba83a10df
Merge branch 'master' of ssh://contiki.git.sourceforge.net/gitroot/contiki/contiki
2012-06-27 15:42:51 +02:00
Mariano Alvira
6c5ab6f155
fix typo
2012-06-14 21:36:57 -04:00
Joakim Eriksson
51b73127e9
* Simple JSON parser and generator.
...
* Simple HTTP webservice with support for both receiving and sending HTTP requests.
* json-ws example that optionally push sensor data to COSM over IPv6.
2012-06-12 16:42:16 +02:00
Niclas Finne
f177284a73
Added option to specify the IPv6 prefix
2012-06-12 16:32:05 +02:00
Fredrik Osterlind
947f3322ba
removed unused ipdistributor code: was previously used to assign IP addresses to simulated motes,
...
a decision better made by Contiki
2012-06-11 15:52:20 +02:00
Fredrik Osterlind
8947c7a3bb
reverted previous plugin name changes, instead build displayed names when menu is created
2012-06-11 15:31:39 +02:00
Nicolas Tsiftes
21f2b42090
Merge branch 'master' of ssh://contiki.git.sourceforge.net/gitroot/contiki/contiki
2012-06-11 08:01:03 +02: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
Matthias Kovatsch
9096da299e
Added sub-resource example.
2012-06-09 12:20:57 +02:00
Matthias Kovatsch
ed66cfa364
Disabled debugging.
2012-06-09 11:18:51 +02:00
Matthias Kovatsch
6c813f0fb1
Fixed bug in debug print noticed by Linus.
2012-06-09 11:14:25 +02:00
Matthias Kovatsch
4a96e12890
Added Giovanni Pellerano's radio resource.
2012-06-09 10:47:09 +02:00
Niclas Finne
46d1367566
Fixed compiler unchecked warning
2012-06-08 17:06:29 +02:00
Niclas Finne
4861aadb94
Added nmenomic for the exit action
2012-06-08 16:54:39 +02:00
Adam Dunkels
5a87f2ae7c
Merge branch 'master' of ssh://contiki.git.sourceforge.net/gitroot/contiki/contiki
2012-06-08 14:31:36 +02:00
Adam Dunkels
107bdf116d
Updated file permissions
2012-06-08 14:30:51 +02:00
Fredrik Osterlind
019b984b7a
simplified SerialUI implementation: code was both complex, buggy and contained unused broken functionality (slip, tos mode)
2012-06-07 12:33:29 +02:00
Niclas Finne
6da3c03884
Added button interface for Z1 platform
2012-06-07 10:45:31 +02: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
Niclas Finne
418a5772e6
Removed leds debug output
2012-06-07 10:35:22 +02:00
Nicolas Tsiftes
4f6fb987c3
The keyword structure can be constant.
2012-06-07 10:20:27 +02:00
Nicolas Tsiftes
66f0a1bc95
Merge branch 'master' of ssh://contiki.git.sourceforge.net/gitroot/contiki/contiki
2012-06-07 09:26:57 +02:00
George Oikonomou
47db065034
Bugfixed the cc253x UART0 init (Thanks, Deng Jian)
...
The flush instruction was resetting the stop bit level to 'low'
2012-06-06 15:25:57 +01:00