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
Michel Rottleuthner
e4c405daf3
cpu/stm32l4: add adc support
2018-06-20 13:34:16 +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
Vincent Dupont
26cb3d8953
cpu/stm32f0: make use of CPU_LINE and STM32_FLASHSIZE
2018-06-19 14:31:23 +02:00
Vincent Dupont
e1ce7e5026
cpu/stm32_common: add STM32_FLASHSIZE constant
2018-06-19 14:31:23 +02:00
Vincent Dupont
d6d0f1a851
cpu/stm32f0: add custom CPU_LINE
2018-06-19 14:31:23 +02:00
Vincent Dupont
2e90eda456
cpu/stm32f4: make use of CPU_LINE_ variable
2018-06-19 14:22:48 +02:00
Vincent Dupont
4d7a195d33
cpu/stm32_common: add CPU_LINE_ variable
2018-06-19 14:22:46 +02:00
ba30315f7e
boards/b-l072z-lrwan1: enforce CPU reset when connecting with openocd
...
connect_assert_srst is used to enforce a CPU reset before connecting to
it with openocd. This is useful when debugging on-chip.
For details on openocd reset configuration, see
2018-06-19 13:17:38 +02:00
58067c2e3e
boards/b-l072z-lrwan1: enable RTOS support in openocd config
2018-06-19 13:16:05 +02:00
618a65b928
boards/b-l072z-lrwan1: update openocd config
...
There's no need for trst signal, just srst is enough. Also not using srst_nogate
seems safer.
2018-06-19 13:13:47 +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
Gaëtan Harter
41105bb23f
pic32prog: add a documentation on how to update PICkit3
...
To use pic32prog, the PICkit3 must be updated with a scripting mode firmware.
This describes how to do it on Linux using a windows VM (free).
2018-06-18 10:21:37 +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
Bas Stottelaar
6386cc571a
tests: cpu_efm32_features: add test application
2018-06-17 14:59:36 +02:00
Bas Stottelaar
72b30cb9db
boards: slstk3402a: add uart modes
2018-06-17 11:40:41 +02:00
99460669d3
Merge pull request #7786 from kaspar030/add_some_benchmarks
...
tests: add some benchmarks
2018-06-16 10:18:22 +02:00
3c9eb940d5
tests/bench_thread_yield_pingpong: initial commit
2018-06-15 23:04:54 +02:00
5bf1295836
tests/bench_thread_flags_pingpong: initial commit
2018-06-15 23:04:54 +02:00
94ba420ee3
tests/bench_sched_nop: initial commit
2018-06-15 23:04:54 +02:00
647fa6ba6e
tests/bench_mutex_pingpong: initial commit
2018-06-15 23:04:54 +02:00
b9d8f931eb
tests/bench_msg_pingpong: initial commit
2018-06-15 23:04:54 +02:00