Oliver Schmidt
4a6909d16a
Remove RDC config from retro definitiions.
...
After the modularization of the Contiki libraries this isn't necessary anymore.
2015-05-25 13:43:11 +02:00
Oliver Schmidt
a824722862
Merge remote-tracking branch 'upstream/master'
2015-04-26 14:35:40 +02:00
Oliver Schmidt
7b3e80a957
Remove received packet(s) to allow to send one.
...
Behave just like the CS8900A driver: Both the CS8900A and the LAN91C96 dynamically share a buffer for received packets and packets to be send. If the chip is exposed to a network with a lot of broadcasts the shared buffer might fill quicker with received packets than the 6502 reads them (via polling). So we might need to drop some received packets in order to be able to send anything at all.
2015-04-26 14:23:33 +02:00
George Oikonomou
692d50d22f
Don't reject frames with version==1
2015-04-14 12:58:49 +01:00
Nicolas Tsiftes
8f50d9709d
Merge pull request #999 from adamdunkels/lebrush-rdnss-support-rebased
...
RDNSS support, again
2015-03-30 17:21:23 +02:00
George Oikonomou
489f9618e8
Update #if guard to match header filename
...
Closes #952
2015-03-28 23:53:05 +00:00
George Oikonomou
48e987baac
Merge pull request #1005 from alignan/i2c_cc2538
...
CC2538 I2C driver
2015-03-28 23:23:06 +00:00
Benoît Thébaudeau
19fd7a3551
Use additive offsets
...
OR-ing an offset to a base address instead of adding it is dangerous
because it can only work if the base address is aligned enough for the
offset.
Moreover, if the base address or the offset has a value unknown at
compile time, then the assembly instructions dedicated to 'base +
offset' addressing on most CPUs can't be emitted by the compiler because
this would require the alignment of the base address against the offset
to be known in order to optimize 'base | offset' into 'base + offset'.
In that case, the compiler has to emit more instructions in order to
compute 'base | offset' on most CPUs, e.g. on ARM, which means larger
binary size and slower execution.
Hence, replace all occurrences of 'base | offset' with 'base + offset'.
This must become a coding rule.
Here are the results for the cc2538-demo example:
- Compilation of uart_init():
* before:
REG(regs->base | UART_CC) = 0;
200b78: f446 637c orr.w r3, r6, #4032 ; 0xfc0
200b7c: f043 0308 orr.w r3, r3, #8
200b80: 2200 movs r2, #0
200b82: 601a str r2, [r3, #0 ]
* now:
REG(regs->base + UART_CC) = 0;
200b7a: 2300 movs r3, #0
200b7c: f8c4 3fc8 str.w r3, [r4, #4040 ] ; 0xfc8
- Size of the .text section:
* before: 0x4c7c
* now: 0x4c28
* saved: 84 bytes
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
2015-03-28 17:28:15 +01:00
Antonio Lignan
22be9fd8b7
I2C driver taken from PR #677 , uncrustified, made functions static and added burst modes
2015-03-25 16:44:12 +01:00
George Oikonomou
c169b3e3bb
Merge pull request #845 from alignan/fix_region
...
Changed code region to any
2015-03-10 22:04:38 +00:00
Jonas Olsson
5e5e9b92fd
Add CC26xx CPU files
2015-02-25 13:09:56 +01:00
Nicolas Tsiftes
080de75c87
Merge pull request #959 from g-oikonomou/cc2538-doc
...
Improve CC2538 documentation
2015-02-17 08:50:18 +01:00
Jim Paris
d350aa4dd7
Fix aducrf101 builds with GCC 4.9+
...
Mixing LTO and libraries requires the use of gcc-ar instead of ar.
See https://gcc.gnu.org/wiki/LinkTimeOptimizationFAQ?action=recall&rev=5#ar.2C_nm_and_ranlib
2015-02-16 14:52:05 -05:00
George Oikonomou
6bd8bb05f6
Improve wording
2015-02-16 10:17:58 +01:00
George Oikonomou
72914369e8
Re-structure CC2538 doxygen module hierarchy
2015-02-16 10:17:58 +01:00
George Oikonomou
8751e55c94
Improve wording, fix warnigs in the SSI/SPI docs
2015-02-16 10:17:58 +01:00
George Oikonomou
a93a8912c2
Clarify GPIO read and write macros
2015-02-16 10:17:57 +01:00
George Oikonomou
4100cbc9c0
Fix doxygen warning in the CC2538 uDMA driver's header
2015-02-16 10:17:57 +01:00
George Oikonomou
88e190103c
Fix doxygen warning in the CC2538 SPI driver
2015-02-16 10:17:57 +01:00
George Oikonomou
b6bd556805
Fix clock.h warnings caused by multiple, conflicting documentation blocks of clock functions
2015-02-15 21:48:30 +01:00
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
Víctor Ariño
ccc0d27da0
Integrates uip-nameserver API
...
On the same commit the src have been uncrustified and some typo
fixes as well as includes missing.
2015-01-09 09:44:06 +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
Antonio Lignan
4cc070944f
Changed code region to any
2014-11-03 22:40:51 +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