Francisco Acosta
0d95cc877b
Merge pull request #10273 from snej/master
...
cpu/esp32: allow explicit ESP32 crystal freq configuration
2018-11-01 14:04:57 +01:00
MichelRottleuthner
1606e16879
Merge pull request #10174 from Josar/pr/xtimer_hang/debug_pins
...
test/xtimer_hang: DEBUG_PINS
2018-11-01 10:20:06 +01:00
Leandro Lanzieri
85071318c7
Merge pull request #9740 from jcarrano/at_driver-fix-cast
...
drivers/at: fix invalid function pointer cast.
2018-11-01 09:56:04 +01:00
Gaëtan Harter
2fc5ad6bae
Merge pull request #10302 from cladmi/pr/make/docker/fix_riotproject_is_appdir
...
Makefile.include: Fix BUILDRELPATH when RIOTPROJECT is CURDIR.
2018-11-01 09:46:33 +01:00
Juan I Carrano
77dc923d7e
Merge pull request #10303 from cladmi/pr/make/docker/handle_worktree
...
makefiles/docker.inc.mk: handle building in git worktree
2018-10-31 15:39:31 +01:00
Juan I Carrano
e6e56de3f6
Merge pull request #10286 from cladmi/pr/make/bug/default_riotbase
...
Makefile.include: Fix default RIOTBASE when there is Makefile.local
2018-10-31 15:16:46 +01:00
josar
162d17c5a2
test/xtimer_hang: DEBUG_PINS
...
Add the option to use debug pins to investigate timing issues.
2018-10-31 12:41:43 +01:00
Cenk Gündoğan
f30d0a68d8
Merge pull request #10305 from jia200x/pr/fix_my9221_test
...
tests/driver_my9221: fix for loop indexes
2018-10-31 11:59:14 +01:00
Jose Alamos
b543f2dc67
tests/driver_my9221: fix for loop indexes
2018-10-31 10:59:51 +01:00
Juan Carrano
53de520619
drivers/at: fix invalid function pointer cast.
2018-10-31 10:58:43 +01:00
Jens Alfke
ce1fe776cf
cpu/esp32: allow explicit ESP32 crystal freq configuration
...
Some ESP32 boards (like my SparkFun ESP32 Thing) have a main clock
crystal that runs at 26MHz, not 40MHz. RIOT appears to assume 40MHz.
The mismatch causes the UART to not sync properly, resulting in
garbage written to the terminal instead of log output.
I’ve added:
* A new board configuration constant ESP32_XTAL_FREQ that defaults
to 40, but can be overridden by a board def or at build time to
force a specific value (i.e. 26).
* Some code spliced into system_clk_init() to check this constant and
call rtc_clk_init() to set the correct frequency.
* A copy of the rtf_clk_init() function from the ESP-IDF sources.
Fixes #10272
2018-10-30 16:42:07 -07:00
Lucas Jenß
6ed11de354
Merge pull request #10105 from x3ro/fix-shell-prompt-infinite-loop
...
Do not try to continue reading shell commands if input source is closed
2018-10-30 19:24:01 +01:00
Gaëtan Harter
61a3e5d685
makefiles/docker.inc.mk: handle building in git worktree
...
When building from a worktree, the common git directory was not mounted
in docker.
This lead to the version not being set and issues with git-cache in
ubuntu bionic that could not execute the 'git hash-object' command.
2018-10-30 19:21:12 +01:00
Lucas Jenss
62cecc9496
Do not try to continue reading shell commands if input source is closed
...
In RIOT native, sending CTRL+D to a shell started using shell_run would resulted in and
endless prompt loop. I've been unable to trigger such a behaviour
on actual hardware using a UART connection, but calling `pm_off` seemed
like a better alternative than having an `#ifdef BOARD_NATIVE`.
Fixes #9946
2018-10-30 19:06:42 +01:00
Gaëtan Harter
a5b2af1baf
Makefile.include: Fix BUILDRELPATH when RIOTPROJECT is CURDIR.
...
This fixes building an example that is outside of RIOT with docker and
also fixes building from a release archive.
2018-10-30 17:16:07 +01:00
Gaëtan Harter
f82ace910f
Makefile.include: Fix default RIOTBASE when there is Makefile.local
...
When an application only includes Makefile.include without specifying
RIOTBASE and uses a `Makefile.local` file, RIOTBASE would use a wrong
default value and get the value of the directory where `Makefile.local` is.
2018-10-30 17:08:57 +01:00
Emmanuel Baccelli
365d82ed09
Merge pull request #9829 from OTAkeys/pr/uuid_string
...
uuid: add uuid_to_string() and uuid_from_string()
2018-10-30 14:30:47 +01:00
José Alamos
18570b6fbc
Merge pull request #10265 from MrKevinWeiss/pr/fix/stmi2c
...
cpu/stm32_common/i2c: Fix error handling in i2c_1.c
2018-10-30 09:34:14 +01:00
Martine Lenders
d07ac86ea1
Merge pull request #10274 from gebart/gnrc/netif-rawmode-rxinfo
...
gnrc_netif_ieee802154: Provide LQI, RSSI in raw mode via netif_hdr
2018-10-29 19:06:14 +01:00
Martine Lenders
289e635e5a
Merge pull request #10281 from smlng/pr/riotversion
...
build: remove hostname from RIOT_VERSION string
2018-10-29 12:52:14 +01:00
Francisco Acosta
fc139f30e3
Merge pull request #9509 from Josar/pr/at86rf2xx_framebuffer
...
at86rf2xx: release framebuffer on recv with (len > 0) && (buf == NULL)
2018-10-29 11:43:45 +01:00
Gaëtan Harter
2adbb4669d
Merge pull request #10282 from aabadie/pr/tools/iotlab_archi
...
makefile.iotlab.single.inc.mk: add new supported nodes
2018-10-29 11:37:35 +01:00
smlng
7d1bf26128
build: remove hostname from RIOT_VERSION string
...
The hostname does not provide any additional or necessary information to
the RIOT_VERSION string. On the contrary, some might consider the hostname
as personal information, which should not be exposed unsolicitedly.
2018-10-29 09:02:47 +01:00
a3f2d20169
dist/testbed-support: add new iotlab archi
...
nrf52840dk and microbit
2018-10-28 18:57:17 +01:00
Joakim Nohlgård
1140b37c2d
Merge pull request #10278 from miri64/gnrc_pktbuf/doc/clarify-start-write
...
gnrc_pktbuf: clarify doc of _start_write()
2018-10-28 18:19:44 +01:00
Martine Lenders
99e3d780ea
gnrc_pktbuf: clarify doc of _start_write()
...
Resolves #10261
2018-10-28 17:28:24 +01:00
Joakim Nohlgård
21efb20184
Merge pull request #9725 from miri64/tests/enh/pkg_cmsis-dsp-testscript
...
tests/pkg_cmsis-dsp: provide testscript
2018-10-27 02:39:32 +02:00
Joakim Nohlgård
52ac53b4d9
gnrc_netif_ieee802154: Provide LQI, RSSI in raw mode via netif_hdr
...
Useful in sniffer situations to see the signal strength of a received
packet. Also avoids the crash described in
https://github.com/RIOT-OS/applications/pull/54
2018-10-27 00:22:51 +02:00
Josarn
d1261a7ef0
at86rf2xx: correct framebuffer release
...
This PR sets the tranceiver in PLL_ON state to avoid corruption of the
data in the frame buffer and sets it back to the last state which the
transceiver had before changing into transmit mode after the data is
read out. This is done to avoid data corruption when `_recv(...)` is
called to retrieve the buffer size and frame buffer protection is released.
2018-10-26 19:16:34 +02:00
f139dfdad2
Merge pull request #10266 from aabadie/pr/typo_freie
...
boards/*: fix typo Feie => Freie
2018-10-26 11:32:36 +02:00
2ebd88d0c4
boards/*: fix typo Feie => Freie
2018-10-26 10:26:59 +02:00
Martine Lenders
effd0c85a4
Merge pull request #10263 from gebart/sys/ps-rm-xtimer
...
sys/ps: Remove unused include xtimer.h
2018-10-26 10:24:59 +02:00
MrKevinWeiss
3e1fd9f494
cpu/stm32_common/i2c: Fix error handling in i2c_1.c
...
Errors flags could not clear making the i2c unusable after error.
This fix removes the error check in start so the error flags can clear and does proper checking for status bits before _bus_check.
2018-10-26 09:56:35 +02:00
Joakim Nohlgård
1f58c63ea4
sys/ps: Remove unused include xtimer.h
2018-10-26 09:03:46 +02:00
Martine Lenders
f597c6a6f9
Merge pull request #10226 from miri64/gnrc_pktbuf/enh/reverse-snips
...
gnrc_pktbuf: add gnrc_pktbuf_reverse_snips() helper function
2018-10-25 23:51:44 +02:00
Martine Lenders
d6ea335bfc
unittests: add tests for gnrc_pktbuf_reverse_snips()
2018-10-25 23:11:33 +02:00
Martine Lenders
a5c9f959b5
gnrc_ipv6: use gnrc_pktbuf_reverse_snips()
2018-10-25 23:11:33 +02:00
Martine Lenders
ac54a2d2b2
gnrc_pktbuf: add gnrc_pktbuf_reverse_snips() helper function
...
This allows for
a) testing the packet reversal properly in unittests
b) use it in other places than `gnrc_ipv6`'s receive function
2018-10-25 23:11:33 +02:00
Martine Lenders
85733a7568
Merge pull request #10255 from Lotterleben/examples_gnrc_net_add_reminder
...
examples/gnrc_networking/README: add make reminder, rm forced line breaks
2018-10-25 22:04:39 +02:00
Lotte Steenbrink
6ad781970c
examples/gnrc_networking/README.md: trim lines with > 72 chars
2018-10-25 21:44:15 +02:00
Lotte Steenbrink
dd1c32c011
examples/gnrc_networking/README.md: add make reminder
2018-10-25 21:42:34 +02:00
Martine Lenders
959e4491fa
Merge pull request #9702 from maribu/phydat_fit
...
sys/phydat: New phydat_fit API
2018-10-25 19:16:54 +02:00
Martine Lenders
466bc341a6
Merge pull request #10231 from miri64/gnrc_ipv6_ext/enh/move-rh-to-gnrc
...
gnrc_ipv6_ext: move ipv6_ext_rh (partly) to GNRC
2018-10-25 19:15:22 +02:00
danpetry
99ae495226
Merge pull request #10011 from leandrolanzieri/pr/drivers/ds18
...
drivers/ds18: Add Maxim Integrated 1-Wire temperature sensor driver
2018-10-25 17:26:10 +02:00
Gaëtan Harter
c5deac4865
Merge pull request #10023 from miri64/gnrc_netif/fix/no-addr-but-addr-len
...
gnrc_netif: Fix l2addr_len > 0, but no l2addr edge-case
2018-10-25 14:31:32 +02:00
Martine Lenders
bd06f7e846
Merge pull request #10250 from bergzand/pr/at86rf2xx/reenable_ack_req
...
at86rf2xx: Re-enable ack requests by default
2018-10-25 14:08:35 +02:00
MichelRottleuthner
da0f722a1c
Merge pull request #10245 from MichelRottleuthner/pr_l476rg_add_i2c_config
...
boards/nucleo-l476rg: add I2C configuration
2018-10-25 14:02:50 +02:00
Martine Lenders
390ddfba7c
tests/unittests: adapt for value name changes
2018-10-25 14:02:46 +02:00
Gaëtan Harter
40187e81fa
Merge pull request #10184 from bergzand/pr/tests/tweetnacl_move
...
tests/tweetnacl: Move from unittests to regular test
2018-10-25 12:27:16 +02:00
c3da55b015
at86rf2xx: Re-enable ack requests by default
...
Properly splitting the flags between netdev_ieee802154 and the at86rf2xx
driver had as side effect that the ACK REQ flag was no longer set by
default. This commit reverts the default settings by enabling it again
on startup. The current code calls the generic netdev setter to set the
flag.
2018-10-25 12:17:02 +02:00