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

22576 Commits

Author SHA1 Message Date
35af9b9fb7
usb: Add generic USB structs and functions 2019-06-05 14:22:12 +02:00
Martine Lenders
b4fbfd7a7c
Merge pull request #11633 from bergzand/pr/usb/fix_usbdev_wrapper
usbdev: fix usbopt argument for getter/setter wrappers
2019-06-05 12:59:45 +02:00
Martine Lenders
8c5433d5db
Merge pull request #11624 from acsl-mipt/pr_sys_tsrb
sys/tsrb: bug fix for tsrb_get_one()
2019-06-05 12:24:24 +02:00
20b94e9c56
usbdev: fix usbopt argument for getter/setter wrappers 2019-06-05 12:06:10 +02:00
e53b117563
Merge pull request #11625 from haukepetersen/opt_nrf51_timerrttcfg
boards/nrf51-based: split shared timer/rtt config
2019-06-05 12:00:27 +02:00
Hauke Petersen
44625ecc1b boards/nrf51-based: split shared timer/rtt config 2019-06-05 09:53:15 +02:00
Martine Lenders
c81ff3862c
Merge pull request #11628 from haukepetersen/opt_nimble_doc
pkg/nimble: cleanup doxygen groups for submodules
2019-06-05 09:29:23 +02:00
Leandro Lanzieri
8068a83edf
Merge pull request #11629 from cladmi/pr/boards/lobaro-lorabox-flashfile
boards/lobaro-lorabox: use FLASHFILE for boards using stm32loader.py
2019-06-05 09:24:48 +02:00
Martine Lenders
fcc8427ff3
Merge pull request #11608 from haukepetersen/opt_calliope_rmfscopyflasher
board/calliope-mini: use openocd as default flasher and rm fscopy
2019-06-04 22:09:48 +02:00
Martine Lenders
6b582fd5d0
Merge pull request #11593 from miri64/ipv6_ext/feat/frag
ipv6_ext: add fragmentation extension definitions
2019-06-04 17:12:51 +02:00
Martine Lenders
413c6d15e7
Merge pull request #11627 from cladmi/pr/native/toolchain_duplication
boards/native: remove toolchain variables duplication
2019-06-04 16:39:44 +02:00
Gaëtan Harter
84d7e37b11
boards/lobaro-lorabox: use FLASHFILE for boards using stm32loader.py
Update to use FLASHFILE as file to be flashed on the board.
2019-06-04 16:37:32 +02:00
bfeabb3ad9
Merge pull request #11609 from haukepetersen/opt_microbit_rmfscopyflasher
board/microbit: use openocd and remove fscopy
2019-06-04 16:25:27 +02:00
Martine Lenders
3e6cfcdb8c tests: provide unittests for ipv6_ext_frag 2019-06-04 16:24:28 +02:00
Martine Lenders
2434197837 ipv6_ext: add fragmentation extension definitions 2019-06-04 16:24:28 +02:00
Hauke Petersen
5d96471abf pkg/nimble: cleanup doxygen groups for submodules 2019-06-04 16:14:41 +02:00
Gaëtan Harter
eb3398d294
Merge pull request #11619 from cladmi/pr/make/exports/port_linux_darwin
board: remove exporting PORT_LINUX|PORT_DARWIN
2019-06-04 16:02:11 +02:00
Gaëtan Harter
9c5688ea27
boards/native: remove toolchain variables duplication
The toolchain variables were overwritten anyway in
`makefiles/toolchain/gnu|llvm.inc.mk` as they use `=` affectation,
except for `OBJCOPY`.

On my Linux ubuntu bionic machine, the only difference for `info-build`
with both gnu/llvm and also with LTO=1
is that it now uses an absolute path for `objcopy`

    -OBJCOPY: objcopy
    +OBJCOPY: /usr/bin/objcopy

On the OSX 17.7.0 I tested, there was no difference.
2019-06-04 16:00:24 +02:00
Hauke Petersen
7c369e9fb3
Merge pull request #11622 from miri64/gnrc_ipv6_ext/fix/nettype
gnrc_ipv6_ext: fix packet snip type for header build function
2019-06-04 15:33:46 +02:00
Hauke Petersen
f163162454 boards/microbit: remove fscopy shell script 2019-06-04 15:27:58 +02:00
Hauke Petersen
cd998f6a2d boards/microbit: use openocd as default programmer 2019-06-04 15:27:58 +02:00
Martine Lenders
236cfffc28
Merge pull request #11296 from haukepetersen/add_nimble_ipsp
ble/nimble: add support for build-in IPSS service
2019-06-04 15:15:04 +02:00
Hauke Petersen
9428254b72 boards/calliope: remove fscopy script 2019-06-04 15:10:14 +02:00
Hauke Petersen
8d03a83c2a boards/calliope: use openocd as default programmer 2019-06-04 15:10:14 +02:00
Hauke Petersen
fb3febab7f ble/nimble: add support for build-in IPSS service 2019-06-04 14:48:42 +02:00
korotkoves
ecd64faeb4 tsrb: bug fix for tsrb_get_one() 2019-06-04 12:34:10 +03:00
Martine Lenders
731ef19970 gnrc_ipv6_ext: fix packet snip type
The `pkt->type` of an extension header should be
`GNRC_NETTYPE_IPV6_EXT` so it can be parsed properly as an extension
after building.
2019-06-04 10:47:02 +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
6c529458f1
dist/tools/buildsystem_sanity_check/: check no PORT_ exports
Add sanity check for removed exports.
2019-06-03 16:24:48 +02:00
Gaëtan Harter
675bd5eec0
board: remove exporting PORT_LINUX|PORT_DARWIN
PORT_LINUX and PORT_DARWIN are evaluated by
`makefiles/tools/serial.inc.mk` and some boards Makefile.include.
Their value does not need to be exported.

This also globally removes the line saying that the exports are needed
for flash rule.
2019-06-03 16:21:28 +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