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

24083 Commits

Author SHA1 Message Date
fe6d892969
Merge pull request #12302 from fjmolinas/pr_build_files
Makefile.include: add BUILD_FILES variable that holds all files to be built
2019-09-30 14:26:24 +02:00
Francisco Molina
5790e061c7 makefiles/boot/riotboot.mk: use BUILD_FILES
- Fixes compiling in docker by using BUILD_FILES to define
  extra files to be built
2019-09-30 13:09:58 +02:00
Francisco Molina
ded2ebc8e7 Makefile.include: add BUILD_FILES
- Add BULD_FILES that holds all files that need to be built
  and linked.
2019-09-30 13:00:25 +02:00
Marian Buschsieweke
6cbb7ad1a0
Merge pull request #12327 from benpicco/mrf24j40-pseudomodules
drivers/mrf24j40: add pseudomodules for MRF24J40MA/B/C/D/E
2019-09-29 21:13:23 +02:00
benpicco
e8274d6eb3
Merge pull request #12332 from aabadie/pr/boards/blxxxpill_cpu_features
boards/blxxxpill: move CPU/CPU_MODEL to Makefile.features
2019-09-29 19:53:56 +02:00
benpicco
aebcef111d
Merge pull request #12300 from miri64/gnrc_sixlowpan_frag_vrb/fix/index
gnrc_sixlowpan_frag_vrb: fix for draft update
2019-09-29 19:27:20 +02:00
243b02d8e0
boards/blxxxpill: move CPU/CPU_MODEL to Makefile.features 2019-09-29 18:51:41 +02:00
c72f286796
Merge pull request #12169 from maribu/blxxxpill
boards: Split off 128KiB version of bl*pill
2019-09-29 18:50:29 +02:00
Martine Lenders
a711852379 tests: unittests: remove duplicate static consts from VRB tests 2019-09-29 18:36:28 +02:00
Martine Lenders
99183da998 tests: unittests: adapt 6LoWPAN VRB tests 2019-09-29 18:31:43 +02:00
Martine Lenders
45f7966364 gnrc_sixlowpan_frag_vrb: fix for draft update
Due to some changes to the minimal forwarding draft and in preparation
for Selective Fragment Recovery some changes to the VRB API were
needed. Now the index of a VRB entry is only (L2 src, tag) not as
before (L2 src, L2 dst, length, tag).

I know that the current `rbuf_base` causes waste, as all the fields not
used by the new index are effectively not used by the VRB. I'd like to
fix that however in a later change, since that also requires some
modifications of the classic reassembly buffer, and thus would
complicate the review and testing of the change.

Sources for the index change:
- https://tools.ietf.org/html/draft-ietf-6lo-minimal-fragment-04#section-1
- https://mailarchive.ietf.org/arch/browse/6lo/?gbt=1&index=DLCTxC2X4bRNtYPHhtEkavMWlz4
2019-09-29 18:31:43 +02:00
Martine Lenders
fb8b8ad8dc
Merge pull request #12324 from miri64/gnrc_sixlowpan_frag/enh/rbuf-rework202
gnrc_sixlowpan_frag_rb: migrate more functions from gnrc_sixlowpan_frag
2019-09-29 18:30:12 +02:00
23b40d8b8b
Merge pull request #12331 from aabadie/pr/boards/pic32-wifire-no-export-cpu
boards/pic32-wifire: remove export of CPU/CPU_MODEL
2019-09-29 17:12:23 +02:00
Marian Buschsieweke
5659d16a5a
tests: BOARD_WHITELIST, BOARD_INSUFFICIENT_MEMORY
Added new blackpill-128kib and bluepill-128kib to BOARD_INSUFFICIENT_MEMORY
and BOARD_WHITELIST where needed.
2019-09-29 17:06:01 +02:00
Marian Buschsieweke
ed85041a4b
examples/l2util: Updated BOARD_INSUFFICIENT_MEMORY
Linking works for both blackpill and bluepill
2019-09-29 17:00:28 +02:00
Marian Buschsieweke
7c6eb619e1
examples: Updated BOARD_INSUFFICIENT_MEMORY
Added new boards bluepill-128kib and blackpill-128kib where needed.
2019-09-29 16:52:29 +02:00
Marian Buschsieweke
09d1dcf6b3
boards: Split off 128KiB version of bl*pill
- Created new `bluepill-128kib` as 128KiB version of the `bluepill`
- Created new `blackpill-128kib` as 128KiB version of the `blackpill`
- Updated `openocd.cfg` to allow flashing 128KiB of ROM
2019-09-29 16:42:44 +02:00
93dff4cd74
Merge pull request #12330 from aabadie/pr/boards/cleanup_makefile_features
boards: don't export CPU/CPU_MODEL for stm32f723i-disco and p-l496g-cell02
2019-09-29 16:40:20 +02:00
9b1115583e
boards/pic32-wifire: remove export of CPU/CPU_MODEL
These values are already defined in Makefile.features
2019-09-29 16:35:45 +02:00
c1d5286516
Merge pull request #12329 from aabadie/pr/boards/samr34-xpro_features_cpu
boards/samr34-xpro: move cpu definitions to Makefile.features
2019-09-29 16:14:18 +02:00
b1c8f85873
boards/stm32f723e-disco: don't export CPU/CPU_MODEL variables 2019-09-29 15:54:21 +02:00
f83e9788a6
boards/p-l496g-cell02: don't export CPU/CPU_MODEL variables 2019-09-29 15:54:11 +02:00
e89693b6fc
boards/samr34-xpro: move cpu definitions to Makefile.features 2019-09-29 15:52:35 +02:00
Benjamin Valentin
0bb04cfd27 drivers/mrf24j40: add pseudomodules for MRF24J40MA/C/D/E
Microchip offers ready-to-use modules with the mrf24j40 chip.
All but the MRF24J40MA integrate an external PA/LNA, they also come
with an RF shield.

If the PA/LNA is not enabled, the signal off these modules is really
poor.

This adds pseudomodules so that the PA/LNA is automatically enabled
when the appropriate module is used.
2019-09-28 19:30:52 +02:00
benpicco
1543a8c438
Merge pull request #12276 from kenrabold/pr-fe310_intr_cleanup
cpu/fe310: interrupt handling cleanup
2019-09-28 19:14:07 +02:00
Martine Lenders
698d46eabe gnrc_sixlowpan_frag_rb: make NOPs dependent on RB 2019-09-28 13:36:39 +02:00
Martine Lenders
e9ff46b2ea gnrc_sixlowpan_frag_rb: unify naming scheme 2019-09-28 12:11:54 +02:00
Martine Lenders
178f4af108 gnrc_sixlowpan_frag_rb: remove legacy defines 2019-09-28 12:07:24 +02:00
Martine Lenders
972e4938bc gnrc_sixlowpan_frag_rb: use existing name scheme for private functions 2019-09-28 11:51:18 +02:00
Martine S. Lenders
49bd8678ed gnrc_sixlowpan_frag_rb: remove public around former private functions 2019-09-28 11:51:18 +02:00
Martine S. Lenders
ec495528fe gnrc_sixlowpan_frag: move private RB functions to RB module 2019-09-28 11:51:18 +02:00
68aae9c848
Merge pull request #12262 from cladmi/pr/cflags/fix_spaces_and_rebuild
makefiles: do not remove defines from CFLAGS
2019-09-28 09:42:56 +02:00
benpicco
567e6e8d69
Merge pull request #12321 from kb2ma/coap/remove_deprecated_defines
net/coap: remove deprecated COAP_CT_... defines
2019-09-28 03:33:37 +02:00
Ken Bannister
859dab585f net/coap: remove deprecated COAP_CT_... defines 2019-09-27 20:57:42 -04:00
Martine Lenders
8de39d80b7
Merge pull request #12316 from benpicco/pyterm-loglevel
dist/tools/pyterm: drop loglevel from output
2019-09-27 22:48:10 +02:00
kenrabold
1d6e37a7f7 cpu/fe310: interrupt handling cleanup
Cleanup of FE310 interrupt handler code
Optimization of intr context frame
Reduce size of intr stack
Added unhandled trap output
Fix PR #12237
2019-09-27 13:32:43 -07:00
Martine Lenders
5aae638bfd
Merge pull request #12318 from miri64/gnrc_sixlowpan_frag/enh/rbuf-rework201
gnrc_sixlowpan_frag: move public rbuf functions to their own module
2019-09-27 21:49:16 +02:00
Martine S. Lenders
b5545fe334 gnrc_sixlowpan: include reassembly buffer only where needed 2019-09-27 21:11:36 +02:00
benpicco
922816c151
Merge pull request #12319 from miri64/gnrc_sixlowpan_frag_vrb/cleanup/xtimer-dep
gnrc_sixlowpan_frag_vrb: add xtimer dependency
2019-09-27 19:55:13 +02:00
Gaëtan Harter
d6b109f720
tests/build_system_cflags_spaces: test CFLAGS macros handling
This tests passing CFLAGS with spaces to an application and also that
even if the CFLAGS are defined after Makefile.include, they trigger
a rebuild when modified.

This includes an example how to pass macros with spaces to a docker
build.

The test as both an automated part for the CFLAGS with spaces, and a
manual part for the two other features.
2019-09-27 19:29:07 +02:00
Gaëtan Harter
41d10cf005
makefiles: do not remove defines from CFLAGS
Do not remove the '-D' and '-U' values from CFLAGS.
This prevents issues where a '-D' could contain a space.

Some values way be duplicated from the 'riotbuild.h' header and the
command line but with the same value so without conflict.

To not put too many things in the command line, the -DMODULE_NAME are
only put in CFLAGS_WITH_MACROS.

Also, as now, the deferred value of CFLAGS is used for 'riotbuild.h',
macros set after the inclusion of `Makefile.include` will be taken into
account.
2019-09-27 19:29:06 +02:00
cladmi
da59fb0eda
pkg/relic: pass COMP through environment
export COMP by using the environment insteal of through the shell to
prevnet issues with `\"` being defined when keeping macros in CFLAGS.

Another solution was to use COMP='...' but could there could still have
issues with single quotes in CFLAGS.
2019-09-27 19:28:33 +02:00
cladmi
e42b4cc75f
dist/tools/cmake: handle strings with \"
CMake quoted strings do not accept having \ or " inside. So use the
"bracket argument" format.
I migrated all variables to use this format.

Migrate to 'printf' to not rely on having \" inside the string everywhere.

This prepares for having macros defined in the CFLAGS again.
2019-09-27 19:28:32 +02:00
Martine S. Lenders
1f7770da5c gnrc_sixlowpan_frag: move public rbuf functions to their own module 2019-09-27 19:09:52 +02:00
Martine S. Lenders
395987a7ea gnrc_sixlowpan_frag_vrb: add xtimer dependency
The VRB uses xtimer for its garbage collection but doesn't list it as a
dependency. The only reason it worked so far is because it was always
compiled with `gnrc_sixlowpan_frag` and other modules that pull in
`xtimer` as a dependency on their own.
2019-09-27 19:04:58 +02:00
Martine S. Lenders
2d9ba56c2c gnrc_sixlowpan_frag: move reassembly buffer to its own header 2019-09-27 18:34:02 +02:00
Benjamin Valentin
6a08a78d77 dist/tools/pyterm: drop loglevel from putput
The loglevel on pyterm is always INFO.
Drop it to remove clutter from the output.
2019-09-27 15:16:06 +02:00
Martine Lenders
aa84406ac1
Merge pull request #9940 from miri64/tests/enh/rgb2hsv-black
tests/unittests: test black corner case for color_rgb2hsv()
2019-09-27 15:02:10 +02:00
Martine Lenders
aa7f23dbbd
Merge pull request #12314 from haukepetersen/add_test_nrfmin
tests: add distinct test app for nrfmin driver
2019-09-27 13:22:25 +02:00
Martine Lenders
26d8650027
Merge pull request #12174 from haukepetersen/opt_nimble_scannerusetype
pkg/nimble/scanner: pass adv pkt type to callback
2019-09-27 12:14:34 +02:00