24053 Commits

Author SHA1 Message Date
Alexandre Abadie
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
francisco
1e0f44c28a kinetis/Makefile.include: cleanup unused LINKFLAGS
- _rom_start_addr, _ram_start_addr, _rom_length and _ran_length are
  already defined in cortexm_common/Makefile.included and can therefore
  be removed from kinetis/Makefile.include
- _ram_base_addr is never used and was not in commit history so
  is also removed
2019-06-04 18:11:55 +02:00
francisco
985ee95d41 tests/cortexm_common_ld_script: add kinetis to whitelist 2019-06-04 18:11:55 +02:00
francisco
f0311ce1fa kinetis/ldscript: include _rom_offset
- To be able to flash at an offset the vector table must be
  relocated accordingly to the IMAGE_OFFSET, therefore linkage
  needs to take the offset into account.
2019-06-04 18:05:35 +02:00
francisco
43182bd8f7 cortexm_common/ldscript: use cortexm_rom_offset.ld 2019-06-04 18:05:35 +02:00
francisco
1e5a485539 cortexm_common/ldscript: add common script for rom_offset calculation 2019-06-04 18:05:35 +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
Alexandre Abadie
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
24a54fe853
tests/mcuboot: handle building 'mcuboot' in docker
When using BUILD_IN_DOCKER only make 'all' execute 'mcuboot' target when
inside the container. Otherwise it will execute it using your host
toolchain.

This is a hack and could be prevented by having a file target put in
FLASHFILE.

This does currently not allow flashing after building in docker as
flashing should be done with `mcuboot-flash` which will not be done in
docker. It would require the `FLASHFILE` fix to be done properly.
2019-06-03 18:09:32 +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
Juan Carrano
7f1357b721 tools/usb-serial: do not advise people to export PORT.
The example in the tool documentation contains several things that are
wrong:

- exports PORT.
- Defines the port using :=.
- Defines PORT instead of PORT_LINUX, PORT_DARWIN
- ifeq-based logic (which will force an evaluation).

I have not tested the new example script.
2019-06-03 16:31:31 +02:00
Gaëtan Harter
c103b3f6ba serial: Do not export PORT.
This variable is only used for the term recipe (and maybe for flashing). They
should not be evaluated if they are not needed and the user should not see a
warning that the port is not set if he does not use port (for example in make
all.)
2019-06-03 16:31:21 +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
Alexandre Abadie
af7331dd41
boards/phynode-kw41z: use common kw41z board configuration 2019-06-03 13:06:30 +02:00
Alexandre Abadie
13c89b5feb
boards/kw41z: move boards common kw41z to specific boards
usb-kw41z and frdm-kw41z are affected by this change.
2019-06-03 13:06:01 +02:00
Alexandre Abadie
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
Alexandre Abadie
06013cf443
tools/buildsystem_sanity_check: blacklist PROGRAMMER_SERIAL variable 2019-06-03 10:32:09 +02:00
Alexandre Abadie
b464ecea3d
boards/cc2538dk: don't export PROGRAMMER_SERIAL 2019-06-03 10:32:08 +02:00
Alexandre Abadie
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
Alexandre Abadie
79a2db89e0
makefiles/tools: remove useless export when setting DEBUG_ADAPTER_ID 2019-06-03 10:32:08 +02:00
Alexandre Abadie
6ecc16dd5d
makefiles/sam0: remove useless export when setting DEBUG_ADAPTER 2019-06-03 10:32:08 +02:00
Alexandre Abadie
4cde5a47e2
boards/mulle: remove useless export when setting DEBUG_ADAPTER_ID 2019-06-03 10:32:08 +02:00