e6776ae8d1
edbg.inc.mk: allow flashing with an offset in rom
...
Allow flashing with an offset in ROM from the rom base address.
It reuses `IMAGE_OFFSET` configuration variable name from `openocd.sh`.
This will allow flashing multiple images with different flash operations.
2018-08-16 16:49:16 +02:00
3af10a604e
edbg.inc.mk: do not erase the whole rom before flashing
...
This mimics openocd behaviour that only erase needed sectors of the rom.
2018-08-16 16:47:10 +02:00
Gaëtan Harter
31aba49a31
Merge pull request #9759 from smlng/pr/pythonlibs/testrunner
...
dist: move testrunner to pythonlibs as package
2018-08-16 11:54:02 +02:00
Martine Lenders
90c4ddcfb1
Merge pull request #9704 from miri64/pkg/fix/cmsis-dsp-llvm
...
pkg: cmsis-dsp: fix -Wunknown-attributes for LLVM
2018-08-15 10:25:42 +02:00
Martine Lenders
f5d0c52650
pkg: cmsis-dsp: fix -Wunknown-attributes for LLVM
...
Apparently LLVM doesn't know the `optimize` attribute.
2018-08-15 10:13:08 +02:00
José Alamos
a697689c4c
Merge pull request #9729 from leandrolanzieri/pr/sensebox
...
boards/sensebox: Add support for SenseBox board
2018-08-15 10:04:57 +02:00
0f897fc812
Merge pull request #9362 from gebart/pr/Wimplicit-fallthrough
...
make: Makefile.include: Remove -Wno-implicit-fallthrough
2018-08-14 23:15:28 +02:00
Francisco Acosta
3f5564b212
Merge pull request #9764 from gebart/pr/frdm-k64f-saul-adc
...
frdm-k64f: Add SAUL ADC configuration
2018-08-14 19:19:38 +02:00
Francisco Acosta
f74a1df875
Merge pull request #9763 from gebart/pr/frdm-k64f-adc
...
frdm-k64f: Update ADC configuration
2018-08-14 19:18:33 +02:00
Martine Lenders
e7b554bad2
Merge pull request #9773 from maribu/lpc2387
...
cpu/lpc2387: Fixed documentation and bugs preventing use of LLVM
2018-08-14 16:20:52 +02:00
Martine Lenders
56d79b3aea
Merge pull request #9720 from cladmi/pr/make/ccn-lite-relay/cmake_version
...
pkg/ccn-lite/relic: check for minimal cmake version
2018-08-14 15:46:40 +02:00
Marian Buschsieweke
f31375a152
cpu/lpc2387: Use PRIu32 in DEBUG() in mci
2018-08-14 15:35:12 +02:00
Marian Buschsieweke
6358e75f01
cpu/lpc2387: Fixed bug and readability in IAP
...
- Previous cast was to a function pointer was not legal
- Using already present function pointer to store the IAP entry point to improve
readability. (Which also fixes the cast issue.)
2018-08-14 15:31:43 +02:00
Gaëtan Harter
1aebe28f38
pkg/relic: check for minimal cmake version
...
relic does not build with cmake < 3.6.0. This checks for a minimal version
instead of failing to compile.
cmake version 3.5.2 is not >= to minimal required 3.6.0
Makefile:25: recipe for target '..cmake_version_supported' failed
2018-08-14 15:27:01 +02:00
Gaëtan Harter
b0986d91ff
pkg/ccn-lite: check for minimal cmake version
...
ccn-lite does not build with cmake < 3.6.0. This checks for a minimal version
instead of failing to compile.
cmake version 3.5.2 is not >= to minimal required 3.6.0
Makefile:25: recipe for target '..cmake_version_supported' failed
Tested with versions 3.5.2, 3.6.0-rc1, 3.6.0, 3.6.3, 3.7.0-rc1, 3.7.0.
Note: the check used does not consider '-rcX' as 'sort -V' does not handle them
properly.
2018-08-14 15:26:58 +02:00
Gaëtan Harter
a3c7d26a7d
dist/tools/has_minimal_version: add tool to check minimal version
...
usage: has_minimal_version.sh <version> <minimal_version> [toolname]
Checks that version >= minimal_version
Version format MAJOR.MINOR.PATCH ex 3.1.4
2018-08-14 15:26:51 +02:00
Martine Lenders
914f320dfe
Merge pull request #9471 from gebart/pr/netif-6lo-more-data
...
gnrc/6lo: Set more data flag on all but last fragment
2018-08-14 15:25:07 +02:00
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
Marian Buschsieweke
18ae7652a9
cpu/lpc2387: Fixed doc and attribute of arm_reset
...
- arm_reset was completely undocumented, even though technical details buried
deeply in the data sheet of the LPC2387 are involved in the code
- The attribute "naked" is misplaced, it should only be used when no C code
is present. However, the function consists of C code only
- The attribute "noreturn" has to be used in the declaration [1] of a function,
not in the implementation. Otherwise the caller is not informed and code using
the function will not be optimized.
[1]: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html
2018-08-14 10:40:09 +02:00
Joakim Nohlgård
dda55731ff
Makefile.include: Remove -Wno-implicit-fallthrough
2018-08-14 10:20:37 +02:00
Joakim Nohlgård
9e5dd332cf
Makefile.include: Set CCACHE_CPP2 to fix false warnings
2018-08-14 10:20:14 +02:00
Joakim Nohlgård
3cc088689e
6lo: Speling correction in comment
2018-08-14 10:08:52 +02:00
Joakim Nohlgård
58281e9135
6lo: Set more data flag on all but last frag
2018-08-14 10:08:17 +02:00
Joakim Nohlgård
1652e5ae24
sht1x: Fix Wimplicit-fallthrough warning
2018-08-14 10:05:15 +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
smlng
3893f04d00
tests: move testrunner import up
...
Testrunner is now impported as a package found in PYTHONPATH, so
import can be placed at the top of the script as usual.
2018-08-13 14:11:24 +02:00
smlng
f9824abedb
tests: remove unused os package import
...
os package is imported by every test script but only used by
a few, thus flake8 check reported errors.
2018-08-13 14:11:23 +02:00
smlng
13d61b5c20
tests: use testrunner from pythonlibs
...
Remove now obsolete sys.append from all tests, as testrunner was moved
to dist/pythonlibs as proper package.
2018-08-13 14:11:23 +02:00
smlng
dd9a43bdc9
dist: move testrunner to pythonlibs as package
...
As testrunner is moved to dist/pythonlibs which is exported
via PYTHONPATH, testrunner is found by all test scripts.
2018-08-13 14:11:22 +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
Jose Alamos
d54a74736d
boards/sensebox: Initial board port for SenseBox MCU with SAMD21
2018-08-13 10:49:46 +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