Francisco
3d2697973a
Merge pull request #12151 from cladmi/pr/pba-d-01-kw2x/do_not_use_OPENOCD_ADAPTER_INIT
...
boards/pba-d-01-kw2x: rely on the common adapter selection code
2019-09-23 11:47:50 +02:00
Hauke Petersen
cf8f3125fc
make/pkg: allow to set SOURCE_LOCAL per pkg
2019-09-23 11:44:17 +02:00
a6ab562bcc
Merge pull request #12241 from cladmi/pr/docker/refactor_volumes
...
makefiles/docker.inc.mk: add a 'docker_volume' function
2019-09-23 11:34:34 +02:00
6a147c297e
Merge pull request #11556 from aabadie/pr/cpu/nrf_wdt
...
cpu/nrf5x: implement wdt peripheral driver
2019-09-21 09:12:42 +02:00
f8922d80c3
tests/periph_wdt: fix upper limit format for print
2019-09-20 20:45:42 +02:00
40619d18ca
cpu/nrf5x_common: implement periph_wdt driver
2019-09-20 20:45:42 +02:00
benpicco
1c119594f0
Merge pull request #11520 from benpicco/wdt
...
sam0: Implement watchdog driver
2019-09-20 20:19:56 +02:00
Gunar Schorcht
d5bf41dba1
cpu/esp32: doc update for periph_can
2019-09-20 19:39:23 +02:00
Gunar Schorcht
fc5692d67c
cpu/esp32: driver for ESP32 CAN as periph_can
2019-09-20 19:39:23 +02:00
Gunar Schorcht
c498ebd388
cpu/esp32: default device config for periph_can
2019-09-20 19:35:02 +02:00
Gunar Schorcht
49ecce9b81
cpu/esp32: periph_can device/conf type definitions
2019-09-20 19:35:02 +02:00
Gunar Schorcht
e0f1ab0a16
cpu/esp32: module esp_can removed
...
CAN controller driver for ESP32 is no longer realized as separate module.
2019-09-20 19:35:02 +02:00
Benjamin Valentin
a4baf45da1
tests/periph_wdt: only test powers of two
...
Some watchdog implementations do not support arbitrary precision
for timeouts.
Using powers of two seems like a good common denominator.
2019-09-20 19:04:41 +02:00
Benjamin Valentin
c9f8ff1cf1
sam0_common: add Watchdog implementation
2019-09-20 19:04:41 +02:00
Francisco
04b92683e4
Merge pull request #11800 from aabadie/pr/boards/stm32f723e-disco
...
boards/stm32f723e-disco: add initial support
2019-09-20 17:04:17 +02:00
Francisco Molina
ce300ca6fd
tests: fix tests for nucleo-f303k8
...
- Decrease default stack size for pthread_cooperation and
cp11_condition_variable
- Reduce number of problems for thread cooperation and remove
from insufficient memory list
2019-09-20 17:01:08 +02:00
Francisco
d2eeb2ba05
Merge pull request #12284 from aabadie/pr/boards/fix_p-l496zg_features
...
boards/p-l496zg-cell02: move cpu define to Makefile.features
2019-09-20 14:57:56 +02:00
Martine Lenders
3a4d1f9bb1
Merge pull request #12281 from aabadie/pr/ci/coccinelle_fix_remaining
...
tools/ci: fix remaining errors reported by coccinelle static check
2019-09-20 14:22:09 +02:00
b77dd00142
boards/p-l496zg-cell02: move cpu define to Makefile.features
2019-09-20 13:46:58 +02:00
80a5e88403
boards/stm32f723e-disco: add initial support
...
Peripheral configured:
- 5 UARTs for stdio via STLink, Arduino connector, PMOD connector,
STMOD+ connector and ESP-01 connector
- 1 I2C available on Arduino connector and STMOD+ connector
- 2 SPIs available on Arduino connector and PMOD connector
2019-09-20 13:45:25 +02:00
8bb98ba151
cpu/stm32f7: add support for stm32f723 cpu line
2019-09-20 13:41:12 +02:00
Francisco
bd5ceb58e7
Merge pull request #11984 from aabadie/pr/boards/p-l496g-cell02
...
boards/p-l496g-cell02: add support
2019-09-20 11:28:54 +02:00
Martine Lenders
440b2614b5
Merge pull request #12274 from miri64/gnrc_ipv6/fix/scan-build
...
gnrc_ipv6: fix scan-build errors
2019-09-20 09:35:40 +02:00
Francisco
6847d0d268
Merge pull request #12261 from cladmi/pr/frdm/fix_flashing
...
boards/frdm: fix flashing from invalid state
2019-09-20 09:15:47 +02:00
caf48cfb2d
sys/net/lwmac: remove not needed pkt pointer check
2019-09-20 09:01:08 +02:00
661fdc6c1b
tests/nimble_l2cap: remove unused debug include
2019-09-20 09:00:32 +02:00
4d2d4c5bb3
tests/nimble_l2cap: fix not needed cast
2019-09-20 09:00:13 +02:00
Martine S. Lenders
66fa240e9a
gnrc_ipv6: fix scan-build errors
2019-09-20 08:59:55 +02:00
f6dc8a3ea8
tests/periph_pwm: fix not needed cast
2019-09-20 08:59:43 +02:00
Marian Buschsieweke
8c94a16032
Merge pull request #12275 from keestux/fix-arduino-millis
...
sys/arduino: use 64bit usec to compute millis()
2019-09-19 21:09:36 +02:00
Kees Bakker
d9e0c6c859
sys/arduino: use 64bit usec to compute millis()
...
This is quick solution to avoid wrapping around after 4294967 milliseconds.
It uses xtimer_now_usec64 instead of xtimer_now_usec.
Notice that this is more expansive than the previous solution, especially
on AVR systems.
2019-09-19 19:52:43 +02:00
MichelRottleuthner
66f1cc78ea
Merge pull request #12059 from maribu/msba2-openocd
...
boards/msba2: Added OpenOCD config
2019-09-19 14:35:58 +02:00
Marian Buschsieweke
8f848e9b38
boards/msba2: Updated board documenation
2019-09-19 14:19:16 +02:00
Marian Buschsieweke
0c04e07740
boards/msba2: Added OpenOCD config
2019-09-19 14:19:16 +02:00
Dylan Laduranty
f276328491
Merge pull request #12267 from bergzand/pr/usbus/auto_tests
...
usbus: Add automated test
2019-09-19 09:52:48 +02:00
e3123f352e
tests/usbus: Add automated test for usbus init
2019-09-19 09:29:54 +02:00
5b477918b6
usbus: Rework handling of set control requests
2019-09-19 09:29:52 +02:00
711854562b
Merge pull request #12236 from twostairs/cpu_stm32_common_periph_gpip-pd
...
cpu/stm32_common/periph/gpio: Pull-down on gpio_init_af
2019-09-18 20:02:40 +02:00
07b3bc6918
nrfusb: Fix data stage handling of control writes
2019-09-18 08:11:44 +02:00
benpicco
7a818f0433
Merge pull request #12249 from nmeum/pr/gnrc_tcp_option_length_access
...
gnrc_tcp: check if option length field is present before accessing it
2019-09-17 23:22:53 +02:00
benpicco
f02095102f
Merge pull request #12031 from jcarrano/tlsf-malloc-fix-override
...
pkg/tlsf: Fix the way system functions are overriden.
2019-09-17 23:12:36 +02:00
benpicco
d5c272ed86
Merge pull request #12199 from smlng/fix_timer_returns
...
periph/timer: Fix return codes of timer API
2019-09-17 23:04:46 +02:00
Martine Lenders
98482b67c0
Merge pull request #12263 from benpicco/esp_now-fix
...
esp_now: fix unused variable warning
2019-09-17 21:59:01 +02:00
Martine Lenders
baebcef79e
Merge pull request #12265 from smlng/fix_sys_pipe_freebsd
...
sys/pipe: always include stdlib.h instead of malloc.h
2019-09-17 21:35:09 +02:00
Juan Carrano
cc907fa54e
pkg/tlsf: Fix the way system functions are overriden.
...
The correct way to overrride the malloc family of functions in newlib-nano is
to provide the *_r (reentrant) variants. Newlib implements the "normal"
functions on top of these (see the newlib source code). Also, internally it calls
the *_r functions when allocating buffers.
If only the "normal" non-reentrant functions are provided this will mean that
some of the code will still use the vanilla newlib allocator. Furthermore, if
one uses the whole heap as a pool for TLSF then the system may in the best case
crash as there is no enough memory for its internall allocations or in the worst
case function eratically (this depends on how the heap reserved, there is an
upcomming series of commits in that direction).
This commit splits the handling between newlib and native. It also prepares the
ground for future work on the pool initialization.
Right now I could only test this in ARM and native and I cannot ensure it will
work on other platforms. Replacing the system's memory allocator is not something
that can be taken lightly and will inevitably require diving into the depths of
the libc. Therefore I would say that using TLSF as a system wide allocator is ATM
supported officially only on those plaftorms.
Testing:
Aside from reading the newlib sources, you can see the issue in a live system
using the debugger.
Compile any example (with or without tlsf-malloc), grab a debugger and place
a breakpoint in sbrk and _sbrk_r. Doing a backtrace will reveal it gets called
by _malloc_r.
2019-09-17 21:18:50 +02:00
smlng
0f1eda14d5
sys/pipe: always include stdlib.h instead of malloc.h
...
The malloc.h file is deprecated on most systems and should not be
used, instead include stdlib.h which handles needed function in a
portable manner.
2019-09-17 20:43:33 +02:00
Martine Lenders
5631b698db
Merge pull request #11623 from miri64/gnrc_ipv6_ext/feat/ipv6-frag
...
gnrc_ipv6_ext_frag: Initial import of IPv6 fragmentation
2019-09-17 19:27:38 +02:00
Benjamin Valentin
9129ea7399
esp_now: fix unused variable warning
...
esp_now_pkt_hdr_t *hdr is only used if gnrc_sixlowpan is used,
so move it into the according #ifdef
fixes #12257
2019-09-17 19:02:47 +02:00
Martine Lenders
e62bb9c414
tests: provide tests for gnrc_ipv6_ext_frag fragmentation
2019-09-17 18:55:18 +02:00
Martine Lenders
51ef1c997d
gnrc_ipv6: use fragmentation if available
2019-09-17 18:55:18 +02:00