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

29142 Commits

Author SHA1 Message Date
Leandro Lanzieri
bf9cfb1992
Merge pull request #13995 from akshaim/Kconfig_isl29020
drivers/isl29020 : Expose Configurations to Kconfig
2020-05-08 15:35:44 +02:00
c9b83e3a5a
Merge pull request #13146 from chrysn-pull-requests/nrf52840-dongle-2
boards: add support for nrf52840-dongle
2020-05-08 15:31:25 +02:00
chrysn
1c0bdede8d boards/nrf52840dongle: Add support
It includes per-board support for the nrfutil programmer used with its
default bootloader; this is not generalized over Adafruit's boards as
they use incompatible versions of nrfutil.
2020-05-08 14:49:46 +02:00
Akshai M
db96ebcbe1 drivers/isl29020 : Expose to Kconfig
Expose configurations to Kconfig.
2020-05-08 18:07:27 +05:30
Akshai M
f01bbd3c58 drivers/isl29020 : Make ADDR configurable
Make ISL29020_PARAM_ADDR configurable
2020-05-08 18:07:27 +05:30
Akshai M
38687e63bb drivers/isl29020 : Add CONFIG_
Add CONFIG_ prefix to ISL29020_DEFAULT_ADDRESS
2020-05-08 18:07:27 +05:30
Leandro Lanzieri
e272cc920b
Merge pull request #13980 from akshaim/Kconfig_tcs37727
drivers/tcs37727 : Expose Configurations to Kconfig
2020-05-08 12:40:11 +02:00
benpicco
f6b5652799
Merge pull request #14042 from aabadie/pr/doc/build-system-typo-fix
doc/build-system-basics: fix typo
2020-05-08 11:55:25 +02:00
benpicco
0bbc86a379
Merge pull request #14041 from gschorcht/cpu/esp/fix_make_flash_dependency
cpu/esp_common: fix the dependency of the flash image on the ELF file
2020-05-08 11:55:14 +02:00
53ea5ff883
doc/build-system-basics: fix typo 2020-05-08 11:29:39 +02:00
Gunar Schorcht
d0cc955394 cpu/esp_common: fix dependency of flash target on ELF file
Flashing an ESP board first requires the creation of a flash image from the ELF file.  This is realized in the `preflash` target. However, the `preflash` target only depends on the variable `BUILD_BEFORE_FLASH` but on the ELF file. Therefore, the variable `BUILD_BEFORE_FLASH` must be set to the ELF file to ensure that when using multiple make processes, the compilation of the ELF file is completed before the flash image is created.
2020-05-08 11:03:39 +02:00
Leandro Lanzieri
2d1d13d452
Merge pull request #14028 from miri64/gnrc_pktdump/fix/opt-deps
gnrc_pktdump: fix dependencies
2020-05-08 08:53:31 +02:00
Marian Buschsieweke
0fe24e1c8b
Merge pull request #13903 from benpicco/cpu/lpc2387/timer_pclk_scale
cpu/lpc2387: timer: use lpc2387_pclk_scale()
2020-05-07 22:04:14 +02:00
Akshai M
b4a23b8899 drivers/tcs37727 : Expose to Kconfig
Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-05-07 23:55:32 +05:30
Akshai M
04bdd405d2 drivers/tcs37727 : Add CONFIG_
Add CONFIG_ prefix to TCS37727_ATIME_DEFAULT and update
documentation for doxygen.
2020-05-07 23:20:24 +05:30
benpicco
d12de79355
Merge pull request #14037 from maribu/atmega1284p
boards/atmegaxxxp: Bugfixes
2020-05-07 16:37:28 +02:00
benpicco
7037c95b44
Merge pull request #13412 from jue89/feature/cryptoauthlib-gpio-wake
pkg/cryptoauthlib: wake pulse implementation for CPUs supporting periph_i2c_reconfigure
2020-05-07 16:34:44 +02:00
eb9bf4b601 dist/tools/uncrustify: add ztimer files to whitelist 2020-05-07 14:59:13 +02:00
Francisco
8567ba0cbf
Merge pull request #14040 from kaspar030/unforce_uncrustify
dist/tools/uncrustify: temporarily disable error on check failure
2020-05-07 14:51:49 +02:00
87b0c1d909 dist/tools/uncrustify: temporarily disable error on check failure 2020-05-07 13:57:09 +02:00
398959ccaf
Merge pull request #13990 from fjmolinas/pr_ztimer_base
sys/ztimer: expose ZTIMER_MSEC/USEC_BASE
2020-05-07 13:35:39 +02:00
Ken Bannister
10a479c1c5
Merge pull request #13935 from cgundogan/pr/nanocoap/proxy_uri_parsing
nanocoap: add coap_get_proxy_uri()
2020-05-07 06:14:19 -04:00
benpicco
ed95944ed7
Merge pull request #13896 from fabian18/mtd-do-not-return-length-on-success
mtd: Change API to return 0 on success
2020-05-06 22:16:34 +02:00
Marian Buschsieweke
ee50546f80
boards/atmega328p: Fix duplicated includes
avrdude.mk and serial.mk was included twice. As a result of the former, avrdude
wasted one flash cycle and some time by writing the same firmware twice.
2020-05-06 20:28:34 +02:00
Marian Buschsieweke
9c042eb388
boards/atmega1284p: Default programmer, fix doc
The AVR Dragon, previously the cheapest debugger/programmer for AVR, is out of
production. The default debugger for AVR devices has been changed to the Atmel
ICE, the now cheapest debugger option. The commit updates the documentation
accordingly.

Additionally the default programmer is changed to the Atmel ICE for consistency.
The doc is updated accordingly.
2020-05-06 20:28:33 +02:00
Marian Buschsieweke
6c203deb7d
boards/atmega1284p: Fix duplicated includes & typo
- avrdude.mk and serial.mk were included twice.
    - The former resulted in `make flash` wasting one flash cycle by flashing
      the same firmware twice
- Fixed typos (atmega328p instead of atmega1284p)
2020-05-06 20:27:42 +02:00
fabian18
d52c7167bc Revert "tests/driver_at25xxx: adapt to change in driver API"
This reverts commit 6ca7ac949a.
2020-05-06 20:24:27 +02:00
fabian18
50d408b202 Revert "drivers/at25xxx: return read/written bytes to match MTD API"
This reverts commit 8a2a936726.
2020-05-06 20:24:27 +02:00
fabian18
a3a1c160ee mtd: Change API to return 0 on success
Returning the number of bytes written/read could return a negative integer
because a uint32_t is expected for the length in read()/write() operations.
2020-05-06 20:24:27 +02:00
Juergen Fitschen
bb0f7e5014 ztimer: pull in xtimer_on_ztimer only if ztimer_usec is used 2020-05-06 20:18:13 +02:00
benpicco
c7b15f4abe
Merge pull request #11081 from OTAkeys/pr/fix_mtd_spi_nor_read
drivers/mtd_spi_nor: fix read spanning pages
2020-05-06 19:51:16 +02:00
Francisco Molina
bd3eff3537 cpu/esp32: switch from O2 to Os
In #12955 optimization was switched to O2 because with the '-Os'
option, the ESP32 hangs sporadically in 'tests/bench*' if
interrupts where disabled too early by benchmark tests.

Since it hasn't been reproduced since and in #13196 O2 was causing
un-explained hardfaults, since the aforementioned issue could not
be reproduced we switch back to Os by removing O2, as Os will be
used by default.
2020-05-06 18:46:43 +02:00
Vincent Dupont
c077c07017 drivers/mrd_spi_nor: fix read spanning pages 2020-05-06 16:36:29 +02:00
Vincent Dupont
49358e2763 unittests/tests-mtd: add a test to check read spanning pages 2020-05-06 16:36:29 +02:00
benpicco
8e11acc9f8
Merge pull request #13877 from ML-PA-Consulting-GmbH/feat/20200409__add_mtd_spi_eeprom
drivers/mtd_spi_eeprom: add MTD wrapper for AT25XXX EEPROMs
2020-05-06 15:56:34 +02:00
Benjamin Valentin
5481d8c73a cpu/sam0_common: clean up formatting
Make the code nicer to read.
2020-05-06 14:11:47 +02:00
Benjamin Valentin
e93c9a82f1 cpu/sam0_common: RTC INTFLAG are clear on write
Writing a 1 bit clears the interrupt flag, writing with |= is thus
uneccecary (and actually an error as this would clear *all* flags).

This cleanup was already done for rtt.c, but rtc.c missed out.
2020-05-06 14:05:12 +02:00
Martine Lenders
18bd56d2d9
Merge pull request #13979 from benpicco/net/gnrc/netif/6lo-frag_size
gnrc/netif: 6lo: use 16 bit for max_frag_size
2020-05-06 12:43:02 +02:00
Juergen Fitschen
0680eae86b pkg/cryptoauthlib: wake pulse implementation for SAM0 CPUs 2020-05-06 12:03:26 +02:00
Francisco Molina
95e2221003
sys/ztimer/auto_init: use default configuration header 2020-05-06 11:27:10 +02:00
Francisco Molina
bc16809d9c
sys/include/ztimer: add configuration header 2020-05-06 11:27:10 +02:00
Francisco Molina
a1f3a8d668
sys/ztimer: expose ZTIMER_MSEC/USEC_BASE
ztimer_clock are meant to be chained. At the end of the chaine
there is always a timer device object (periph_rtt/rtc/timer).

Since ZTIMER_MSEC and ZTIMER_USEC can be the scaled/shifted with
respect to the base periph_rtt/rtc/timer it makes sense to chain
other ZTIMER_XXX on top of the base rtc/timer/rtt in order to avoid
chained convertions.
2020-05-06 11:22:40 +02:00
Martine S. Lenders
8ff77f6444
tests/gnrc_netif: fix test script for empty payload
With the rework of `gnrc_pktdump` it does not try to print packets with
empty payload anymore. This needs to be reflected in the test script.
2020-05-06 10:46:59 +02:00
8ffd34ddd0
Merge pull request #12776 from maribu/test_event_wait_timeout
tests/event_wait_timeout: Fix for 8bit platforms
2020-05-05 21:33:06 +02:00
Martine S. Lenders
a349748354
gnrc_pktdump: reorder switch-cases in accordance with enum order 2020-05-05 21:05:00 +02:00
Martine S. Lenders
d43384d238
gnrc_pktdump: remove some duplicate calls to od_hex_dump()
`od_hex_dump()` is called if `hdr_len < pkt->size` to print the rest
after `hdr_len` of `pkt`. So if we just leave `hdr_len = 0` instead of
calling `od_hex_dump()` for every other NETTYPE, we achieve the same
effect.

As it is more effective (and already done in some cases) to re-set
`hdr_len` when the header was printed, we initialize `hdr_len` first
with 0 now.
2020-05-05 21:05:00 +02:00
Martine S. Lenders
5414164119
gnrc_pktdump: use gnrc_nettype_% module where appropriate 2020-05-05 21:05:00 +02:00
Leandro Lanzieri
34689a290c
Merge pull request #13994 from miri64/gnrc_nettype/enh/use-pseudomodules
gnrc_nettype: indirect NETTYPE definition via pseudo-modules
2020-05-05 20:59:44 +02:00
Martine S. Lenders
ae05e84a9b
gnrc_nettype: fix line-length for all to be <100 2020-05-05 19:16:06 +02:00
Martine S. Lenders
1c251beb03
gnrc_nettype: indirect NETTYPE definition via pseudo-modules
Instead of making a NETTYPE definition dependent on an implementation
module, this change makes it dependent on a pseudo-module for each
specific NETTYPE and makes the respective implementation modules
dependent on it.

This has two advantages:

- one does not need include the whole implementation module to
  subscribe to a NETTYPE for testing or to provide an alternative
  implementation
- A lot of circular dependencies related to GNRC could be untangled.
  E.g. the only reason `gnrc_icmpv6` needs the `gnrc_ipv6` is because it
  uses `GNRC_NETTYPE_IPV6` to search for the IPv6 header in an ICMPv6
  when demultiplexing an ICMPv6 header.

This change does not resolve these dependencies or include usages where
needed. The only dependency change is the addition of the
pseudo-modules to the implementation modules.
2020-05-05 19:16:06 +02:00