1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

9007 Commits

Author SHA1 Message Date
Peter Kietzmann
6fcea29bdc Merge pull request #4042 from gebart/pr/kinetis-gpio-periph-refactor
kinetis_common: Refactor GPIO implementation
2015-10-29 08:29:09 +01:00
Joakim Nohlgård
8b378d660f Merge pull request #4181 from gebart/pr/xtimer-small-cleanups
xtimer: small cleanups
2015-10-29 07:24:15 +01:00
Cenk Gündoğan
83e0c45259 Merge pull request #4176 from authmillenon/gnrc_ndp/fix/stop-rs-retransmissions-on-ra
gnrc_ndp: stop multicast RS retransmissions on RA reception
2015-10-28 21:40:28 +01:00
Cenk Gündoğan
3b825c2523 sixlowpan: use xtimer_now() instead of vtimer_now() 2015-10-28 21:15:11 +01:00
Cenk Gündoğan
023c0984b3 sixlowpan: switch ltimer to be an xtimer 2015-10-28 21:03:09 +01:00
Hauke Petersen
7d1c952734 Merge pull request #3571 from haukepetersen/add_board_wstk6220a
boards/cpu: added SLWSTK6220A and EZR32WG support
2015-10-28 20:58:43 +01:00
Martine Lenders
23f8fecc04 Merge pull request #4157 from cgundogan/pr/nc/xtimer_nbr_sol_timer
nc: use xtimer for gnrc_ipv6_nc_t::nbr_sol_timer
2015-10-28 17:51:48 +01:00
Hauke Petersen
b9707cd8f3 cpu/ezr32wg: added extern C to vendor headers 2015-10-28 17:33:44 +01:00
Martine Lenders
ca7dcef341 Merge pull request #4182 from authmillenon/msp430/enh/update-time.h
msp430: various fixes to time.h
2015-10-28 17:15:05 +01:00
Martine Lenders
4d6d48ca82 Merge pull request #4171 from authmillenon/gnrc_slip/fix/wired
gnrc_slip: set NETOPT_IS_WIRED
2015-10-28 15:53:17 +01:00
Cenk Gündoğan
4297972054 nc: use xtimer for gnrc_ipv6_nc_t::nbr_sol_timer 2015-10-28 15:24:45 +01:00
Martine Lenders
a4533920a7 Merge pull request #4177 from authmillenon/gnrc_ipv6_netif/fix/no-l2-addr
gnrc_ipv6_netif: don't skip rest of config for address less l2
2015-10-28 15:16:34 +01:00
Joakim Nohlgård
142c28094e kinetis_common: Refactor GPIO implementation
This is a rewrite of the Kinetis GPIO driver which follows the
refactored API in [1]. Pins are specified using the GPIO_PIN(PORT_x, y)
macro, e.g. GPIO_PIN(PORT_E, 25) for the PTE25 pin.

The interrupt pin handling is now implemented as a linked list, this
is more memory efficient, but with a minor variation in interrupt
latency depending on in what order the pins were initialized at
runtime.

Because the linked list entries are taken from a shared pool, there is
also the possibility of running out of available configuration slots,
define the preprocessor macro GPIO_INT_POOL_SIZE in periph_conf.h if
you need more than 16 pins configured for interrupts in the same
application.

[1]: https://github.com/RIOT-OS/RIOT/pull/3095
2015-10-28 14:12:19 +01:00
Martine Lenders
a370a12f75 msp430: fix doc to time.h 2015-10-28 13:59:52 +01:00
Martine Lenders
77b0ffffec msp430: include missing types to time.h 2015-10-28 13:59:35 +01:00
Joakim Nohlgård
d1b4e7a70b xtimer: Rename _xtimer_now() -> _lltimer_now()
This matches _lltimer_set() and _lltimer_mask()
2015-10-28 13:54:54 +01:00
Joakim Nohlgård
d432bb42b0 xtimer: rename _mask -> _lltimer_mask 2015-10-28 13:52:25 +01:00
Joakim Nohlgård
07f95cfdfa xtimer: xtimer_spin_until(): value -> target 2015-10-28 13:51:23 +01:00
Joakim Nohlgård
fb0322ee1b xtimer: Add spaces for readability 2015-10-28 13:51:23 +01:00
Joakim Nohlgård
e93840e68b xtimer: Use USEC_IN_NS for nanosleep 2015-10-28 13:51:23 +01:00
Joakim Nohlgård
0fafe6c1a1 xtimer: small cleanups 2015-10-28 13:51:23 +01:00
Joakim Nohlgård
e8f33c2ca0 xtimer: Add parentheses to condition 2015-10-28 13:51:23 +01:00
Hauke Petersen
7f32919ffb doxygen: excluded SiLabs header files 2015-10-28 13:50:34 +01:00
Hauke Petersen
0bf7e676e2 dist: added SiLabs BSD license pattern 2015-10-28 13:50:34 +01:00
Hauke Petersen
36646865f0 cpu: added support for SiLabs EZR32WG 2015-10-28 13:50:34 +01:00
Martine Lenders
f453d6461e gnrc_slip: set NETOPT_IS_WIRED
Fixes #4168
2015-10-28 13:41:51 +01:00
Martine Lenders
083c9442ab gnrc_ipv6_netif: don't skip rest of config for address less l2 2015-10-28 13:40:21 +01:00
Hauke Petersen
20a5571640 boards: added support for SiLabs SLWSTK6220A 2015-10-28 11:33:44 +01:00
Hauke Petersen
e17ab3df4a make: added common JLink Makefile for boards 2015-10-28 11:19:38 +01:00
Hauke Petersen
4b62a4902f dist: added common JLink script for flashing 2015-10-28 11:19:38 +01:00
Cenk Gündoğan
c78fd9f4ed Merge pull request #4159 from cgundogan/pr/netif/xtimer_rtr_adv_timer
netif: use xtimer for gnrc_ipv6_netif_t::rtr_adv_timer
2015-10-28 11:09:13 +01:00
Hauke Petersen
85e05d411e Merge pull request #4114 from haukepetersen/opt_periph_uart
drivers/periph/uart: remodeled UART interface
2015-10-28 10:50:03 +01:00
Peter Kietzmann
eaf1e29b31 Merge pull request #4179 from OlegHahm/ndp_l2_length_calculation
gnrc: ndp: fix calculation of L2 address length
2015-10-28 10:25:32 +01:00
Hauke Petersen
4e18d9e1a5 tests: blacklisted some boards for insufficent RAM 2015-10-28 09:48:45 +01:00
Hauke Petersen
729e4d1992 examples/gnrc_border_router: blacklisted boards 2015-10-28 09:48:18 +01:00
Joakim Nohlgård
3033738e30 Merge pull request #4126 from gebart/pr/cortexm-r7-O0-fix
cortexm-common: Workaround for error: r7 cannot be used in asm here
2015-10-28 07:01:32 +01:00
Joakim Nohlgård
c3340b7ccf cpu/cortexm_common: Use PRIx32 for printing uint32_t in hard fault handler
fixes errors like:
    error: format specifies type 'unsigned long' but the argument has
    type 'uint32_t' (aka 'unsigned int') [-Werror,-Wformat]
2015-10-28 06:59:28 +01:00
Joakim Nohlgård
a5449bcbd4 cpu/cortexm_common: only set naked attribute on DEVELHELP hardfault handler
Fixes error on LLVM/Clang:

   cpu/cortexm_common/vectors_cortexm.c:287:5: error: non-ASM statement in naked function is not supported
       core_panic(PANIC_HARD_FAULT, "HARD FAULT HANDLER");
       ^
   cpu/cortexm_common/include/vectors_cortexm.h:65:46: note: attribute is here
   void hard_fault_default(void) __attribute__((naked));
                                                ^
   1 error generated.
2015-10-28 06:51:51 +01:00
Cenk Gündoğan
a979d0c72c netif: use xtimer for gnrc_ipv6_netif_t::rtr_adv_timer 2015-10-27 20:51:34 +01:00
Cenk Gündoğan
7490dc21a0 Merge pull request #4172 from cgundogan/pr/ndp/use_correct_timer
nc: ndp: add/use gnrc_ipv6_nc_t::rtr_adv_timer in gnrc_ndp_rtr_sol_handle
2015-10-27 20:43:30 +01:00
BytesGalore
6c57582107 fib: initial source route support 2015-10-27 20:20:18 +01:00
Oleg Hahm
64a653496a gnrc: ndp: fix calculation of L2 address length
If no source address was provided by layer 2 or someone removed it, the calculation of its length is done using the length field from the Source/Target Link-layer Address option (https://tools.ietf.org/html/rfc4861#section-4.6.1). The length is specified as units of 8 octets. Hence, it should be multiplied by 8, not divided.
2015-10-27 20:13:50 +01:00
Martine Lenders
493597ec1d Merge pull request #3845 from cgundogan/pr/gnrc_sixlowpan_iphc/assert
gnrc_sixlowpan_iphc: move assert to a valid position
2015-10-27 20:11:47 +01:00
Cenk Gündoğan
c175273f96 Merge pull request #3693 from OlegHahm/remove_superfluous_icmpv6_hdr_build_functions
icmpv6: remove superfluous header build functions
2015-10-27 20:06:02 +01:00
Martine Lenders
7b6de128f7 Merge pull request #4149 from cgundogan/pr/ipv6/init_suffix
ipv6: initialize iid
2015-10-27 20:01:05 +01:00
Lucas Jenss
d80f18de0b Minor usability improvements for samr21 usage 2015-10-27 19:43:40 +01:00
Martine Lenders
8722699fb2 gnrc_ndp: stop multicast RS retransmissions on RA reception
6LoWPAN interfaces already do that, other interface happily continue
multicasting RSs even if a router was found.
2015-10-27 19:37:12 +01:00
Cenk Gündoğan
fac55ca258 Merge pull request #4158 from cgundogan/pr/netif/xtimer_rtr_sol_timer
netif: use xtimer for gnrc_ipv6_netif_t::rtr_sol_timer
2015-10-27 19:27:43 +01:00
Cenk Gündoğan
813709adb4 Merge pull request #3849 from OlegHahm/pyterm_ümläüte
pyterm: fix problems with German umlauts as input
2015-10-27 19:21:53 +01:00
Peter Kietzmann
f5b2c80bd6 Merge pull request #4015 from daniel-k/pr/cortexm_hardfault_overflow
cortexm_common: check for possible stack overflow in hardfault handler
2015-10-27 19:19:32 +01:00