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

19253 Commits

Author SHA1 Message Date
Gaëtan Harter
9103dcaeda
cortexm_common: refactor the definition test
The variables should all always be defined.
2018-08-11 11:33:52 +02:00
Gaëtan Harter
def2858af9
cortexm_common_ldscript: test _rom_offfset taken into account
Test that _rom_offfset is removed from the available _rom_length.
2018-08-11 11:33:49 +02:00
Gaëtan Harter
83a617261a
cortexm_common/ldscript: add _fw_rom_length variable
It will help testing if it is taken into account and for defining for outside
after.
2018-08-11 11:33:47 +02:00
Gaëtan Harter
bbb1fbe0e3
cortexm_common_ldscript: add a test that checks if ROM_LEN is used
Trigger an overflow by 1 byte to detect in ROM_LEN is indeed used.
2018-08-11 11:33:43 +02:00
Gaëtan Harter
d9db258411
cortexm_common/ldscript: re-use _rom_offset variable name
Inspired by kaspar030 version to removing the new _boot_offset variable.

cbf324a66d/cpu/cortexm_common/ldscripts/cortexm.ld
2018-08-11 11:33:39 +02:00
Joakim Nohlgård
556d06d3bf tests/gnrc_netif: Fix -Wformat-overflow
Fixes the following error with GCC 7

main.c: In function 'test_netif_get_name':
main.c:1054:23: error: 'sprintf' may write a terminating nul past the end of the destination [-Werror=format-overflow=]
     sprintf(exp_name, "if%d", (int)netif);
                       ^~~~~~
main.c:1054:5: note: 'sprintf' output between 4 and 9 bytes into a destination of size 8
     sprintf(exp_name, "if%d", (int)netif);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2018-08-11 07:28:29 +02:00
Joakim Nohlgård
8487710173 frdm-k64f: Add ADC SAUL configuration 2018-08-11 06:38:23 +02:00
MrKevinWeiss
5fa366fc59 boards/stm32f103c8: Remove lines from openocd.cfg handled my makefile 2018-08-10 16:59:57 +02:00
Gaëtan Harter
67e3b3a8dd
Merge pull request #9761 from cladmi/pr/release/version
Makefile.include: Include VERSION file for release
2018-08-10 16:49:17 +02:00
Joakim Nohlgård
45edfa43bf frdm-k64f: Add configuration for dedicated analog pins
These pins have no alternate function in the pin mux so we might as well
make them available to applications. These pins are the only pins which
provide differential analog input pairs on this board.
2018-08-10 16:27:06 +02:00
Joakim Nohlgård
9d720877d3 frdm-k64f: Change ADC config to use the Arduino compatible pins 2018-08-10 16:25:35 +02:00
Joakim Nohlgård
da5a57e72d frdm-k64f: Correct and format ADC pin configuration
Only ADC1 has a connection with the configured pins, the chosen channels
on ADC0 are connected to other pins.
2018-08-10 16:23:59 +02:00
Gaëtan Harter
5c9213dfc6
Makefile.include: Include VERSION file for release
When downloading the release archive and building an example, the RIOT_VERSION string is not set to "Version 2018.04" but to
    
    Version: UNKNOWN (builddir: /home/me/Downloads/RIOT-2018.04)

This allows sourcing a global VERSION file to manually set it before releases.
2018-08-10 16:15:56 +02:00
f617a29156
Merge pull request #9758 from smlng/pr/dist/pythonlibs
make: introduce common Python lib path
2018-08-10 14:50:20 +02:00
MrKevinWeiss
2bf16a5555 boards/stm32f103c8: fix openocd config
When flashing multiple times the flasher gets stuck.
Default configuration is used that fixes running mulitple tests.
-c 'reset halt' is needed to support debug after config is changed.
2018-08-10 14:41:35 +02:00
José Alamos
3436d34c04
Merge pull request #9757 from aabadie/pr/boards/doc_cleanup
boards*: documentation cleanup
2018-08-10 14:40:39 +02:00
4d141d4885 boards/frdm-kw41z: cleanup documentation
- Cleanup brief description to be consistent with other boards
- Move general documentation in doc.txt
2018-08-10 13:54:25 +02:00
1ffe438488 boards/jiminy-mega256rfr2: cleanup documentation
- Cleanup brief description to be consistent with other boards
- Move general documentation in doc.txt
2018-08-10 13:54:17 +02:00
5eb3cb0120 boards/native: cleanup documentation
Display brief description instead of link to the wiki
2018-08-10 13:54:17 +02:00
172942ce8c boards/common: cleanup documentation
Display brief description instead of copyright
2018-08-10 13:54:17 +02:00
0ee7bd2f90 boards/*: cleanup arduino-due and udoo doc
- display brief description instead of copyright
- add a reference to the 'real' documentation, otherwise it's empty
2018-08-10 13:54:17 +02:00
Peter Kietzmann
25a487e3a9
Merge pull request #9698 from smlng/pr/cc2538/spi
cpu/cc2538: refine periph/spi implementation
2018-08-10 12:30:18 +02:00
smlng
68a6ba8987 make: introduce common Python lib path
Introduce dist/pythonlibs directory to store RIOT python packages.
This directory is exported via PYTHONPATH by the build system to
make it commonly available.
2018-08-10 11:37:43 +02:00
smlng
d9c9c9479e cpu/cc2538: add debug output in periph/spi 2018-08-10 10:38:51 +02:00
smlng
e246c19fe1 cpu/cc2538: adapt periph/spi to gpio API
Rework SPI periph driver to use proper RIOT GPIO API functions.
    Also cleanup header files by using vendor defines and remove
    obsolete code. Further, adapt board config accordingly.
2018-08-10 10:38:51 +02:00
smlng
d8e2611ed9 cpu/cc2538: refine gpio_init_mux
Introduces a define to inidicate an unused function parameter.
2018-08-10 10:38:51 +02:00
Gaëtan Harter
feb3912c3d
Merge pull request #9741 from cladmi/pr/make/buildtest/override_redirection
makefiles/buildtests.inc.mk: allow overwriting make output redirection
2018-08-10 10:31:12 +02:00
smlng
990a76c80c pkg: update ccn-lite and adapt shell commands
This updates the ccn-lite package version which brings in the
    latest upstream fixes for some compiler issues found on macOS
    with clang and newer GCC versions.

    A minor adaption of the RIOT shell commands is also included.
2018-08-10 10:21:24 +02:00
Sebastian Meiling
513e3eca2f
Merge pull request #9522 from miri64/gnrc_ipv6_nib/enh/slaac-fallback
gnrc_ipv6_nib: fallback to SLAAC if ARO is ignored by upstream
2018-08-10 08:21:31 +02:00
Gaëtan Harter
60008cbb2e
Merge pull request #9751 from smlng/pr/make/info-build
make: add APPDIR to info-build target
2018-08-09 15:37:02 +02:00
smlng
ec2a0f9f81 make: add APPDIR to info-build target
While info-build already provides lots of useful information
    it does not print the application source dir. However this
    might be useful for debugging and logging, hence its added
    to the output.
2018-08-09 14:40:35 +02:00
Martine Lenders
8966f01d66
Merge pull request #9744 from cladmi/pr/tests/run_all_with_echo_true
tests: remove echo=False
2018-08-09 12:10:03 +02:00
MichelRottleuthner
2164c97441
Merge pull request #9746 from cladmi/pr/driver/sdcard_spi
drivers/sdcard_spi: fix uint64_t cast location
2018-08-09 11:07:09 +02:00
Martine Lenders
4f87883ab8 gnrc_ipv6_nib: fallback to SLAAC if ARO is ignored by upstream
Linux doesn't have ARO support at the moment so this is a workaround to
try to speak 6Lo-ND while still being able to do DAD with a border
router that doesn't.
2018-08-09 10:56:36 +02:00
Gaëtan Harter
939ca4e1bf
drivers/sdcard_spi: fix uint64_t cast location
When compiling `tests/drivers_sdcard_spi` with `avr-gcc: avr-gcc (GCC) 6.4.0`
it detected this error

    RIOT/drivers/sdcard_spi/sdcard_spi.c:1012:72:
    error: result of '512 << 10' requires 21 bits to represent, but 'int' only has 16 bits [-Werror=shift-overflow=]
    return (card->csd.v2.C_SIZE + 1) * (uint64_t)(SD_HC_BLOCK_SIZE << 10);
2018-08-09 09:12:23 +02:00
Gaëtan Harter
a081b485c1
tests/evtimer_underflow: run tests with echo=True by default 2018-08-09 07:13:25 +02:00
Gaëtan Harter
11d2cdb2ac
tests/cbor: run tests with echo=True by default 2018-08-09 07:13:12 +02:00
Gaëtan Harter
842bc88d4e
tests/evtimer_msg: run tests with echo=True by default 2018-08-09 07:12:50 +02:00
Gaëtan Harter
e0c4442395
tests/isr_yield_higher: run tests with echo=True by default 2018-08-09 07:12:31 +02:00
Gaëtan Harter
e354bf4174
tests/od: run tests with echo=True by default 2018-08-09 07:12:13 +02:00
Gaëtan Harter
bfbc9c1c45
makefiles/buildtests.inc.mk: allow overwriting make output redirection
When running tests, I often needed to modify `buildtests.inc.mk` to see the
actual errors/standard output.
This allows overwriting the default redirection of both to `/dev/null`.
It is low level and directly given to the command execution.

As it is interpreted by make, it can even be overwritten using build system
variables:

    'BUILDTEST_MAKE_REDIRECT=>/tmp/buildtest.$${board}.out 2>&1'
2018-08-08 14:34:56 +02:00
Vincent Dupont
0e48bd0d93
Merge pull request #9716 from aabadie/b-l475e-iot01-sensors
boards/b-l475e-iot01a: configure second I2C and on-board sensors (lis3mdl, lsm6dsl and hts221)
2018-08-08 12:13:00 +02:00
Martine Lenders
9bb33b9294
Merge pull request #9697 from miri64/kinetis/enh/gpio-unused-function
kinetis: uart: fix unused-function warning
2018-08-08 10:33:22 +02:00
Martine Lenders
376c10feff kinetis: uart: fix unused-function warning
When compiling with LLVM (should also be seen `-Wunused-function` in
GCC), I get an error for `frdm-k22f`. This should fix that.
2018-08-08 10:02:53 +02:00
Ken Bannister
3f3df74bcd
Merge pull request #7237 from Ell-i/feature-gcoap-extra-indirection
net/gcoap: Make references to coap_resource_t all const in gcoap
2018-08-07 23:52:59 -04:00
Martine Lenders
b6754fbd2a
Merge pull request #9669 from cladmi/pr/tests/gnrc_netif
tests/gnrc_netif: enable CI tests
2018-08-07 19:40:32 +02:00
Gaëtan Harter
8ab79e94c1
tests/gnrc_netif: enable CI tests 2018-08-07 18:05:07 +02:00
Gaëtan Harter
a7241384be
Merge pull request #9719 from miri64/gnrc_ipv6_nib/enh/emit-conf
gnrc_ipv6_nib: make automatic NDP packet emission (NS/RS) configurable
2018-08-07 17:55:00 +02:00
MichelRottleuthner
6bc069e3bd
Merge pull request #9386 from Hyungsin/forupstream_hdc1000
drivers/hdc1000: change renew_interval to a parameter
2018-08-07 17:32:03 +02:00
Martine Lenders
bc320cd011 tests/gnrc_netif: disable NDP emissions
This test doesn't test NDP behavior so emissions of NDP neighbor and
router solicitations is more harming than helpful. Because of that I
disabled it for this test.
2018-08-07 16:50:39 +02:00