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

18316 Commits

Author SHA1 Message Date
Hauke Petersen
7ffd6265bb cpu/nrf52: enable instruction cache 2018-06-22 16:09:23 +02:00
Martine Lenders
ffde933259
Merge pull request #9399 from miri64/sock_dns/doc/fix-spelling
sock_dns: fix typo in doc
2018-06-22 13:32:20 +02:00
Peter Kietzmann
8724407686
Merge pull request #8958 from aabadie/pr/cpu/lm4f120
cpu/lm4f120: remove useless periph file guard
2018-06-22 13:27:23 +02:00
Martine Lenders
a027684a1e sock_dns: fix typo in doc
`s/fuction/function/` ;-)
2018-06-22 13:23:26 +02:00
ce56f91a14
Merge pull request #9397 from smlng/pr/unittests/make
unittests: fix (some more) invisible unicode chars in Makefiles
2018-06-22 11:51:20 +02:00
smlng
854082272a tests/unittests: remove invisible unicode chars 2018-06-22 11:25:31 +02:00
eff3a42dd6
Merge pull request #9396 from smlng/pr/unittests/cn_cbor/make
tests/unittests, cn_cbor: remove invisible unicode char from Makefile
2018-06-22 10:04:58 +02:00
Cenk Gündoğan
3712cdffc2
Merge pull request #9391 from miri64/shell/feat/pktbuf-cmd
shell_commands: add command for packet buffer stats
2018-06-22 10:04:37 +02:00
Martine Lenders
a6a7357077 shell_commands: add command for packet buffer stats
I'm using something like this command for a while now for debugging
GNRC. Usually, I just patch it into the application I'm using it with,
but I think there is a benefit to also provide it to RIOT upstream
properly.
2018-06-22 09:51:17 +02:00
smlng
3b84dad680 tests/unittests, cn_cbor: remove invisible unicode char from Makefile 2018-06-22 09:23:30 +02:00
ZetaR60
7b8e3cbd01
Merge pull request #9340 from Josar/fix_gpio
atmega_common/gpio.c: Fixes GPIO_LOW interrupt
2018-06-21 14:08:52 -04:00
Andreas "Paul" Pauli
1aaeecf5b1
Merge pull request #9296 from maribu/lpc2387
cpu/lpc2387: Various fixes for GPIO driver
2018-06-21 19:28:53 +02:00
Cenk Gündoğan
7a92c1821c
Merge pull request #9390 from miri64/gnrc_rpl/fix/send-check-netif-hdr
gnrc_rpl: exit early if netif_hdr is NULL in send function
2018-06-21 16:01:48 +02:00
Cenk Gündoğan
3fd6a04fd9
Merge pull request #9393 from miri64/examples/fix/new-nucleo-names
examples/lorawan: use new nucleo names for BOARD_INSUFFIENT_MEMORY
2018-06-21 15:35:31 +02:00
Martine Lenders
b22040194a examples/lorawan: use new nucleo names for BOARD_INSUFFIENT_MEMORY 2018-06-21 15:24:48 +02:00
Martine Lenders
0c9d7aeedc gnrc_rpl: exit early if netif_hdr is NULL in send function
Without this fix RPL might crash when the packet buffer is full.
2018-06-21 14:51:47 +02:00
Dylan Laduranty
2ae0e1cce7
Merge pull request #8789 from aabadie/pr/examples/lorawan
examples/lorawan: add autonomous lorawan class A device example
2018-06-21 14:50:03 +02:00
Martine Lenders
579d9d78d4
Merge pull request #8823 from miri64/gnrc_ipv6_nib/feat/slaac
gnrc_ipv6_nib: add full RFC4862 DAD support
2018-06-21 14:10:36 +02:00
danpetry
ce37449dd5
Merge pull request #9090 from jcarrano/newlib-missing-functions
sys/newlib: Bugfix, add missing syscalls (only stubs)
2018-06-21 13:55:38 +02:00
Cenk Gündoğan
d140aa1c8e
Merge pull request #9382 from miri64/sock/enh/i9376
sock_udp: allow creation with ephemeral ports
2018-06-21 12:16:40 +02:00
steffen
3ad71d5be0 atmega_common/gpio.c Fixes GPIO interrupt
fixes the GPIO_LOW interrupt on the atmega platform.
It results from trying to shift GPIO_LOW. Since it is 0, it is not shiftable and will not be set correctly.
There were more issues with the other flanks too, as they are 0b01 or 0b00. If 0b11 was set as a flank before it would not be able to switch to any other mode anymore. Now the bits get cleared before the new flank will be written.
2018-06-21 11:28:42 +02:00
646cf0b9aa
Merge pull request #9370 from Josar/pr/uncrustify_isr
uncrustify: special function ISR
2018-06-21 11:14:03 +02:00
Martine Lenders
8e8837afa7
Merge pull request #9388 from cgundogan/pr/rpl_event_dels
gnrc_rpl: remove events from the queue before memset()
2018-06-21 11:02:49 +02:00
Cenk Gündoğan
0c428ecb2e gnrc_rpl: remove events from the queue before memset() 2018-06-21 10:41:13 +02:00
5d633cd6d1 cpu/lm4f120: drop useless periph timer guards 2018-06-21 08:56:55 +02:00
Cenk Gündoğan
bde61caf03
Merge pull request #9383 from cladmi/pr/pkg/doublecflags
pkgs/cmake: fix CFLAGS given two times
2018-06-21 08:54:41 +02:00
ddfc5843bb
Merge pull request #9086 from bergzand/pr/nanocoap_sock/client_split
nanocoap_sock: split generic request function of from nanocoap_get
2018-06-20 23:31:05 +02:00
Cenk Gündoğan
e0a6c071a5
Merge pull request #6965 from tfar/sandbox/2017/relic-package-patches-in-riot-specific-branch
pkg/relic: Update to new upstream and remove now obsolete patches
2018-06-20 22:39:15 +02:00
Tobias Markmann
3288f7a5ae pkg/relic: Update to new upstream and remove patches
The removed patches have been applied upstream.
2018-06-20 22:09:25 +02:00
smlng
bbbc149595
pkg/jerryscript: remove duplicate CFLAGS definition 2018-06-20 15:34:50 +02:00
smlng
98d02dec3b
pkg/ccn-lite: remove duplicate CFLAGS definition 2018-06-20 15:34:47 +02:00
Martine Lenders
db4796b04e tests: adapt lwip_sock_udp tests for API change 2018-06-20 14:51:18 +02:00
Martine Lenders
01ef01f08e tests: adapt gnrc_sock_udp tests for API change 2018-06-20 14:51:18 +02:00
Martine Lenders
a33399edf7 gnrc_sock_udp: provide fix for error state for full port pool 2018-06-20 14:51:18 +02:00
Martine Lenders
0151655de5 lwip_sock_udp: provide port for #9376 API fix 2018-06-20 14:51:17 +02:00
Martine Lenders
45107b529d emb6_sock_udp: provide port for #9376 API fix 2018-06-20 14:51:17 +02:00
Martine Lenders
f8524cb4c0 gnrc_sock_udp: provide port for #9376 API fix 2018-06-20 14:51:17 +02:00
Martine Lenders
a20639074a sock_udp: define send error-state for full port pool 2018-06-20 14:51:17 +02:00
Martine Lenders
9e7cebae93 sock_udp: allow creation with ephemeral ports
This change allows the port for local endpoint to be zero 0. If this is
the case the `sock_udp_create()` function binds the object to an
ephemeral port.
2018-06-20 14:51:17 +02:00
48c1c05297
Merge pull request #9375 from Hyungsin/forupstream_pulse_counter
drivers/pulse_counter: make gpio_mode configurable
2018-06-20 09:34:16 +02:00
Peter Kietzmann
6fd4009b89
Merge pull request #8957 from aabadie/pr/cpu/guard_lpc2387
cpu/lpc2387: remove useless periph file guard
2018-06-20 09:06:31 +02:00
Hyungsin
1b7345535c drivers/pulse_counter: make gpio_mode configurable 2018-06-19 14:50:37 -07:00
Josarn
dfde4284e3 uncrustify: special function ISR 2018-06-19 17:37:32 +02:00
d49e0d2f79
Merge pull request #9328 from aabadie/pr/sys/auto_init_doc_enh
sys/auto_init: improve documentation
2018-06-19 09:58:29 +02:00
741c8c0c68 sys/auto_init: improve documentation 2018-06-18 13:59:09 +02:00
Gaëtan Harter
acef97aa15
Merge pull request #9243 from cladmi/pr/warning/missing_include_dirs
makefiles/cflags.inc.mk: add -Wmissing-include-dirs flag
2018-06-18 13:13:54 +02:00
Cenk Gündoğan
4219ec9265
Merge pull request #9345 from bergzand/pr/fmt/strnlen
fmt: Add fmt_strnlen function
2018-06-18 11:23:53 +02:00
Cenk Gündoğan
e08fd546cf
Merge pull request #9353 from miri64/gnrc_sixlowpan/opt/rm-pad
gnrc_sixlowpan: fix order of gnrc_sixlowpan_msg_frag_t
2018-06-18 10:59:27 +02:00
Cenk Gündoğan
acb9e4aed2
Merge pull request #9352 from miri64/gnrc_sixlowpan_frag/enh/expose-rbuf
gnrc_sixlowpan_frag: expose (parts of) reassembly buffer
2018-06-18 10:55:13 +02:00
Marian Buschsieweke
1d0f90dcdf
cpu/lpc2387: Various fixes for GPIO driver
- Fixed documentation
- Use bitwise operation instead of multiplication and addition in `GPIO_PIN()`
- Allow GPIOs to be configured as input via `gpio_init()`
- Fixed bugs in `gpio_init_mux`:
    - `0x01 << ((pin & 31) * 2)` was used before to generate the bitmask, but
      this would shift by 62 to the left. Correct is `0x01 << ((pin & 15) * 2)`
      (See [datasheet](https://www.nxp.com/docs/en/user-guide/UM10211.pdf) at
      pages 156ff)
    - Only one of the two bits was cleared previously
- Changed strategy to access GPIO pins:
    - Previous strategy:
        - Set all bits in FIOMASK except the one for the pin to control to
          disable access to them
        - Set/clear/read all pins in the target GPIO port (but access to all but
          the target pin is ignored because of the applied FIOMASK)
    - New strategy:
        - Set/clear/read only the target pin
    - Advantages:
        - Only one access to a GPIO register instead of two
        - Proven approach: Access to GPIOs on lpc2387 is mostly done by
          accessing the GPIO registers directy (e.g. see the sht11 driver).
          Those accesses never touch the FIOMASK register
        - No unwanted side effects: Disabling all but one pin in a GPIO port
          without undoing that seems not to be a good idea
2018-06-18 09:10:25 +02:00