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

22888 Commits

Author SHA1 Message Date
660b375082
tests/pkg_semtech-loramac: don't init mac from main
This application already uses auto_init and semtech_loramac_init is already called from auto_init_loramac
2019-07-03 14:42:26 +02:00
1d7b825122
Merge pull request #11774 from kaspar030/murdock_fast_start
murdock: chunked get_jobs()
2019-07-03 14:23:33 +02:00
c704d4a274 murdock: make get_compile_jobs() return subjobs
This change allows callers to receive the job list of individual apps in
chunks (instead of all at once after all appdirs have been processed),
if run as dwq job itself.

E.g.,

    $ dwqc ./.murdock get_compile_jobs

would previously run "get_compile_jobs()" as one job, collecting all the
output from "get_app_board_toolchain_pairs()" subjobs, then return the
combined output as job result.

By using subjobs, the job returns right away, but has previously sent
the "get_app_board_toolchain_pairs" jobs as subjobs ti the initial
instance, which will also wait for all of them to complete, but
already print subjob output as it is received.
2019-07-02 22:06:33 +02:00
a0caf62ebf murdock: add prefix support to get_app_board_toolchain_pairs()
Previously, get_app_board_toolchain_pairs() took the appdir as only
parameter and produced "$appdir $board:$toolchain" tuples.
This commit makes get_app_board_toolchain_pairs() prefix each tuple with
any additional args, e.g.,

    get_app_board_toolchain_pairs() tests/hello_world ./murdock compile

->

    ./murdock compile tests/hello_world samr21-xpro:gnu

This allows getting rid of the xargs call in get_compile_jobs().
2019-07-02 22:06:33 +02:00
a01e70a4ab
Merge pull request #11775 from aabadie/pr/riotboot/flashwrite_typo
riotboot/flashwrite: fix typo in doxygen documentation
2019-07-02 13:19:56 +02:00
22796b7438
riotboot/flashwrite: fix typo in doxygen documentation 2019-07-02 11:39:51 +02:00
6e08151efe murdock: make _greplist() not return error code on empty list 2019-07-02 10:26:43 +02:00
Kevin "Bear Puncher" Weiss
2ebd65ff86
Merge pull request #11675 from cladmi/pr/boards/common/use_makefile_features
boards/common: use Makefile.features
2019-07-02 10:21:20 +02:00
5c676dea23 murdock: split get_jobs() 2019-07-01 23:59:22 +02:00
cladmi
ec312492ee
boards/remote: use common/remote/Makefile.features
Introduce and use a common/remote/Makefile.features.
The boards were already using the common `Makefile.include` and
`Makefile.dep`.

This makes 'include $(RIOTCPU)/cc2538/Makefile.features' be done in
the same module where 'CPU' is defined.

Preparation for moving 'CPU' definition to Makefile.features.
2019-07-01 18:09:57 +02:00
cladmi
5b00d3a942
boards/msba2-based: use common/msba2/Makefile.features
Introduce and use a common/msba2/Makefile.features.
The boards were already using the common `Makefile.include` and
`Makefile.dep`.

This makes 'include $(RIOTCPU)/lpc2387/Makefile.features' be done in
the same module where 'CPU' is defined.

Preparation for moving 'CPU' definition to Makefile.features.
2019-07-01 18:09:57 +02:00
cladmi
6be662a48b
boards/msp30: use common/msb-430/Makefile.features
Use the common `msb-430/Makefile.features` instead of duplicating the
`cpu` include.
2019-07-01 18:09:57 +02:00
cladmi
38e0ce3d54
boards/bluepill/blackpill: always include common Makefile.features
The file is there so no reason to have an include if file exists.
2019-07-01 18:09:57 +02:00
Kevin "Bear Puncher" Weiss
9b4c01c2dd
Merge pull request #11478 from cladmi/pr/make/makefile_features
Makefile.features: prerequisites for moving CPU/CPU_MODEL to boards/Makefile.features
2019-07-01 17:52:07 +02:00
Gaëtan Harter
fecc9c178d
Makefile.dep: include CPU/Makefile.dep when CPU is defined
Prepare for when boards define `CPU` in `BOARD/Makefile.features`.

Include '$(RIOTCPU)/$(CPU)/Makefile.features' directly when it is
defined. This will allow removing the file inclusion from the
`BOARD/Makefile.dep`. The board must then not include it directly.

Transitional change to allow migrating part by parts.

Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.

This can currently trigger including two times the cpu/CPU/Makefile.dep
but allows a by board complete migration.
2019-07-01 17:23:14 +02:00
Gaëtan Harter
376b09b875
Makefile.features: include CPU/Makefile.features when CPU is defined
Prepare for when boards define `CPU` in `BOARD/Makefile.features`.

Include '$(RIOTCPU)/$(CPU)/Makefile.features' directly when it is
defined. This will allow removing the file inclusion from the
`BOARD/Makefile.features`. The board must then not include it directly.

Transitional change to allow migrating part by parts.

Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-07-01 17:23:14 +02:00
Gaëtan Harter
5c0ba89e81
makefiles/vars.inc.mk: update doc on CPU/CPU_MODEL definition
Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-07-01 17:23:14 +02:00
Gaëtan Harter
3125d6f979
Makefile.features: add doc on CPU/CPU_MODEL definition in board
Describe the ongoing migration.

Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-07-01 17:23:14 +02:00
cladmi
168cb62ba5
makefiles/info-global.inc.mk: Reset CPU/CPU_MODEL value when reading deps
Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-07-01 17:23:14 +02:00
Francisco
bc6303fb59
Merge pull request #11750 from aabadie/pr/cpu/stm32l1-4_flashpage_numof
cpu/stm32l{1,4}: refactor flashpage numof macros
2019-07-01 14:58:10 +02:00
Francisco
50055726e0
Merge pull request #11751 from aabadie/pr/boards/stm32f3_riotboot
boards/stm32f3: add support for riotboot feature
2019-07-01 14:50:55 +02:00
a1d0192e48
boards/nucleo-f3xx: add support for riotboot feature 2019-07-01 10:44:32 +02:00
Francisco
c3aaf621b5
Merge pull request #11749 from aabadie/pr/cpu/stm32f3_flashpage
cpu/stm32f3: add support for flashpage and flashpage_raw
2019-07-01 10:03:40 +02:00
Sebastian Meiling
57361470dd
Merge pull request #11737 from nmeum/pr/gnrc_tftp_mode_compare
gnrc_tftp: Fix out-of-bounds memory access when comparing modes
2019-07-01 09:26:03 +02:00
4f929e924c
Merge pull request #11764 from kaspar030/add_mypycache_to_gitignore
.gitignore: add .mypy_cache/
2019-07-01 08:12:45 +02:00
028e3fbc4f .gitignore: add .mypy_cache/ 2019-06-28 22:57:38 +02:00
Leandro Lanzieri
326ec30074
Merge pull request #11741 from jcarrano/deprecate-ubjson
sys/ubjson: deprecate module.
2019-06-28 19:41:21 +02:00
8cd5fc20af
Merge pull request #11760 from maribu/msbiot_doc
boards/msbiot: Added missing doc in board.h
2019-06-28 19:01:56 +02:00
Juan Carrano
2d782bc225 sys/ubjson: add deprecation notices to the documentation.
Add @deprecated doxygen tags to the module, the header and the main
reader and writer functions.
2019-06-28 18:32:51 +02:00
Juan Carrano
3b8deac3e9 sys/ubjson: deprecate module.
Summary for Users
=================

 Deprecation is scheduled for 2020.01.
 Users which depend on this module and cannot switch libraries may copy
 the code into to their own application.

As expressed in PR #11724, the UBJSON module has issues which are not easy
or worth fixing.

Before removing the module, it should be marked as deprecated to give users
time to either migrate to another library, or copy the code to their own
private repo.

The deprecation warning has been supressed from the unit tests. This has the
ugly side-effect of supressing deprecation warning in other unit tests too,
but that should not last long, only until the module is finally deleted.
2019-06-28 18:28:16 +02:00
3b58b4b6b6
cpu/stm32f3: add support for flashpage 2019-06-28 17:16:10 +02:00
Juan I Carrano
50ea0d822c
Merge pull request #11664 from cladmi/pr/make/variables_lazy_evaluation
makefiles/utils/variables: add functions to help managing variables
2019-06-28 17:11:29 +02:00
Marian Buschsieweke
67631f3ae8
boards/msbiot: Added missing doc in board.h
- Fixes warnings with current Doxygen version
- Resolves issue with Doxygen linking e.g. LED0_PIN to the doc of a different
  board
2019-06-28 16:46:46 +02:00
c9bf22be69
Merge pull request #11748 from maribu/msbiot_doc
boards/msbiot: Updated/fixed documentation
2019-06-28 15:44:25 +02:00
6c271f6927
Merge pull request #11736 from jia200x/pr/sx127x_netops
sx127x: add several NETOPT for GNRC LoRaWAN
2019-06-28 15:23:56 +02:00
ea441bab5e
Merge pull request #11713 from bergzand/pr/nrf5x/uart_modecfg
nrf5x: Add UART modecfg feature implementation
2019-06-28 13:56:44 +02:00
Kevin "Bear Puncher" Weiss
8c987fb91f
Merge pull request #11752 from cladmi/pr/board/native/flashfile
boards/native: define FLASHFILE
2019-06-28 11:45:16 +02:00
Jose Alamos
398cf6648f tests/sx127x: add handlers for new NETOPTs 2019-06-28 11:36:11 +02:00
Gaëtan Harter
25a1bc48bb
makefiles/utils: include in Makefile.include
Import utils functions in Makefile.include to allow using them.
2019-06-28 11:34:43 +02:00
Gaëtan Harter
2c5eeca47a
makefiles/utils: function to memoize a variable evaluation
This allow deferring a variable evaluation to its usage but still
benefit from only evaluating it once on multiple uses.
2019-06-28 11:34:43 +02:00
Gaëtan Harter
fcf8c4782d
makefiles/utils: function to export variables for a target
This allows exporting variables only for some target.
It will allow not exporting variables when not needed, and so prevent
unnecessary evaluation.
2019-06-28 11:33:54 +02:00
Gaëtan Harter
f208e847f1
Merge pull request #11753 from kaspar030/pkg/remove_build_dependency
pkg: remove not needed git-downloaded dependencies
2019-06-28 11:31:09 +02:00
Leandro Lanzieri
56ffb45f6c
Merge pull request #11719 from benemorius/efm32-numof_irqs-off-by-one
cpu/efm32/periph_gpio: fix NUMOF_IRQS off-by-one error
2019-06-28 11:25:04 +02:00
Gaëtan Harter
4578b461c2
Merge pull request #11755 from cladmi/pr/murdock/remove_flashfile_hack
makefiles/murdock.inc.mk: remove flashfile hack
2019-06-28 11:08:32 +02:00
Leandro Lanzieri
6938df1f82
Merge pull request #11659 from aabadie/pr/tests/driver_rn2xx3_tx_mode_fix
tests/driver_rn2xx3: fix invalid element index for txmode
2019-06-28 10:39:39 +02:00
81df812c5b
nrf5x: Add UART modecfg feature implementation 2019-06-28 09:56:40 +02:00
ce9b1e3826 pkg: remove not needed git-downloaded dependencies
This is implicitly done by the "pkg-prepare"-step of the main make
instance.
2019-06-28 09:38:44 +02:00
Kevin "Bear Puncher" Weiss
135ad3817b
Merge pull request #10982 from gschorcht/cpu/esp8266/periph/pwm/pr
cpu/esp8266: fix pwm_set func
2019-06-27 16:35:53 +02:00
Jose Alamos
ca8c78116f drivers/sx127x: add NETOPT_RX_SYMBOL_TIMEOUT setter 2019-06-27 15:43:50 +02:00
Jose Alamos
268e6df950 drivers/sx127x: add NETOPT_RANDOM option handling 2019-06-27 15:43:50 +02:00