Martine Lenders
532b8f0585
Merge pull request #9777 from miri64/stm32_common/fix/llvm-formatting
...
stm32_common/eeprom: fix DEBUG formatting
2018-08-14 15:18:24 +02:00
Martine Lenders
9478274bd9
stm32_common/eeprom: fix DEBUG formatting
...
This fixes compilation for `periph_eeprom` with LLVM/clang and also is
more in accordance with our [coding conventions].
[coding conventions]: https://github.com/RIOT-OS/RIOT/wiki/Coding-conventions#-wformat
2018-08-14 14:56:44 +02:00
Francisco Acosta
0c14681a3e
Merge pull request #9710 from basilfx/feature/slstk3402a_i2c
...
boards: slstk3402a: add i2c
2018-08-14 12:34:36 +02:00
Martine Lenders
75a194e914
Merge pull request #9770 from miri64/kinetis/fix/llvm-timer
...
kinetis: timer: #ifdef unused functions
2018-08-13 19:02:34 +02:00
Martine Lenders
426cfbeea6
kinetis: timer: #ifdef unused functions
...
Another issue revealed by compiling several apps with LLVM/clang for
the `teensy31` board.
2018-08-13 18:38:13 +02:00
Martine Lenders
c8fb743ffb
Merge pull request #9768 from SemjonKerner/fix_periph_pwm_nrf51
...
cpu/nrf51: fix formatting uint to PRIu32
2018-08-13 18:33:08 +02:00
Martine Lenders
4be211f3bc
Merge pull request #9566 from cladmi/pr/release/2018.04/release_notes
...
Release notes for 2018.07
2018-08-13 18:01:19 +02:00
Semjon Kerner
9e63671eab
cpu/nrf51: fix formatting uint to PRIu32
2018-08-13 17:56:05 +02:00
Gaëtan Harter
5febaaeedb
release-notes.txt: Add Release 2018.07 notes
...
This release-notes where contributed by the following github users:
* aabadie
* bergzand
* cladmi
* gebart
* miri64
* PeterKietzmann
2018-08-13 17:41:43 +02:00
Cenk Gündoğan
ba6d386c5e
Merge pull request #9756 from smlng/pr/ccnlite/versionbump
...
pkg: update ccn-lite and adapt shell commands
2018-08-13 11:03:11 +02:00
Martine Lenders
d852d90cd0
Merge pull request #9470 from gebart/pr/netif-fcf-frame-pend
...
gnrc_netif_ieee802154: Set FCF Frame Pending when more data is expected
2018-08-13 10:39:49 +02:00
Peter Kietzmann
2bfca66e5c
Merge pull request #9469 from gebart/pr/netif-flags-more-data
...
gnrc_netif: Introduce GNRC_NETIF_HDR_FLAGS_MORE_DATA
2018-08-13 10:03:00 +02:00
Joakim Nohlgård
a247d8bfa5
gnrc_netif_ieee802154: set Frame Pending bit sometimes
...
Set frame pending bit in IEEE 802.15.4 FCF when
GNRC_NETIF_HDR_FLAGS_MORE_DATA is set on the netif header on outbound
frames.
2018-08-13 09:27:18 +02:00
Joakim Nohlgård
29e4a1ba3c
gnrc_netif: Introduce GNRC_NETIF_HDR_FLAGS_MORE_DATA
2018-08-13 09:25:32 +02:00
Peter Kietzmann
a05e2f22e2
Merge pull request #9693 from smlng/pr/cc2538/timer
...
cc2538: cleanup and optimisation of periph timer
2018-08-13 08:40:51 +02:00
e2d2a479bf
Merge pull request #9351 from cladmi/pr/make/cortexm_common/linkerscript
...
cortexm_common/ldscript: simplify generation of firmwares in section of the ROM
2018-08-12 12:28:44 +02:00
Martine Lenders
6b0c34fa6f
Merge pull request #9765 from gebart/pr/sprintf-len
...
tests/gnrc_netif: Fix -Wformat-overflow
2018-08-11 17:50:48 +02:00
Gaëtan Harter
6abcf2e015
cortexm_common_ldscript: add a README.md
...
Explain the test and the output you should get.
2018-08-11 11:34:10 +02:00
Gaëtan Harter
8ecc0ac652
cortexm_common_ldscript: add test for _fw_rom_length overflow
...
Verify that specifying a too big _fw_rom_length for the rom is detected and
prevent compilation.
2018-08-11 11:34:07 +02:00
Gaëtan Harter
6768763601
cortexm_common_ldscript: add test for linker FW_ROM_LEN
...
Compile an elf file with a length equals to half the rom length.
2018-08-11 11:34:04 +02:00
Gaëtan Harter
7dad2e7096
cortexm_common/ldscript: allow defining FW_ROM_SIZE
...
Allow defining a specific rom length to use for linking the firmware,
_fw_rom_length, instead of the default configuration to use the whole rom from
_rom_offset to the end.
* Add cortexm_common/Makefile.include FW_ROM_SIZE configuration
* Add an assertion that _fw_rom_length still respects _rom_length
2018-08-11 11:34:01 +02:00
Gaëtan Harter
642f5f2414
cortexm_common_ldscript: add test for linker script offset
...
Compile two elf files with different offset and verify the linked file offset.
I only enabled samr21-xpro and iotlab nodes for the moment.
2018-08-11 11:33:58 +02:00
Gaëtan Harter
c84539fdb3
cortexm_common: allow defining ROM_OFFFSET in a compilation rule
...
Define _rom_offset with a conditional evaluated at execution time to allow
setting it in compilation rules and generate in the same make instance different
elf files with different configurations.
2018-08-11 11:33:55 +02:00
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
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
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
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