Kevin Weiss
7a20a5ec46
Merge pull request #9715 from yegorich/pr/dist/tests/if_lib/cleanup
...
Pr/dist/tests/if lib/cleanup
2018-08-06 13:22:56 +02:00
MichelRottleuthner
43e65ff5c8
Merge pull request #9500 from PeterKietzmann/pr_puf_nrfx
...
cpu/nrf5x_common: add PUF SRAM feature to makefile
2018-08-06 13:06:33 +02:00
d1a214ca74
cpu/stm32l4: configure flashpage
2018-08-06 12:33:03 +02:00
a008b983b3
cpu/stm32_common: add flashpage support for stm32l4
2018-08-06 12:33:03 +02:00
faa65f34bd
tests/periph_flashpage: ensure page_mem is correctly aligned
2018-08-06 12:33:03 +02:00
Martine Lenders
b955dd4892
Merge pull request #9677 from miri64/root/fix/print-format
...
*: fix formatting errors with llvm
2018-08-06 12:30:15 +02:00
Martine Lenders
49b43a30a5
tests: puf_sram: fix printf format strings
2018-08-06 12:19:45 +02:00
Martine Lenders
81bad0d6e8
mtd_sdcard: fix printf format strings
2018-08-06 12:19:44 +02:00
Martine Lenders
3b1afc45d1
tests: periph_flashpage: fix printf format strings
2018-08-06 12:19:44 +02:00
Martine Lenders
17db3fdd41
tests: sdcard_spi: fix printf format strings
2018-08-06 12:19:44 +02:00
ad34cb311a
boards/b-l475e-iot01a: configure on-board sensors
...
HTS221, LIS3MDL and LSM6DSL
2018-08-06 11:30:29 +02:00
pokgak
b9880cb800
examples/gcoap: fix post/put without port number
2018-08-06 11:03:55 +02:00
61a9f791b6
boards/b-l475e-iot01a: configure second I2C
...
This I2C bus is used by on-board sensors
2018-08-06 10:58:25 +02:00
Cenk Gündoğan
e19f6463c0
Merge pull request #9703 from miri64/pkg/fix/format-str-literal
...
pkg: deal with format string non-literals
2018-08-06 10:23:59 +02:00
Yegor Yefremov
ea7fa8bb63
dist/tests/if_lib: use '==' for string comparison
...
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2018-08-06 10:19:43 +02:00
Yegor Yefremov
87ecb78d2f
dist/tests/if_lib: don't invoke super class __init__
...
Python invokes super class __init__ automatically
unless it is overridden.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2018-08-06 09:55:43 +02:00
Martine Lenders
d1df12edf0
Merge pull request #9713 from basilfx/feature/efm32_llvm
...
pkg: gecko_sdk: update for llvm support
2018-08-06 09:43:55 +02:00
Bas Stottelaar
b6265567ca
pkg: gecko_sdk: update package version
2018-08-05 22:45:38 +02:00
Bas Stottelaar
809ec68642
boards: slstk3402a: enable saul for on-board Si7021
2018-08-05 15:37:10 +02:00
Bas Stottelaar
9620b45c45
boards: slstk3402a: add i2c support
2018-08-05 15:36:46 +02:00
Bas Stottelaar
f315ca71a1
pkg: gecko_sdk: disable -Wno-int-in-bool-context for llvm
2018-08-05 15:28:06 +02:00
f215ee3d8a
Merge pull request #9705 from miri64/core/fix/stdatomic-llvm
...
core: rmutex: include stdint.h
2018-08-03 22:40:46 +02:00
Martine Lenders
c2fa744f48
examples: dtls-echo: remove unneeded addressing operator
...
`SOCK_ADDR_ANY_NETIF` isn't a pointer so using the addressing operator
for `remote.netif` here is wrong.
2018-08-03 19:12:37 +02:00
Martine Lenders
233935c539
Merge pull request #9700 from miri64/stm32_common/fix/unused-function
...
stm32_common: i2c_2: fix for -Wunused-function
2018-08-03 18:43:06 +02:00
Martine Lenders
ec7bf7a854
core: rmutex: include stdint.h
...
For some reason the LLVM/clang version of `stdatomic.h` does not include
`stdint.h`, though it uses types from it.
2018-08-03 18:34:56 +02:00
Martine Lenders
d6cdf4d06f
pkg: openthread: mark otPlatLog() as printf style function
2018-08-03 17:57:21 +02:00
Martine Lenders
0a5acd91cf
pkg: tinydtls: ignore -Wformat-nonliteral
2018-08-03 17:56:34 +02:00
Martine Lenders
6a693b4b2d
pkg: libcoap: ignore -Wformat-nonliteral
2018-08-03 17:56:22 +02:00
Martine Lenders
64ee9f0088
Merge pull request #9665 from jcarrano/lua-llvm-fix
...
examples/lua_REPL: cast pointer to void in printf
2018-08-03 17:46:29 +02:00
2d10390b56
Merge pull request #9699 from miri64/nrf5x_common/fix/gpio-unused-function
...
nrf5x_common: gpio: remove unused pin_num() function
2018-08-03 16:34:14 +02:00
Martine Lenders
6f78a7f331
stm32_common: i2c_2: fix for -Wunused-function
...
This came up when compiling an application for a STM32-based board
with LLVM/clang. The function is not used if I²C is not provided.
2018-08-03 16:12:52 +02:00
Martine Lenders
1ca6df3313
nrf5x_common: gpio: remove unused pin_num() function
...
This came up when compiling an application for an NRF5x-based board
with LLVM/clang. The function does not seem to be used throughout the
file so I just removed it.
2018-08-03 16:09:38 +02:00
Peter Kietzmann
2f480efb60
Merge pull request #9691 from smlng/cpu/cc2538/vendor_header
...
cpu/cc2538: add TI vendor headers
2018-08-03 12:55:40 +02:00
Juan Carrano
34e122bcc3
examples/lua_REPL: cast pointer to void in printf
2018-08-03 11:03:59 +02:00
smlng
df37e69b90
cpu/cc2538: add TI vendor headers
...
Currently the cc2538 is based on from-scratch adaption which is
not feature complete and thus lacks defines etc. Introducing the
official vendor header will ease future extension and adaptions
of the CPU and its features.
2018-08-03 08:29:32 +02:00
Martine Lenders
ccb5653f8a
Merge pull request #9515 from cladmi/pr/make/newlib/fixandstuff
...
newlib.mk: fix regressions
2018-08-02 18:44:45 +02:00
Martine Lenders
7f04742e0b
Merge pull request #9687 from cladmi/pr/llvm/sx127/wformat
...
sx127x: fix -Wformat llvm warning
2018-08-02 18:35:29 +02:00
Kevin Weiss
70006a9851
Merge pull request #9331 from smlng/mma7660_i2c
...
drivers/mma7660: initial support (adopted from #5970 )
2018-08-02 17:40:04 +02:00
Gaëtan Harter
4c74db4e7a
pkg/semtech-loramac: Fix -Wformat llvm warning
...
Fixed warning
format specifies type 'unsigned long' but the argument has type 'uint32_t' (aka 'unsigned int')
2018-08-02 17:27:35 +02:00
Gaëtan Harter
6ba37a902d
drivers/sx127x: Fix -Wformat llvm warning
...
Fixed warning
format specifies type 'unsigned long' but the argument has type 'uint32_t' (aka 'unsigned int')
2018-08-02 17:25:27 +02:00
Gaëtan Harter
ea06482b25
pkg/semtech-loramac: Fix -Wformat llvm warning
...
Fixed warning
format specifies type 'unsigned long' but the argument has type 'uint32_t' (aka 'unsigned int')
2018-08-02 17:20:43 +02:00
Kevin Weiss
96225e317f
Merge pull request #9639 from yegorich/pr/tests/uart_periph/autotester-infra
...
Move testing infrastructure files to dist/tests
2018-08-02 17:17:27 +02:00
Gaëtan Harter
3226918e17
newlib.mk: indent comments in conditionnal
...
Comments inside an if are usually also indented.
2018-08-02 17:06:54 +02:00
Gaëtan Harter
154d64ee47
newlib.mk: get NEWLIB_INCLUDE_DIR absolute and without trailing slash
...
It replaces
make BOARD=iotlab-m3 info-debug-variable-NEWLIB_INCLUDE_DIR
/usr/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/include/
with
make BOARD=iotlab-m3 info-debug-variable-NEWLIB_INCLUDE_DIR
/usr/arm-none-eabi/include
Without trailing slash and without relative '..' everywhere.
It also uses `realpath` instead of `abspath` to support Mingw32.
2018-08-02 17:06:51 +02:00
Gaëtan Harter
37a92c4c5e
newlib.mk: Windows/MSYS Bash support: use realpath instead of abspath
...
Some versions of Mingw32 abspath implementation has trouble working with
windows formatted path.
$(abspath "C:/A/B") returns "/C/CUR/DIR/C:/A/B" instead of "/C/A/B"
relpath does not have this problem, it does additional symlink resolution but is
not a problem.
Note: on windows it does not remove the trailing `/`.
https://github.com/zephyrproject-rtos/zephyr/issues/2061#issuecomment-331635063
Patched in
941059c69f
2018-08-02 17:06:46 +02:00
Gaëtan Harter
3a4538ee76
newlib.mk: sanitize output before getting include path
...
Only keep lines that are indeed include path.
It also keeps newlines as they do not matter.
It fixes Mingw32 support where `grep '^\s'` is not working the same way.
It also handles some mac `sed` that do not support `\s`.
Ouput tested with:
make -C examples/hello-world BOARD=samr21-xpro info-debug-variable-COMPILER_INCLUDE_PATHS
# by also putting newlines for readability
Now:
/usr/bin/../lib/gcc/arm-none-eabi/7.2.1/include
/usr/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed
/usr/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/include
Before:
/usr/bin/../lib/gcc/arm-none-eabi/7.2.1/cc1 -E -quiet -v -iprefix /usr/bin/../lib/gcc/arm-none-eabi/7.2.1/ -isysroot /usr/bin/../arm-none-eabi -D__USES_INITFINI__ /dev/null
/usr/bin/../lib/gcc/arm-none-eabi/7.2.1/include
/usr/bin/../lib/gcc/arm-none-eabi/7.2.1/include-fixed
/usr/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/include
2018-08-02 17:05:17 +02:00
Gaëtan Harter
18a4ccf315
newlib.mk: fix NEWLIB_INCLUDE_DIR not being set by PATTERNS
...
As NEWLIB_INCLUDE_DIR has already been set here, with an empty value, it is not
overwriting it because of the '?='.
2018-08-02 17:05:13 +02:00
Gaëtan Harter
a946c2c5bd
newlib.mk: fix: do not require slash terminated NEWLIB_INCLUDE_DIR
...
When NEWLIB_INCLUDE_DIR is set from other parts than 'COMPILER_INCLUDE_PATHS' it
does not have a trailing slash.
Also, it makes it more problematic when supplying it from the command line.
And anyway having two '/' does not break anything.
2018-08-02 17:05:10 +02:00
Martine Lenders
d4bdac7e5c
Merge pull request #9513 from cladmi/pr/make/llvm/nano
...
newlib.mk: llvm, fix newlib-nano header not used
2018-08-02 17:00:38 +02:00
Gaëtan Harter
0a4a359555
Merge pull request #9681 from miri64/tests/fix/cayenne-lpp-llvm
...
tests: fix cayenne-lpp test for LLVM
2018-08-02 16:07:27 +02:00