Gunar Schorcht
de64d2e384
cpu/esp32: _uart_config function moved
...
For consistency reasons, internal function _uart_config was moved to the section of internal functions.
2019-03-26 09:57:44 +01:00
Olaf Bergmann
db615302a2
[tinydtls] Makefile.include: fixed GNRC vs. posix_sockets
...
When WITH_RIOT_GNRC is set in CFLAGS, tinydtls will use a more
compact address representation based on ipv6_addr_t instead of
POSIX-style sockaddr_in6 to identify sessions (cf. struct session_t).
When posix_sockets are used (as in libcoap, e.g.), the POSIX
address representation should be selected automatically for
consistency. This change adds -DWITH_RIOT_GNRC to CFLAGS only
when the module posix_sockets is not selected.
2019-03-26 08:52:10 +01:00
Gunar Schorcht
ec44ee7fb8
cpu/esp32: additional _ removed from __uart_*
...
An additional _ for static symbols has been added by mistake and should be removed. This will make future merging with the reimplementation of ESP8266 easier.
2019-03-26 08:14:00 +01:00
c697a3bfd8
usbdev: extend events with suspend/resume
2019-03-25 21:03:21 +01:00
Dylan Laduranty
784af0a9c8
Merge pull request #11213 from bergzand/pr/usb/periph_init
...
usbdev: Add low level initialization to `periph_init()`
2019-03-25 20:49:25 +01:00
Hauke Petersen
f5467ef9f1
net/ble: cleanup doxygen grouping
2019-03-25 19:04:05 +01:00
Gaëtan Harter
ec4d83727a
Makefile.include: add a 'test/available' target
...
This allows querying the build system if there are test available.
Before, one should rely on 'info-debug-variable-TESTS' to print the list
of test files. But was not reliable as sometime the build system printed
messages anyway.
BOARD=esp32-wroom-32 make --silent --no-print-directory \
-C examples/hello-world/ info-debug-variable-TESTS
ESP32_SDK_DIR should be defined as /path/to/esp-idf directory
ESP32_SDK_DIR is set by default to /opt/esp/esp-idf
# empty line here
Now the return code can be trusted.
2019-03-25 16:17:26 +01:00
Gaëtan Harter
45e1b47b26
Makefile.include: declare 'test' PHONY
2019-03-25 16:16:25 +01:00
Kevin "Bear Puncher" Weiss
096e4a2354
Merge pull request #11240 from maribu/i2c_scan
...
shell: Add command i2c_scan
2019-03-25 15:25:17 +01:00
Marian Buschsieweke
6b0082bb3f
shell: Add command i2c_scan
...
Add a trivial shell program that scans for all slaves on an I2C bus by iterating
all of the possible 127 I2C addresses and checking for the ACK of the device.
2019-03-25 14:10:04 +01:00
Kevin "Bear Puncher" Weiss
d660888150
Merge pull request #11082 from OTAkeys/pr/stm32_i2c_2_restart_error
...
cpu/stm32_common/i2c_2: reset i2c when timeout during start condition
2019-03-25 13:20:11 +01:00
MichelRottleuthner
2eecd6d215
Merge pull request #11259 from MrKevinWeiss/pr/i2c/fixnacktimeoutstmf1
...
cpu/stm32_common: Fix i2c_2 NACK stopping twice
2019-03-25 13:17:34 +01:00
Vincent Dupont
dc5f58dcc8
cpu/stm32_common/i2c_2: reset i2c when timeout during start condition
2019-03-25 12:48:06 +01:00
MrKevinWeiss
2e37add109
cpu/stm32_common: Fix i2c_2 NACK stopping twice
...
There is an error when the start byte NACKs
The nack sets the stop bit twice which keeps the stop bit high the next time
When the stop bit is high it creates a timeout when trying to use
This commit fixes so when a NACK occures on the address it doesn't stop twice
2019-03-25 12:19:31 +01:00
afa261194b
Merge pull request #11245 from gschorcht/tests/malloc/fix
...
tests/malloc: fix of dereferencing a NULL pointer
2019-03-25 08:40:24 +01:00
Semjon Kerner
253cf0f9fc
Merge pull request #11176 from bergzand/pr/nrf802154/undef_memcpy
...
nrf802154: don't call memcpy if iolist->iol_len==0
2019-03-25 08:09:59 +01:00
Emmanuel Baccelli
1859d03a5a
Merge pull request #11249 from dylad/pr/saml1x_waitstate
...
cpu/saml1x: set wait state according to datasheet
2019-03-24 23:40:51 +01:00
930dd0aad9
Merge pull request #11253 from aabadie/pr/tools_pyocd_offset
...
tools/pyocd: add option for image offset
2019-03-24 18:35:49 +01:00
e2a162b79d
tools/pyocd: add option for image offset
2019-03-24 16:48:45 +01:00
e830462bf2
boards/nrf52840-mdk: fix device type used with pyocd
...
This allows pyOCD to use the right memory values, especially flash size and pyOCD 0.14.1 has support for nrf52840.
2019-03-24 16:48:29 +01:00
Gaëtan Harter
6bbd3a5c27
Merge pull request #11247 from MrKevinWeiss/pr/tests/doc
...
tests/doc: Add intial how to test doc
2019-03-24 15:59:19 +01:00
MrKevinWeiss
7bd633a8b2
tests/doc: Add intial how to test doc
...
This commit adds a README.md to the testing folder.
It explains the basic about how to run a test with testrunner.
It adds a reference so it will be displayed on the doxygen docs.
There currently is not obvious documentation for running tests.
2019-03-24 15:15:35 +01:00
Martine Lenders
bcb6b921d3
Merge pull request #11255 from aabadie/pr/gnrc_netif_nrfmin_fix
...
net/gnrc_netif/nrfmin: put NETOPT_PROTO assert at the right place
2019-03-24 15:01:50 +01:00
5fa2528185
net/gnrc_netif/nrfmin: put NETOPT assert at the right place
...
NETOPT depends on GNRC_SIXLOWPAN and should be moved inside the corresponding preprocessor conditional code
2019-03-24 14:34:12 +01:00
19781098cb
Merge pull request #11136 from jia200x/pr/gnrc_netif_lora
...
gnrc_netif: add NETDEV_TYPE_LORA to L2ADDR check
2019-03-24 11:43:01 +01:00
Jose Alamos
83ba971412
gnrc_netif: add NETDEV_TYPE_LORA to L2ADDR check
2019-03-24 11:10:41 +01:00
1f937cedb7
Merge pull request #11141 from fjmolinas/stm32l0_bootloader
...
stm32l0: add riotboot support
2019-03-24 10:48:48 +01:00
dylad
82aa6c0280
cpu/saml1x: set wait state according to datasheet
2019-03-24 10:43:40 +01:00
francisco
9624a34e86
boards/b-072z-lrwan1: provide riotboot feature
2019-03-24 10:05:53 +01:00
Hauke Petersen
eae103cbd7
unittests/core: added tests for clist_count
2019-03-23 23:47:25 +01:00
Hauke Petersen
c71fb4a435
core/clist: add clist_count()
2019-03-23 23:29:53 +01:00
10b783d82c
Merge pull request #11211 from aabadie/cpu_stm32f3_cpu
...
cpu/stm32: add STOP and STANDBY low-power for stm32f3, unify for all stm32
2019-03-23 20:59:22 +01:00
francisco
235d5ce835
boards/nucleo-l073rz: provide riotboot feature
2019-03-23 20:38:20 +01:00
Francisco Acosta
c0d907addc
Merge pull request #11242 from gschorcht/sys/riotbboot/slot/doxygen_fix
...
sys/riotboot: doxygen fix in slot.h
2019-03-23 14:22:12 +01:00
Emmanuel Baccelli
5c66b1fa4a
Merge pull request #11244 from aabadie/pr/boards/nrf52840-mdk-802154
...
boards/nrf52840-mdk: add missing dependency to 802154 driver
2019-03-23 14:01:54 +01:00
Gunar Schorcht
136849661a
tests/malloc: fix of dereferencing a NULL pointer
...
If the memory is exhausted during the allocation of the new `head` structure, subsequent accesses to `head` will result in dereferencing of a NULL pointer.
2019-03-23 14:01:28 +01:00
d5eda42b65
examples/default: add nrf52840-mdk to boards with netif
2019-03-23 13:41:02 +01:00
e7f8e46114
boards/nrf52840-mdk: add missing dependency to 802154 driver
2019-03-23 13:40:18 +01:00
d11aa05fb5
Merge pull request #10888 from aabadie/pr/cpu/kinetis_romlen_fix
...
cpu/kinetis: fix values stored in ROM_LEN/RAM_LEN variables
2019-03-23 13:15:25 +01:00
e5831cf321
tests/pkg_semtech-loramac: add note about duty-cycle disabling
2019-03-23 13:14:26 +01:00
e089b1eb02
cpu/kinetis: define ROM_LEN with a non arithmetic value
...
It must be evaluated in `cortexm_common` without a shell context.
The `K` is correctly handled by both the linker and `cortexm_common`.
Co-authored-by: Gaëtan Harter <gaetan.harter@fu-berlin.de>
2019-03-23 12:14:21 +01:00
Gunar Schorcht
85319e23d5
sys/riotboot: doxygen fix in slot.h
2019-03-23 11:27:30 +01:00
4e827085f7
pkg/semtech-loramac: provide a way to disable dutycycle
...
Duty cycle can be disabled by building the application using CFLAGS=-DDISABLE_LORAMAC_DUTYCYCLE
2019-03-23 07:38:38 +01:00
b4bb144006
nrf802154: don't call memcpy if iolist->iol_len==0
2019-03-22 19:00:53 +01:00
01fb5335a2
Merge pull request #11234 from maribu/sched_typo
...
core/sched: Fixed typo
2019-03-21 22:42:38 +01:00
Marian Buschsieweke
435f798a2b
core/sched: Fixed typo
2019-03-21 22:00:37 +01:00
Hauke Petersen
d293d3ece0
net/bluetil/ad: add bluetil_ad_find_and_cmp()
2019-03-21 21:50:34 +01:00
Hauke Petersen
eca26c91cd
pkg/nimble: fix include guards in nimble_riot.c
2019-03-21 21:39:15 +01:00
b19fa40104
Merge pull request #11228 from maribu/msp430fxyz_missing_include
...
cpu/msp430fxyz: Add missing #include
2019-03-21 20:23:23 +01:00
d6fb676814
stm32l0/pm: clear wakeup flags when setting STOP mode.
2019-03-21 19:42:08 +01:00