cladmi
bc7e53f3d4
openocd.sh: include base address in IMAGE_OFFSET for binfiles
...
Add the rom base address to the flash address when flashing binaries.
This allows flashing binaries with the default openocd configuration.
It is an API change to IMAGE_OFFSET with binary files as it should now
only be an offset to the base address.
Force openocd type to '.bin' in case we want to flash hex/elf objects or
files not automatically recognized as bin.
2018-09-04 13:53:38 +02:00
cladmi
36b51467dd
openocd.sh: add functions to access board flash address
...
This allows getting the ROM base address.
It may not be available in the build system directly so better extract it from
openocd. Also openocd is board specific and this address is cpu specific
so would have definition order issue in the build system.
2018-09-04 13:50:46 +02:00
cladmi
5748d6a75f
openocd.sh: add a _is_binfile function
...
Returns 0 if it is true.
The test is based on the file extension, but also use the IMAGE_TYPE variable
to force setting to binary.
2018-09-04 13:49:45 +02:00
Martine Lenders
461ceb8072
tests/lwip_sock_*: remove implicit import of lwip_ethernet
module
...
Now that `lwip_ethernet` is pulled in as a dependency of `lwip` +
`netdev_eth`, it can be removed.
2018-09-04 13:48:22 +02:00
cladmi
60aac4a75b
openocd.sh: fix verify_image with IMAGE_OFFSET
...
When flashing with an IMAGE_OFFSET, it should also be passed to
verify_image. It is handling the base address in the image too.
This works with both elf files and binaries with the base address added.
2018-09-04 13:48:16 +02:00
cladmi
09f0930f59
openocd.sh: add a debug message when flashing with an offset
2018-09-04 13:48:12 +02:00
cladmi
5bb9babfe0
openocd.sh: update to bash
...
Update to bash to have `local` variables and `=~` regex matching.
Will be used in upcoming commits.
2018-09-04 13:46:25 +02:00
Martine Lenders
d9d5828106
tests/lwip: remove implicit import of lwip_ethernet
module
...
Now that `lwip_ethernet` is pulled in as a dependency of `lwip` +
`netdev_eth`, it can be removed. This also makes this application more
flexible for usage of non-`native` boards with Ethernet devices.
2018-09-04 13:44:48 +02:00
Martine Lenders
761f5febc3
lwip: pull in lwip_ethernet
when netdev_eth
is present
...
With out this fix the application or device drivers need to add this
module. Otherwise, compilation of the lwIP adaptation layer will fail
for Ethernet devices.
2018-09-04 13:43:09 +02:00
Dylan Laduranty
8871e5aaa6
Merge pull request #9876 from fedepell/sercomid-9875
...
sam0_common: fix sercom_id return value for SERCOM5 (#9875 )
2018-09-04 09:10:06 +02:00
57ada27dae
Merge pull request #8970 from aabadie/pr/tools/pyterm_ctrl_d
...
dist/tools/pyterm: handle ctrl+d nicely
2018-09-04 08:55:22 +02:00
ZetaR60
db7734261c
Merge pull request #9823 from fesselk/patch-1
...
atmega_common/gpio_init: fix pull-up settings for GPIO_IN_PU
2018-09-03 20:30:53 -04:00
Federico Pellegrin
d3cd2b71c0
sam0_common: fix sercom_id return value for SERCOM5 ( #9875 )
2018-09-03 18:57:18 +02:00
75dba75fbb
dist/tools/pyterm: handle ctrl+d nicely
2018-09-03 17:34:23 +02:00
Martine Lenders
2350c46740
Merge pull request #9826 from kaspar030/fix_byteorder_bebuf
...
core/byteorder: fix bebuftohs() / htobebufs() on big endian
2018-09-03 14:35:29 +02:00
Martine Lenders
3d9aad2027
Merge pull request #9854 from bergzand/pr/rpl/pass_opt_len
...
gnrc_rpl: Pass options length to msg validator
2018-09-03 14:20:12 +02:00
Martine Lenders
e54428ce1e
Merge pull request #9853 from bergzand/pr/rpl/fix_dis_reserved_fields
...
gnrc_rpl: fix zeroing of RPL DIS fields
2018-09-03 14:19:59 +02:00
Martine Lenders
2e60e096a5
Merge pull request #9859 from jia200x/pr/doc_disable_subgrouping
...
doc: set SUBGROUPING to NO in riot.doxyfile
2018-09-03 14:05:57 +02:00
Leandro Lanzieri
9fd10fdad7
boards/sensebox_samd21: Use PA_BOOST for SX127X radios
2018-09-03 14:02:43 +02:00
José Alamos
43678c7079
Merge pull request #9880 from basilfx/feature/sltb001a_docs
...
boards: sltb001a: add docs
2018-09-03 11:16:35 +02:00
Dylan Laduranty
2c674b0770
Merge pull request #9877 from fedepell/sercom_set_gen
...
saml21: fix sercom_set_gen for sercom5
2018-09-03 10:48:38 +02:00
smlng
214ddc4fc4
cpu/cc2538: adapt and cleanup periph/hwrng
...
Some minor adaptions due to cleanup in periph/adc and usage of
vendor header files.
2018-09-03 09:01:42 +02:00
smlng
d40cfab95a
cpu/cc2538: enhance periph ADC
...
Adapt the periph ADC implementation to use vendor defines where
ever possible. Remove duplicate or obsolete defines and adapt
board configuration as required.
2018-09-03 09:01:42 +02:00
Josarn
fdb2baa10a
test/xtimer_drift: interval calculation
2018-09-02 22:29:44 +02:00
Bas Stottelaar
6ae49aa649
boards: sltb001a: add docs
2018-09-02 22:22:17 +02:00
Federico Pellegrin
bfdafe877e
sam0_common: correct sercom_set_gen for sercom5. it assumes SERCOM5 GEN clock is in sequence, but is not, need to put a specific if test
2018-09-02 13:39:08 +02:00
e8dfabd4c4
Merge pull request #8920 from haukepetersen/add_nanocaop_urilocationoption
...
net/nanocoap: add generic handling for string-based options
2018-08-31 12:04:32 +02:00
37090109d0
Merge pull request #9868 from aabadie/pr/tools/compile_test_flake8
...
dist/tools/compile_test: fix flake8 issues
2018-08-31 11:42:27 +02:00
8d9cb25ed7
tsrb: add drop function
...
The get function does not support passing NULL as an input buffer. to be
able to drop bytes from the buffer, a dedicated drop function is
required
2018-08-31 10:35:02 +02:00
a5714cc7c7
dist/tools/compile_test: fix flake8 issues
2018-08-31 08:50:52 +02:00
Joakim Nohlgård
31c63210c3
Merge pull request #9790 from haukepetersen/opt_stdio_vfs
...
vfs/stdio: cleanup STDIO mapping for vfs
2018-08-31 08:04:38 +02:00
bcb438a661
Merge pull request #9788 from cladmi/pr/edbg/flashbin
...
edbg.inc.mk: allow flashing with an offset in rom without erasing all ROM
2018-08-30 22:25:31 +02:00
Hauke Petersen
b837e656f9
stdio/vfs: generalized VFS mapping for STDIO
2018-08-30 11:14:59 +02:00
Peter Kietzmann
5b87b1d621
Merge pull request #9858 from jia200x/pr/doc_hashes
...
doc: refactor `hashes` group
2018-08-30 10:36:47 +02:00
Hauke Petersen
04bc6ee069
unittests/nanocoap: adjust to api changes
2018-08-30 10:31:03 +02:00
Hauke Petersen
a3b8c90485
net/gcoap: adjust to nanocoap changes
2018-08-30 10:31:03 +02:00
Hauke Petersen
4c08e77d00
net/nanocoap: improve option handling
...
- add generic string put and get functions
- add location path and location query options
- add dedicated functions for getting and setting
URI query, URI path, location query, and location path
options
2018-08-30 10:31:03 +02:00
Peter Kietzmann
daf2532c7d
Merge pull request #9760 from MrKevinWeiss/pr/bluepill/openocdfix
...
boards/stm32f103c8: fix openocd config
2018-08-30 09:24:58 +02:00
Jose Alamos
7d286ec3f3
doc: set SUBGROUPING to NO in riot.doxyfile
2018-08-29 17:57:13 +02:00
Jose Alamos
cac5944023
doc/hashes: deprecate supports section
2018-08-29 16:08:53 +02:00
Jose Alamos
060fb619e9
hashes: change ingroup directive
2018-08-29 15:57:24 +02:00
Jose Alamos
6b34f0b61c
hashes: define Doxygen groups in non crypto hashes
2018-08-29 15:49:49 +02:00
8ada7a84c5
Merge pull request #9845 from gebart/pr/features-gpio-irq
...
make: Introduce periph_gpio_irq feature
2018-08-29 10:44:22 +02:00
Joakim Nohlgård
92ef336259
Merge pull request #9843 from gebart/pr/core-openocd-ro
...
core: Mark openocd info variables read-only
2018-08-29 09:24:21 +02:00
Joakim Nohlgård
efc5f2a95c
msp430fxyz: Disable GPIO ISRs when periph_gpio_irq is not selected
2018-08-29 08:53:20 +02:00
Joakim Nohlgård
ace717ee27
drivers: Add dep on periph_gpio_irq in drivers using GPIO IRQ
2018-08-29 08:53:20 +02:00
Joakim Nohlgård
8996cbe313
make: Introduce new feature flag periph_gpio_irq
2018-08-29 08:53:20 +02:00
af3232fb34
gnrc_rpl: Pass options length to msg validator
...
Currently the length of the full ICMPv6 packet is passed to the
validator function causing validation failures on valid packets. This
fixes that by passing the length of remaining RPL options of the packet.
2018-08-29 00:47:20 +02:00
0c790c6638
gnrc_rpl: fix zeroing of RPL DIS fields
...
The code originally assumed that the location of DIS struct is directly
after the ICMPv6 struct. This is not necessarily true when both structs
are individually allocated by pktbuf. This commit fixes this issue by
directly accessing the location of the DIS struct.
2018-08-29 00:33:27 +02:00
Jose Alamos
4865731fdd
hashes/sha3: add missing macro documentation
2018-08-28 19:28:40 +02:00