Marian Buschsieweke
fec0f8dd48
boards/waspmote-pro: Refactor avrdude conf
2020-02-10 21:48:03 +01:00
Marian Buschsieweke
21b37a3f5e
boards/mega-xplained: Refactor avrdude conf
2020-02-10 21:48:03 +01:00
Marian Buschsieweke
ff53159f0e
boards/atmega256rfr2-xpro: Refactor avrdude conf
...
- No longer include `tools/serial.mk` and `tools/avrdude.mk`, as this is
no done by `boards/common/atmega`
- No longer provide `RESET ?=`, as this is now done in `tools/avrdude.mk` for
all ATmega boards unless they are using a bootloader
2020-02-10 21:48:03 +01:00
Marian Buschsieweke
26b4da2db2
boards/avr-rss2: Refactor avrdude conf
2020-02-10 21:48:03 +01:00
Marian Buschsieweke
e042bb43e1
boards/derfmega*: Refactor avrdude conf
2020-02-10 21:48:03 +01:00
Marian Buschsieweke
f5d9f29b57
boards/arduino-leonardo: Refactor avrdude conf
2020-02-10 15:01:27 +01:00
Marian Buschsieweke
7f4782e3e6
boards/arduino-duemilanove: Refactor avrdude conf
2020-02-10 15:01:06 +01:00
Marian Buschsieweke
c1c25b0644
boards/arduino-nano: Refactor avrdude conf
...
- Use the common logic to translate from a bootloader to concrete flasher flags
- Extended documentation on how to use optiboot as alternative bootloader, as
the stock bootloader is affected by a bug preventing the use of RIOT's
pm_reboot() implementation
2020-02-10 14:59:24 +01:00
Marian Buschsieweke
88b90ee4af
boards/arduino-uno: Refactor avrdude conf
2020-02-10 14:59:06 +01:00
Marian Buschsieweke
23531b3a73
boards/arduino-mega2560: Refactor avrdude conf
2020-02-10 14:58:18 +01:00
Marian Buschsieweke
750d3078e4
boards/common/arduino-atmega: Refactoring
...
- including `avrdude.mk` and `serial.mk` is no longer needed
- the avrdude flag -F is dropped
- This allows flashing a board having an MCU different to the one
RIOT was compiled for
- It is better to let the user provide this flag manually if she/he really
wants to turn safety off, knows what she/he is doing, and accepts the
risk associated with this
- the avrdude flag -D is dropped
- This disables issuing an erase command during flashing, however this
erase cycle is strictly required to be able to program the flash
- This is only needed in case of the stk500v2 bootloader, which implicitly
does the erase cycle and fails if explicitly asked to do so
- Only for the stk500v2 bootloader this flag is now added
2020-02-10 14:52:07 +01:00
Marian Buschsieweke
95704348ae
boards/common/atmega: Refactor flash & serial conf
...
- Include `tools/avrdude.mk` and `tools/serial.mk` at the common place instead
for each ATmega based board individually
- Introduce the makefile variable BOOTLOADER to de-duplicate flash configs:
- Two boards using the same bootloader now just use `BOOTLOADER ?= foo`
and share the individual config
- These settings are not applied when `PROGRAMMER` is set to still allow
users to manually specify how to program their board
2020-02-10 14:48:39 +01:00
Dylan Laduranty
b5bb846d3a
Merge pull request #13312 from benpicco/cpu/sam0-vendor_cleanup
...
cpu/sam0_common: use vendor provided MCU header dispatch
2020-02-07 20:33:45 +01:00
Gunar Schorcht
c585535640
Merge pull request #13291 from aabadie/pr/boards/makefile_dep
...
boards: move remaining uses of USEMODULE from Makefile.include to Makefile.dep
2020-02-07 16:16:02 +01:00
benpicco
16ab89bf28
Merge pull request #12728 from bergzand/pr/at86rf2xx/fix_recv_before_send
...
at86rf2xx: fix receive before send detection
2020-02-07 13:54:52 +01:00
Gunar Schorcht
3514eecf9d
Merge pull request #12474 from kaspar030/add_event_threads
...
sys: add shared event threads
2020-02-07 13:29:29 +01:00
713fead00a
boards: move some USEMODULE to Makefile.dep
2020-02-07 13:21:22 +01:00
benpicco
5a4d39e2ee
Merge pull request #13288 from catcombo/fix-ds18-temperature-conversion
...
Fix ds18 temperature conversion
2020-02-07 13:09:22 +01:00
42d54600f7
at86rf2xx: fix receive before send detection
...
The at86rf2xx radio handled a transfer complete condition with the radio
in the BUSY_TX_ARET state as a finished transmission. This condition and
state also occurs when a reception occurs just before switching to
transmitting. This would cause a condition where first a TX_COMPLETE was
signalled and second a RX_COMPLETE was signalled. The network stack
would then read the transmitted frame as a received frame.
The patch fixes the errornous RX callback by only submitting the
TX_COMPLETE condition when there are at least 2 frames pending
(at86rf2xx::pending_tx).
2020-02-07 13:08:33 +01:00
benpicco
dfcf155aa6
Merge pull request #13311 from benpicco/cpu/samr21-asf
...
cpu/sam0_common: update samr21 vendor files to version 1.1.72
2020-02-07 13:06:11 +01:00
9a93805bee
tests/event_threads: initial event threads test application
2020-02-07 12:17:56 +01:00
e01ad86eb3
sys/event: add shared event threads
2020-02-07 12:17:56 +01:00
Benjamin Valentin
b0078b1a98
cpu/sam0_common: update samr21 vendor files to version 1.1.72
...
This release adds EXTINT defines compatible with later versions of
the sam0 series of MCUs.
2020-02-07 12:14:45 +01:00
Cenk Gündoğan
7459adda79
Merge pull request #13292 from leandrolanzieri/pr/makefile_base/module_simple_exp
...
makefiles: Use simple expansion for widely used variables
2020-02-07 12:02:04 +01:00
Evgeniy Krysanov
234313a9f1
drivers/ds18: add arduino-nano to BOARD_WHITELIST in ds18 driver test
2020-02-07 12:55:43 +03:00
benpicco
66c7c63c94
Merge pull request #13061 from gschorcht/cpu/esp32/rtc_xtal_32k
...
cpu/esp32: allow external 32 kHz crystal for the RTC hardware timer
2020-02-07 10:24:22 +01:00
Gunar Schorcht
1e71606305
boards/esp32: enable 32 kHz XTAL for WROVER-KIT
2020-02-07 00:46:16 +01:00
Gunar Schorcht
4c0cfdcc8e
cpu/esp32: allow external 32 kHz crystal for RTC
2020-02-07 00:46:16 +01:00
Peter Kietzmann
b339b1c134
Merge pull request #13254 from maksim-ka/pr-relic-branch
...
pkg/relic: use random module for seeding relic PRNG
2020-02-06 23:48:43 +01:00
maksim-ka
d3d181c5a8
pkg/relic: use random module for seeding relic PRNG
2020-02-06 21:11:39 +01:00
Benjamin Valentin
bd1953dd80
cpu/sam0_common: use vendor files to dispatch MCU headers
...
Instead of manually re-creating the files from ASF, just use
the vendor provided dispatch headers and ease the maintainance
burden.
2020-02-06 19:52:05 +01:00
Benjamin Valentin
fd793b8917
cpu/samd51: add common header file from ASF
...
Somehow I forgot to commit this.
2020-02-06 19:49:50 +01:00
benpicco
615739a961
Merge pull request #13302 from Einhornhool/cryptoauth-device-conf
...
tests/pkg_cryptoauthlib_internal_tests: add unsupported device handling
2020-02-06 18:33:35 +01:00
benpicco
24fb7a9aae
Merge pull request #12933 from maribu/atmega_pcint_cleanup
...
cpu/atmega_common/periph/gpio: Clean up PCINT support
2020-02-06 18:29:15 +01:00
Francisco
e1c711e8cb
Merge pull request #13078 from aabadie/pr/make/remove_useless_exports
...
make: remove useless exports of USEMODULE and USEMODULE_INCLUDES vars
2020-02-06 16:47:25 +01:00
Einhornhool
8c1246d6a5
tests/pkg_cryptoauthlib_internal: add unsupported device handling
2020-02-06 15:09:38 +01:00
Sebastian Meiling
24f6b3953a
Merge pull request #13290 from pokgak/pr/tinydtls/cleanup
...
tinydtls: remove TINYDTLS_LOG and cleanup
2020-02-06 14:58:36 +01:00
benpicco
cfb383593d
Merge pull request #13298 from Einhornhool/cryptoauth-doc
...
pkg/cryptoauthlib: add no poll mode to documentation
2020-02-06 12:12:33 +01:00
Lena Boeckmann
eec8580dc3
pkg/cryptoauthlib: add no poll mode to doc
2020-02-06 09:48:38 +01:00
Peter Kietzmann
f871f64292
Merge pull request #13297 from Einhornhool/cryptoauth-llvm
...
pkg/cryptoauthlib: add includes to cflags for llvm
2020-02-05 22:11:44 +01:00
benpicco
f144a12c71
Merge pull request #13092 from Ciusss89/lwip_enc28j60
...
pkg/lwip: add auto-init support for transciever ENC28J60
2020-02-05 22:08:28 +01:00
benpicco
3d95521c14
Merge pull request #13301 from gschorcht/board/esp32/fix_compile_error_c_linkage
...
boards/esp32: fix compilation error due to C linkage in examples/posix_sockets
2020-02-05 22:08:14 +01:00
Gunar Schorcht
cfcea03a58
board/esp32: fix compilation error due to C linkage
...
Including `board_common.h` header has to be outside the `extern C` linkage block.
2020-02-05 20:42:22 +01:00
benpicco
bbf6eb3ef0
Merge pull request #13299 from Einhornhool/cryptoauth-device-conf
...
pkg/cryptoauthlib: make atca device type configurable
2020-02-05 20:09:22 +01:00
benpicco
04706ae8d3
Merge pull request #13293 from leandrolanzieri/pr/doc/kconfig_getting_started
...
doc: Add section on configuration to 'Getting started'
2020-02-05 17:12:20 +01:00
Lena Boeckmann
1ee1ffa1e3
pkg/cryptoauthlib: add includes to cflags for llvm
2020-02-05 16:52:12 +01:00
Lena Boeckmann
23aa05126d
pkg/cryptoauthlib: make atca dev type configurable
2020-02-05 16:51:43 +01:00
Leandro Lanzieri
efea82eb7a
doc: Add section on configuration in 'getting started' page
2020-02-05 15:51:55 +01:00
81d348cafd
Merge pull request #13296 from kaspar030/atmega32u4_remove_coreifng
...
cpu/atmega32u4: remove obsolete -DCOREIF_NG=1
2020-02-05 15:43:56 +01:00
0cb13186cc
cpu/atmega32u4: remove obsolete -DCOREIF_NG=1
2020-02-05 15:08:13 +01:00