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
Benjamin Valentin
11d77271cf
drivers/ws281x: introduce WS281X_HAVE_INIT
...
This brings the backend-dependant init() function in line with
`WS281X_HAVE_PREPARE_TRANSMISSION` and `WS281X_HAVE_END_TRANSMISSION`.
2020-02-10 14:45:26 +01:00
Benjamin Valentin
720eff3416
tests/driver_ws281x: allow build on native
...
Also add an additional newline before each test title to improve
the rendering on native console output.
2020-02-10 14:45:26 +01:00
Benjamin Valentin
8352e4aae0
drivers/ws281x: add VT100 backend for native
...
To quickly iterate on animations it is handy to being able to simulate
the output on native.
This adds a VT100 terminal backend to the ws281x driver that outputs
the colors straight to the terminal.
2020-02-10 14:40:15 +01:00
6b2478953c
pcd8544: move to display devices doxygen group
2020-02-10 14:11:17 +01:00
7ade31ad5b
ili9341: move to display devices doxygen group
2020-02-10 14:11:05 +01:00
d070f2924d
hd44780: move to display devices doxygen group
2020-02-10 14:10:46 +01:00
965a0f9c9a
dsp0401: move to display devices doxygen group
2020-02-10 14:10:18 +01:00
8a481abc90
drivers: Add display devices doxygen group
2020-02-10 14:09:57 +01:00
2e32a11822
Merge pull request #13326 from aabadie/pr/doc/ili9341_cleanup
...
drivers/ili9341: cleanup doxygen documentation
2020-02-10 14:08:35 +01:00
Benjamin Valentin
d675eb7cbb
boards/mcb2388: update SPI configuration
2020-02-10 13:41:00 +01:00
Benjamin Valentin
4342d81220
boards/mcb2388: add ADC configuration
...
The MCB2388 has a potentiometer connected to an ADC input.
2020-02-10 13:25:26 +01:00
Benjamin Valentin
9c0dfaada9
boards/msba2: add ADC configuration
...
ADC pins are on the AD/DA pins (JP8).
Configure AD0.0 - AD0.2 as laid out on the board schematics.
2020-02-10 13:25:26 +01:00
Benjamin Valentin
13e578bc84
cpu/lpc2387: implement periph/adc
...
lpc23xx has a 10 bit ADC with up to 8 channels.
The ADC should be clocked at 4.5 MHz or less, so it uses
(72MHz CCLK / 8) / 2.
2020-02-10 13:25:26 +01:00
e573d8b57f
drivers/ili9341: cleanup doxygen documentation
2020-02-10 11:46:01 +01:00
1ad14f3c79
Merge pull request #13322 from francois-berder/cleanup-numof
...
boards: Use ARRAY_SIZE for setting UART_NUMOF, SPI_NUMOF, I2C_NUMOF
2020-02-10 11:38:51 +01:00
Marian Buschsieweke
eb6b830955
drivers/ina2xx: Fixed missing i2c_acquire/release
2020-02-10 10:32:27 +01:00
Francois Berder
b4ab22673e
boards: Use ARRAY_SIZE for setting UART_NUMOF, SPI_NUMOF, I2C_NUMOF
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-02-09 20:55:46 +00:00
Benjamin Valentin
e03780c8ca
cpu/sam0_common: update samd21 vendor files to version 1.3.395
...
This release adds EXTINT defines compatible with later versions of
the sam0 series of MCUs.
2020-02-08 03:28:14 +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
Francisco Molina
238d56e474
cpu/samd21/cpu: reset GCLK before configuring them
2020-02-07 16:11:42 +01:00
Francisco Molina
dd4f6600b8
tests/periph_wdt: wait for prompt
2020-02-07 15:54:58 +01:00
Francisco Molina
2e542a2488
cpu/samd21: cleanup XOSC32K initialization
2020-02-07 15:54:56 +01:00
Francisco Molina
9ab22b6926
cpu/samd21: add GEN3_ULP32K selector
2020-02-07 15:53:32 +01:00
Francisco Molina
c9ff150571
boards/sam%21-xpro: prefer XOSC32K for RTC/RTT (GCLK2)
2020-02-07 15:48:15 +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
Wouter Symons
7f4ce0b63d
test/conn_can: blacklist arch_msp430
2020-02-07 13:44:38 +01:00
Wouter Symons
ae947d5c81
sys/can/conn: Fixup unused code
2020-02-07 13:35:25 +01:00
Wouter Symons
e823099fc1
tests/conn_can: add boards to BOARD_INSUFFICIENT_MEMORY
2020-02-07 13:35:21 +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
Wouter Symons
a4f602b01d
tests/conn_can: remove feature requirements from Makefile
2020-02-07 10:54:17 +01: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