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

5233 Commits

Author SHA1 Message Date
BytesGalore
c7eea4d0d5 sys/net/sixlowpan: change to release lowpan.c::lowpan_context_mutex when no context is recognized 2015-02-10 12:27:56 +01:00
Martine Lenders
fe29514597 Merge pull request #2411 from cgundogan/ip_static_addr_str
ip: make addr_str static
2015-02-08 22:15:08 +01:00
Ludwig Ortmann
dd2da2fb71 Merge pull request #2405 from cgundogan/restrict_with_leading_underscores
Use `__restrict` instead of `restrict`
2015-02-08 22:07:23 +01:00
Cenk Gündoğan
4347039e88 ip: make addr_str static
When setting the `ENABLE_DEBUG` flag to *1* in ip.c,
the **rpl_udp** example won't compile, because the variable `addr_str`
is also defined in **rpl_udp.h** as extern.
Prefixing `addr_str` with `static` in ip.c solves this problem.
2015-02-08 22:07:19 +01:00
Ludwig Ortmann
daac342a69 Merge pull request #2331 from gebart/pr/Makefile-ar-wrapper-refactor
Makefile: Respect ARFLAGS and refactor OSX ar test
2015-02-08 22:03:58 +01:00
Joakim Gebart
8d68afa6e6 Makefile: Add ARFLAGS for overriding command line options to ar
- Makefile.base: Respect ARFLAGS when building static archives.
 - Makefile.cflags: Add default ARFLAGS.
 - Makefile.vars: Add description for ARFLAGS.
2015-02-08 20:08:19 +01:00
Joakim Gebart
5e2b9f52ba Makefile.include: Refactor ar-wrapper test.
llvm-ar does not understand `-rc`, but works for creating empty
archives when called with `rc` (without the leading dash). BSD `ar`
which ships with OSX, which the test is written for, understands the
argument with or without the leading dash (but does not support creating
empty archives.)
2015-02-08 20:08:14 +01:00
Cenk Gündoğan
d456e57a8a Merge pull request #2410 from authmillenon/unittests/doc/add-mail
doc: Add mail address where it is missing
2015-02-08 19:49:11 +01:00
Martine Lenders
498313a23f doc: Add mail address where it is missing 2015-02-08 19:41:14 +01:00
Martine Lenders
7c482f55a0 Merge pull request #2409 from authmillenon/all/doc/change-name
doc: use my real name
2015-02-08 19:40:33 +01:00
Cenk Gündoğan
50112af413 tests: restrict => __restrict 2015-02-08 19:22:29 +01:00
Cenk Gündoğan
3ff5231ffd sys: restrict => __restrict 2015-02-08 19:19:50 +01:00
Cenk Gündoğan
432f0014c0 cpu: restrict => __restrict 2015-02-08 19:15:14 +01:00
Martine Lenders
0eb2d78dda doc: use my real name 2015-02-08 18:52:16 +01:00
Christian Mehlis
08aa333193 Merge pull request #2403 from haukepetersen/opt_nrf_stacksize
cpu/nrf51822: raised default stack size
2015-02-08 16:18:36 +01:00
Ludwig Ortmann
031bed01d3 Merge pull request #2236 from d00616/new_micro-ecc
New package for ECDH and ECDSA
2015-02-08 16:17:05 +01:00
Frank Holtz
f3e1922f9d pkg_micro-ecc: Eliptic curve cryptography from https://github.com/kmackay/micro-ecc 2015-02-07 21:08:06 +01:00
Hauke Petersen
a5e80fbcf8 tests/pthread_rwlock: blacklisted airfy-beacon 2015-02-07 16:33:09 +01:00
Hauke Petersen
21dd39249f cpu/nrf51822: raised default stack size 2015-02-07 13:22:18 +01:00
Oleg Hahm
7fc721e277 Merge pull request #2396 from BytesGalore/rpl_udp_add_default_values_to_readme
examples/rpl_udp: added the explicit default values as values to the README.md
2015-02-06 16:06:49 +01:00
BytesGalore
d593d4972d examples/rpl_udp: added the explicit default values as values 2015-02-06 15:39:19 +01:00
Cenk Gündoğan
a8c710982e Merge pull request #2249 from BytesGalore/add_rpl_configurable_mop
rpl: added configurable RPL MOP on compile time
2015-02-06 13:56:08 +01:00
BytesGalore
4b189b6e58 rpl: added configurable RPL MOP on compile time
- e.g. `make RPL_MOP=RPL_MOP_NON_STORING_MODE`
     - changed the MOP defines to have `RPL_MOP_*` prefix
2015-02-05 19:17:51 +01:00
Oleg Hahm
e8ac359765 Merge pull request #2390 from BytesGalore/fix_rpl_udp_warning
examples/rpl_udp: changed printing the actual set channel
2015-02-05 17:19:27 +01:00
Joakim Gebart
890262e6ff Merge pull request #2265 from jfischer-phytec-iot/pr@kinetis_common
Support for Freescale Kinetis MCUs, kinetis_common
2015-02-05 10:00:02 +01:00
BytesGalore
0569b2e145 examples/rpl_udp: changed printing the actual set channel 2015-02-04 18:34:00 +01:00
Thomas Eichinger
304d3b13eb Merge pull request #2371 from gebart/pr/cmsis-hal-4.0
Update CMSIS HAL to version 4.0
2015-02-04 15:50:17 +01:00
Johann F
c0628a3058 cpu/kinetis_common: initial import for kinetis_common
add peripheral drivers for Freescale Kinetis MCUs:
    adc driver
    cpuid driver
    gpio driver
    hwtimer_arch driver (hwtimer used Low Power Timer)
    i2c driver (master mode only)
    mcg driver
    pwm driver
    random_rnga driver
    random_rngb driver
    rtc driver
    spi driver
    timer driver (timer used Periodic Interrupt Timer)
    uart driver
  add doc.txt (configuration examples)

  random_rnga: Update RNGA driver in preparation for RNGB driver.
  random_rngb: Add RNGB driver.
  spi: refactor SPI to work for multiple CTARS, add spi_acquire, spi_release
  gpio: Add gpio_irq_enable, gpio_irq_disable. Refactor GPIO.
  gpio: Add gpio_irq_enable, gpio_irq_disable.
  gpio: Refactor ISR functions to work with all GPIOs (0-31) and all ports (PORTA-PORTH)
  adc: Refactor ADC, add calibration and scaling.
    Added integer scaling of results in adc_map.
    Handle precision setting in adc_init.
    Set ADC clock divider depending on module clock.
    Add ADC_1 as a possible device.
    Add ADC calibration procedure according to K60 ref manual.
    Handle ADC pins which are not part of the pin function mux.
  Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-02-04 14:50:54 +01:00
BytesGalore
66e57aa418 Merge pull request #2325 from BytesGalore/fix_rpl_udp_channel_set
and go
2015-02-04 07:54:46 +01:00
Christian Mehlis
f69a5ae1f6 Merge pull request #2374 from cgundogan/bloom_doc_bytes_bits
sys/bloom: changed doc from bytes -> bits
2015-02-03 18:16:27 +01:00
Fabian Brandt
9963d641a2 Merge pull request #2217 from cgundogan/rpl_wireshark_dao
rpl: Fix for wrong length in DAO options, leads to error in package length (visible via wireshark)
2015-02-03 13:08:00 +01:00
BytesGalore
cbe6db5570 examples/rpl_udp: Fix unconditional setting of a radio channel on initialization 2015-02-03 12:10:07 +01:00
Cenk Gündoğan
13e7bbccfc rpl: wrong length for DAO options 2015-02-03 11:47:07 +01:00
Fabian Brandt
e9168b5efc Merge pull request #2216 from cgundogan/rpl_wireshark_dio_malformed_packet
rpl: wrong length of DIO options
2015-02-03 11:02:40 +01:00
Cenk Gündoğan
c14217c68e rpl: introduce constants for PREFIX_INFO length with/without RPL_OPT_LEN 2015-02-03 10:41:28 +01:00
Cenk Gündoğan
26095013a1 rpl: introduce constants for DODAG_CONF length with and without RPL_OPT_LEN 2015-02-03 10:41:27 +01:00
Cenk Gündoğan
432688accb rpl: wrong length of DIO options
Currently, the DIO options `dodag conf` and `prefix info` are off by two
bytes in their `length` field. The RFC states, that the length field
should not include the option `type` field and the `length` field (two bytes).

For Prefix Info Option: Option Length: 30 (RFC 6550, P.61)
For Dodag Conf  Option: Option Length: 14 (RFC 6550, P.52)

Wireshark complains about DIOs as malformed packets, otherwise.
Can be reproduced by running the rpl_udp example and logging the DIOs
via wireshark.
2015-02-03 10:41:27 +01:00
Joakim Gebart
9b65000f8f Merge pull request #2384 from cgundogan/rpl_remove_common_globals
remove common globals for rpl with regard to #2346
2015-02-02 13:40:27 +01:00
Cenk Gündoğan
eb202ffe6d rpl: remove unsused warning 2015-02-02 12:54:58 +01:00
Cenk Gündoğan
c91cdcd4d1 examples/rpl_udp: remove common globals by prefixing with static 2015-02-02 12:54:58 +01:00
Cenk Gündoğan
f3c6ef7e66 rpl: remove common globals by prefixing with static 2015-02-02 12:54:58 +01:00
Joakim Gebart
c5ec71f401 Merge pull request #2386 from gebart/pr/rpl_udp-readme-fixes
examples/rpl_udp: README fixes
2015-02-02 12:46:00 +01:00
Joakim Gebart
4183f3e505 examples/rpl_udp: Update line number on link to default RPL_MAX_ROUTING_ENTRIES 2015-02-02 12:17:49 +01:00
Joakim Gebart
cc40eb8e86 examples/rpl_udp: Add missing newlines in README.md 2015-02-02 12:17:31 +01:00
Peter Kietzmann
dd5fb6422a Merge pull request #2382 from gebart/pr/stm32f0-remove-redundant-doxygen
stm32f0: Remove Doxygen from already documented functions.
2015-02-02 08:33:45 +01:00
Joakim Gebart
45dbbd18ae stm32f0: Remove Doxygen from already documented functions. 2015-02-01 08:09:46 +01:00
Joakim Gebart
fe076783ba Merge pull request #2352 from gebart/pr/fno-common-default
Makefile.cflags: Make -fno-common the default
2015-01-30 15:55:37 +01:00
Thomas Eichinger
5595bbb94b Merge pull request #2372 from haukepetersen/add_f0discovery_openocd
board/stm32f0discovery: switched to OpenOCD
2015-01-30 13:21:19 +01:00
Hauke Petersen
4142125af8 Merge pull request #2364 from thomaseichinger/f3dicovery-openocd
boards/stm32f3discovery: use OpenOCD for flashing, debugging and resetting
2015-01-30 11:14:19 +01:00
Hauke Petersen
a944d29edc board/stm32f0discovery: switched to OpenOCD
switched flashing and debug scripts to use OpenOCD
2015-01-30 11:08:25 +01:00