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

22548 Commits

Author SHA1 Message Date
Hauke Petersen
44625ecc1b boards/nrf51-based: split shared timer/rtt config 2019-06-05 09:53:15 +02:00
Gaëtan Harter
fcd7f2233a
Merge pull request #11615 from cladmi/pr/cpu/atmega_common/ldscripts_compat/doc
cpu/atmega*/ldscripts_compat: add command to generate ldscript
2019-06-03 16:49:38 +02:00
Gaëtan Harter
40e7dd3e6b
cpu/atmega*/ldscripts_compat: add command to generate ldscript
Add the command to generate the ldscript in the documentation.
It was only in the commit message before and had a typo 's/--mmcu/-mmcu/'.
2019-06-03 16:11:19 +02:00
Gaëtan Harter
9bbc6523f9
Merge pull request #9906 from smlng/pr/default_periph_common
periph_common: add as dependency to periph drivers
2019-06-03 15:40:33 +02:00
smlng
2de4b3011b periph_common: add as dependency to periph drivers
Rational: the periph_common module is required by (most) other periph drivers
and also during startup of the CPU/MCU to run periph_init. The latter is only
required if other periph drivers are used, hence periph_common should be a
depency of periph_* modules and *not* of the CPU/MCU. This PR fixes that
by making periph_common a depency of periph_* and removing the explicit
include in the CPU/MCU implementation.
2019-06-03 13:44:10 +02:00
Kevin "Bear Puncher" Weiss
2ba303bc84
Merge pull request #11617 from cladmi/pr/uniflash/fix_empty_line_with_reset_flags
makefiles/tools/uniflash.inc.mk: remove empty RESET_FLAGS
2019-06-03 13:15:59 +02:00
b92f6a424a
Merge pull request #11502 from dylad/pr/saml21_pl2
cpu/saml21: set PL2 by default
2019-06-03 12:30:41 +02:00
Gaëtan Harter
029cd161f1
makefiles/tools/uniflash.inc.mk: remove empty RESET_FLAGS
Remove the line with only 'RESET_FLAGS'. This was a migration mistake
when removing 'export'.
2019-06-03 12:29:41 +02:00
Leandro Lanzieri
f56709e0bb
Merge pull request #9726 from jcarrano/lua-loader-fix
pkg/lua: Make the module searchers conform to the API.
2019-06-03 11:47:06 +02:00
Gaëtan Harter
0d090ad7cb
Merge pull request #11614 from aabadie/pr/make/export_debug_adapter_remove
make: boards: remove use of export with debug adapter related variables
2019-06-03 10:46:34 +02:00
06013cf443
tools/buildsystem_sanity_check: blacklist PROGRAMMER_SERIAL variable 2019-06-03 10:32:09 +02:00
b464ecea3d
boards/cc2538dk: don't export PROGRAMMER_SERIAL 2019-06-03 10:32:08 +02:00
4b4b5106c9
tools/buildsystem_sanity_check: blacklist new variables
DEBUG_ADAPTER, DEBUG_ADAPTER_ID, STLINK_VERSION are now blacklisted from exported variables
2019-06-03 10:32:08 +02:00
79a2db89e0
makefiles/tools: remove useless export when setting DEBUG_ADAPTER_ID 2019-06-03 10:32:08 +02:00
6ecc16dd5d
makefiles/sam0: remove useless export when setting DEBUG_ADAPTER 2019-06-03 10:32:08 +02:00
4cde5a47e2
boards/mulle: remove useless export when setting DEBUG_ADAPTER_ID 2019-06-03 10:32:08 +02:00
414c304f2b
boards/*: remove useless export when setting DEBUG_ADAPTER 2019-06-03 10:32:08 +02:00
Francisco
f8c070c06c
Merge pull request #11552 from aabadie/pr/pkg/semtech-loramac-persist-otaa
pkg/semtech-loramac: provide basic persistence for MAC state
2019-06-03 08:47:37 +02:00
Juan I Carrano
0d88de90c3
Merge pull request #11591 from benpicco/noinit_move
ldscripts: move .noinit section behind .bss section
2019-05-31 18:23:00 +02:00
Juan Carrano
913f74b90b tests/lua_loader: test the RIOT-customized lua loader.
For the RIOT port of Lua, the module loader has been more or less
rewritten to allow for easily integrating source modules defined in static
arrays and C modules embedded in the application.

So  far the loader had not been tested (and a bug was found). This test
should give a bit more certainty that the RIOT integration works as it
should.
2019-05-31 17:16:06 +02:00
Juan Carrano
56eb7d9d92 pkg/lua: detect if weak symbol has been overriden.
After removing the default definitions of lua module tables and table
lengths (see lua_builtin.h) the symbols have been left undefined, which
results in them getting an address of NULL and a crash if there are no
user symbols and the user attempts a "require".

This patch checks the address of the table length variable and fails the
module search function of the table is not set (i.e. it behaves as if the
table was empty.)
2019-05-31 17:15:41 +02:00
Juan Carrano
fe07bff90c pkg/lua: Make the module searchers conform to the API.
The module searchers in the `require` package should return a string
if the module is not found, and not raise an error.

See: https://www.lua.org/manual/5.3/manual.html#pdf-package.searchers

Also make error strings contain newlines and tabs just like the original
ones.
2019-05-31 17:15:04 +02:00
dylad
f7ee2d2e15 cpu/saml21: set PL2 by default 2019-05-30 21:51:13 +02:00
ba8e7e5eaf
pkg/semtech-loramac: persist updated RX2 params
After a successful OTAA join procedure, the network may change the RX2 channel datarate. It's
required to also persist to be able to correctly receive downlink after a reboot
2019-05-30 13:41:54 +02:00
bcad9ee517
pkg/semtech-loramac: update documentation with persistence mecanism 2019-05-30 13:41:54 +02:00
b4d905471f
pkg/semtech-loramac: persist OTAA join information in eeprom
This allows to continue sending data even after a reboot of a device that provide non volatile storage, e.g. eeprom
2019-05-30 13:41:54 +02:00
Francisco
d1f06bd9c7
Merge pull request #8855 from aabadie/pr/pkg/semtech-loramac_shell
sys/shell: add loramac shell command
2019-05-29 18:06:05 +02:00
Peter Kietzmann
3e33c11c16
Merge pull request #11606 from leandrolanzieri/pr/tests/shell_stdio_rtt_fix
tests/shell: Initialize xtimer when stdio_rtt is used
2019-05-29 17:41:49 +02:00
Juan I Carrano
c6affd7388
Merge pull request #11602 from cladmi/pr/unittests/clean_board_insufficient_memory
tests/unittests: enable boards with enough memory
2019-05-29 17:23:13 +02:00
Leandro Lanzieri
859250c66f tests/shell: Init xtimer when stdio_rtt is used 2019-05-29 17:18:30 +02:00
fd9b3c7b84
tests/pkg_semtech-loramac: use auto-init to initialize the mac 2019-05-29 16:53:53 +02:00
4e3e174c95
sys/shell/loramac: use global loramac variable 2019-05-29 16:53:53 +02:00
e697cd5878
sys/auto_init: add auto_init_loramac function 2019-05-29 16:53:52 +02:00
fdeba82b16
tests/pkg_semtech-loramac: use system shell command 2019-05-29 16:53:52 +02:00
5b8c1e2d26
sys/shell: add loramac command to the shell 2019-05-29 16:53:52 +02:00
Francisco
ba84ad4b95
Merge pull request #11541 from aabadie/pr/pkg/semtech-loramac-rx-thread
pkg/semtech-loramac: rework interaction with the MAC
2019-05-29 16:43:36 +02:00
56fb2578bf
tests/pkg_semtech-loramac: use semtech_loramac_rx with supported boards 2019-05-29 16:24:53 +02:00
14a4db137c
tests/pkg_semtech-loramac: conditionally build RX related code 2019-05-29 16:24:52 +02:00
b5c48ef04e
pkg/semtech-loramac: make RX optional 2019-05-29 16:24:52 +02:00
f2c63c86fd
examples/lorawan: remove recv call to avoid endless lock
This can highly happen when no message is received from the network after a send
2019-05-29 16:24:23 +02:00
032f89145a
pkg-semtech-loramac: update/simplify doxygen documentation 2019-05-29 16:24:23 +02:00
0838cf99bb
tests/pkg_semtech-loramac: add RX thread for downlink messages 2019-05-29 16:24:23 +02:00
b7890b3031
pkg/semtech-loramac: refactor send and recv interactions with the MAC
Now TX notification messages are only sent after mcps confirm event. RX message notification message is sent after mcps indication
2019-05-29 16:24:23 +02:00
d1798375e0
pkg/semtech-loramac: reduce MAC thread message queue 2019-05-29 16:24:22 +02:00
Leandro Lanzieri
bf1b38aabe
Merge pull request #11503 from MrKevinWeiss/pr/cc2538/uartmode
cpu/cc2538: Add periph_uart_mode implementation
2019-05-29 16:00:09 +02:00
Cenk Gündoğan
500d2cecec
Merge pull request #11604 from leandrolanzieri/pr/tools/jlink_term_fix
tools/jlink: Fix do_term
2019-05-29 15:53:25 +02:00
Cenk Gündoğan
e34a133428
Merge pull request #11560 from benpicco/rpl/of-api-update
RPL: API update suggestions
2019-05-29 15:44:39 +02:00
42c1da8171 gnrc_rpl: update OF API
- dodag->parents already points to the preferred parent, so give dodag to calc_rank directly
 - remove unused which_parent function
2019-05-29 15:11:18 +02:00
Juan I Carrano
245f04a33d
Merge pull request #11545 from cladmi/pr/kinetis/flash_no_arm_toolchain
cpu/kinetis: allow flashing without toolchain
2019-05-29 13:51:30 +02:00
Kevin "Bear Puncher" Weiss
4922321f1f
Merge pull request #11585 from fedepell/i2c_reg_endianess_2
periph/i2c: handle i2c register write/read helper function correctly in big endian
2019-05-29 11:54:24 +02:00