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

24054 Commits

Author SHA1 Message Date
f83e9788a6
boards/p-l496g-cell02: don't export CPU/CPU_MODEL variables 2019-09-29 15:54:11 +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
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
Hauke Petersen
09faa328f9 tests: add distinct test app for nrfmin driver 2019-09-27 11:49:43 +02:00
benpicco
3a3267916e
Merge pull request #12313 from haukepetersen/fix_nrfble_featuredecl
cpu/nrf5x: decelare radio_nrfble feat for all nrfs
2019-09-27 11:17:36 +02:00
benpicco
efa41ad094
Merge pull request #12222 from benpicco/samd5x-clock
cpu/samd5x: allow more flexible selection of CLOCK_CORECLOCK
2019-09-27 11:07:54 +02:00
benpicco
3e538c042d
Merge pull request #12292 from benpicco/esp_wifi-workaround
cpu/esp32: disable thin archives if esp_wifi is used
2019-09-27 10:50:35 +02:00
Benjamin Valentin
7e5aa7e775 cpu/sam0_common: uart: fix baud rate calculation
In fractional mode, 3 bits are used to store the fractional part.
Therefore we must multiply / divide by 8 instead of 10 in order to
get the correct values.
2019-09-27 10:49:43 +02:00
Benjamin Valentin
736e5e5a35 cpu/samd5x: allow more flexible selection of CLOCK_CORECLOCK
There are some constraints to the oscillators on the samd5x.

 - DFLL is fixed to run at 48 MHz
 - DPLL can run at 96 to 200 MHz

Always use DFLL for frequencies <= 48 MHz.
For frequencies >= 96 MHz, use DPLL directly.
For frequencies < 96 MHz, clock DPLL at twice the desired frequency
and use a divider.
2019-09-27 10:49:43 +02:00
Hauke Petersen
982d730adf cpu/nrf5x: decelare radio_nrfble feat for all nrfs 2019-09-27 10:00:06 +02:00
Martine Lenders
2c9ac91903 tests/unittests: test black corner case for color_rgb2hsv()
Tests a (currently undocumented) behavior of `color_rgb2hsv()`, that a
black RGB value (all zero) causes the HSV value to be all zero.
2019-09-27 09:35:39 +02:00
benpicco
37796355fd
Merge pull request #12310 from haukepetersen/fix_skald_moduledep
ble/skald: cleanup dependency to nrfble
2019-09-26 23:04:36 +02:00
9e65405a68
Merge pull request #12309 from haukepetersen/fix_skald_develhelpbuild
ble/skald: remove broken assert in init()
2019-09-26 22:44:55 +02:00
Martine Lenders
062bc732ea
Merge pull request #11299 from llueder/ndp_cpp_compliant
net/ndp: make addr array ptr c++ compliant
2019-09-26 22:34:45 +02:00
Hauke Petersen
df15033148 ble/skald: cleanup dependency to nrfble 2019-09-26 22:15:15 +02:00
Lasse Lueder
1b0fdf5a6f net/ndp: remove convenience pointer in ndp_opt_rdnss_t 2019-09-26 22:09:02 +02:00
Lasse Lueder
8a86ea4a4b use ndp_opt_rdnss_impl_t to access addresses 2019-09-26 22:08:49 +02:00
Lasse Lueder
93fd8b707c net/ndp define ndp_opt_rdnss_impl_t
The auxiliary struct internalizes the handy but non ISO-C++ compliant pointer to the payload in the packet struct. See PR #11299.
2019-09-26 22:08:28 +02:00
Hauke Petersen
1871c0cb85 ble/skald: remove broken assert in init() 2019-09-26 22:07:23 +02:00
Martine Lenders
ac9e80cfd0
Merge pull request #11401 from miri64/tests/enh/i11398-testcase
tests: provide test case for malformed IEEE 802.15.4 packets
2019-09-26 16:55:55 +02:00
Martine Lenders
aaaa8a21ed tests: provide testcase for issue 11398 2019-09-26 15:56:47 +02:00
2096d96a09
Merge pull request #12266 from francois-berder/pic32-wifire-jlink
boards: pic32-wifire: Add support for JLink programmer
2019-09-26 13:23:52 +02:00
Francois Berder
39fb3cb9f0 boards: pic32-wifire: Add support for JLink programmer
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-09-26 11:08:07 +01:00
e1e01e2617
Merge pull request #11250 from dylad/pr/samr34_support
board: add support for SAMR34-XPRO
2019-09-26 11:27:22 +02:00
c028c216ab
Merge pull request #12256 from francois-berder/fix-wifire-uart
boards: pic32-wifire: Fix uart initialization
2019-09-26 11:23:25 +02:00
Dylan Laduranty
a64613e9b9 pkg/wolfssl: prevent name-colliding struct for AES 2019-09-26 11:06:00 +02:00
Dylan Laduranty
9c8cfaa02a tests: add SAMR34 entry in BOARD_INSUFFICIENT_MEMORY
add samr34-xpro if test doesn't fit in its memory
2019-09-26 10:48:03 +02:00
dylad
dbc6ed544d boards/samr34-xpro: add basic board support 2019-09-26 10:48:03 +02:00
dylad
e189d085b0 cpu/sam0: add support for SAMR34 MCU 2019-09-26 10:48:03 +02:00
dylad
c9bd7deea0 cpu/sam0: add SAMR34 vendor files 2019-09-26 10:48:03 +02:00
0e4252c7f5
Merge pull request #12306 from fjmolinas/pr_flash_only_term_req
Makefile.include: add flash-only as dependency of term
2019-09-26 10:22:33 +02:00
Francisco Molina
ab12e292af Makefile.include: add flash-only as pre-requisite of term 2019-09-26 10:06:28 +02:00