George Oikonomou
a4e7cc29e8
Merge pull request #946 from e120guru/hotfix-radio-driver-error-reinit
...
CC2538 RF driver issues x3
2015-02-13 14:19:49 +01:00
Michael Karlsson
62fc6f2f07
corrected code style error
2015-02-13 13:46:57 +01:00
George Oikonomou
2f5db64b2b
Merge pull request #947 from zwpaper/enableFlowControl
...
Fix the uart0 flow control register P0SEL setting in cpu cc253x
2015-02-12 08:49:33 +01:00
PapEr
cd4322cec2
Fix the uart0 flow control register P0SEL setting in cpu cc253x
2015-01-25 13:57:40 +08:00
Michael Karlsson
be9879cf18
fixed error in saving status
2015-01-21 22:35:30 +01:00
Michael Karlsson
37def294ce
fixed bug that made radio die after error when not using default channel and/or not using a RDC protocol
2015-01-21 22:28:31 +01:00
Nicolas Tsiftes
1f13be10fc
Merge pull request #908 from bbc2/fix-rndis-macro
...
usb/rndis: Add parentheses to an unsafe macro
2014-12-19 22:16:33 +01:00
Jelmer Tiete
b088326b5e
Corrected the register offset value of ANA_REGS_IVCTRL. TI was using the address offset instead of the physical address in their header file.
2014-12-19 04:14:34 -05:00
Bertrand Bonnefoy-Claudet
9baa378c97
usb/rndis: Add parentheses to an unsafe macro
2014-12-12 19:17:46 +01:00
Luis Alves
1bddbae297
rf230bb: Fix missing ')' and indentation.
2014-12-09 22:06:12 +00:00
Nicolas Tsiftes
9e7927e415
Merge pull request #765 from ejoerns/pull-req/avr-asflags
...
[avr] Add mcu parameter to ASFLAGS
2014-12-02 19:16:14 +01:00
Simon Duquennoy
a9cc909794
Network layer configuration: replace UIP_CONF_* with NETSTACK_CONF_WITH_*
2014-12-01 21:02:57 +01:00
Simon Duquennoy
722b3258d1
Cleanup of the Contiki network layer configuration. Now using CONTIKI_WITH_IPV6, CONTIKI_WITH_IPV4, and CONTIKI_WITH_RIME in makefiles, and UIP_CONF_IPV6, UIP_CONF_IPV4, UIP_CONF_RIME in c code. Now only the stacks that are used are compiled (via makefile MODULES). Make IPv6 the default network stack.
2014-12-01 20:13:09 +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
Josef Lusticky
c6bea7d0e7
avr: fix divide when CLOCK_SECOND is not a power of two
2014-11-26 22:47:50 +01:00
kkrentz
fb00a217f5
packetbuf: Use packetbuf_holds_broadcast() all-over
2014-11-13 09:58:08 -08:00
Fredrik Österlind
03a923b6b9
Merge pull request #782 from ejoerns/pull-req/avr-mcucsrfix
...
[avr] Removed usage of deprecated MCUSR
2014-11-13 10:25:30 +01:00
Enrico Joerns
cfbd4d49bf
[cpu/stm32w108] Doxygen grouping and group name fixes
2014-11-10 23:53:33 +01:00
Enrico Joerns
198f52d2f8
[cpu/pic32] Removed excess end group
2014-11-10 23:53:33 +01:00
Enrico Joerns
f7711d1659
[cpu/arm] Added doxygen .txt files for gaining a minimum of documentation structure
2014-11-10 23:53:33 +01:00
Enrico Joerns
e2f09a367f
[cpu/arm] removed free-standing @addtogroup command
2014-11-10 23:53:33 +01:00
Enrico Joerns
7d9c80aa76
[cpu] removed faulty group names
2014-11-10 23:53:33 +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
Adam Dunkels
d891d11324
Merge pull request #557 from kkrentz/llsec-integration
...
Integration of Link Layer Security
2014-10-08 15:45:46 +02:00
Enrico Joerns
8cc0bb8a1e
[avr] Removed usage of deprecated MCUSR
...
Since avr-libc 1.8.0 MCUSR is marked as poison as it was replaced by the
correct name MCUCSR.
Thus code still using the old MCUSR name does not compile anymore.
This commit replaces usages of former MCUSR by its new name MCUCSR and
modifies the alias fallback accordingly.
2014-08-30 01:58:18 +02:00
Atis Elsts
5acf3fb770
Fix time accounting on msp430 Series 5 MCU based platforms (wismote)
...
See https://github.com/contiki-os/contiki/pull/727 for explanation
2014-08-21 18:09:54 +02:00
Fredrik Österlind
573d75f13d
Merge pull request #727 from atiselsts/msp430_timing_fixes
...
Fix time accounting on msp430 Series 1 and Series 2 MCU based platforms.
2014-08-13 13:47:36 +02:00
kkrentz
4493783ce9
'free_packet' in csma.c conflicted with 'free_packet' in maca.c
2014-08-04 01:09:57 -07:00
Jim Paris
4aa2a8b95c
aducrf101: Add stack pointer sampling, to help debug overflows
2014-07-29 18:25:55 -04:00
Jim Paris
3e193cca2c
aducrf101: Rearrange stack and heap to maximize available stack space
...
Stack now starts at the top of RAM, heap starts after BSS, and
they grow towards each other.
2014-07-29 18:09:16 -04: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
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
07201d13a3
Add IAR compiler support for ADuCRF101
2014-07-23 16:21:53 -04:00
Jim Paris
a4a3eca41d
Add sniffer support to ADuCRF101
...
This works with the examples/cc2538dk/sniffer/ project and the
corresponding "sensniff" host-side tool.
2014-07-22 21:18:17 -04:00
Jim Paris
6967fc67c1
Add dummy uart0/uart1 headers that some examples require
2014-07-22 21:18:16 -04:00
Jim Paris
ad141b00fb
Implement rtimers for ADuCRF101
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
fff8a18b99
Fix ADI radio engine driver and add hook for packet reception
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
baa6058839
Add initial ADuCRF101 CPU support
2014-07-22 21:18:16 -04:00
Jim Paris
2be02cd269
Add CMSIS library code from ARM
2014-07-22 21:12:17 -04:00
Jim Paris
ee1ca8ac55
Add ADuCRF101 library code from Analog Devices
2014-07-22 21:12:17 -04:00
Oliver Schmidt
919b6919a5
Fixed hardware detection.
...
The previous chip detection was inspired by the old IP65 driver code. For some reason it didn't work as expected. The new code is simpler and based on this statement in the chip datasheet: "The upper byte always reads as 33h and can be used to help determine the I/O location of the LAN91C96."
2014-07-12 11:27:52 +02:00
Enrico Joerns
351e4e9fba
[avr] added missing mcu parameter to ASFLAGS in order to enable assembler compilation
2014-07-10 11:31:41 +02:00
Atis Elsts
705587cdb7
Fix time accounting on msp430 Series 1 and Series 2 MCU based platforms.
...
The problem with the current version of the code was that the condition at the end of the do...while loop at Timer A1 interrupt:
while((TACCR1 - TAR) > INTERVAL);
evaluates to false whenever TACCR1 == TAR.
Not incrementing TACCR1 in this case leads to Timer A1 interrupt not being called for 2 seconds, until TAR counter reaches TACCR1 again after an overflow.
The patch avoids this problem by changing the condition of the loop, and using CLOCK_LT macro to compare between time values.
The patch also attempts to fix another problem: a read of TAR register while it is being updated may return a lower value than the actual contents. To avoid that, the "read twice and compare results" idiom should be used. As the TAR register is updated by the actual hardware, it is of no importance whether it is read with interrupts disabled or enabled; the problem can occur in both contexts.
2014-07-02 11:07:02 +02:00
Rémy Léone
f111058472
Removing trailing whitespaces
2014-06-30 20:01:05 +02: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
Oliver Schmidt
d955b179eb
Merge remote-tracking branch 'upstream/master'
2014-06-12 22:57:46 +02:00