Gunar Schorcht
941d6be666
boards: make DFU_USB_ID and DFU_USE_DFUSE overridable
2022-11-30 19:28:14 +01:00
Gunar Schorcht
1d9e2cc4f6
sys/riotboot: use BTN0_MODE for default value of BTN_BOOTLOADER_INVERTED
2022-11-30 19:28:14 +01:00
Gunar Schorcht
09e94b3e15
sys/usb/usbus/dfu: check min sector size for STM32 F2/F4/F7
...
STM32F2/4/7 MCUs use sectors instead of pages, where the minimum sector size is defined by FLASHPAGE_MIN_SECTOR_SIZE, which is 16KB or 32KB (the first sector) depending on the CPU_MODEL. In this case SLOT0_OFFSET must be a multiple of the minimum sector size to cover a whole sector.
2022-11-30 19:28:14 +01:00
Gunar Schorcht
421cbc5c29
bootloaders/riotboot_dfu: improve documentation of usage
...
The `dfu-util` command uses `--device $(DFU_USB_ID)`, where `DFU_USB_ID` is derived from `USB_VID` and `USB_PID` to specify the DFU device to use. Without specifying `USB_VID` and `USB_PID` in the make command, `dfu-util` is called with `--device :`, which only works if there is only one DFU device. Also, the STM32 make system forbids the use of `dfu-util` as programmer without setting the variable `DFU_USB_ID`. Therefore, the documentation is changed to use `USB_VID`/`USB_PID` or `DFU_USB_ID` in the make command.
2022-11-30 19:28:14 +01:00
Dylan Laduranty
4af5175b9d
Merge pull request #18992 from gschorcht/pkg/tinyusb_fix_reset
...
pkg/tinyusb: fix the reset of the USB connection for STM32 boards without internal D+ pullup
2022-11-30 18:42:52 +01:00
Gunar Schorcht
fc1600252f
pkg/tinyusb: fix reset for STM32 boards without internal D+ pullup
...
If the STM32 MCU does not have an internal D+ pullup and there is no dedicated GPIO on the board to simulate a USB disconnect, the D+ GPIO
has to be temporarily configured as an output and pushed down to simulate a disconnect/connect cycle to allow the host to recognize the device. This is done correctly in `cpu/stm32/periph/usbdev_fs.c` but not in tinyUSB STM32 hardware driver. That is, pressing the RESET button doesn't reset the USB connection.
fixup! pkg/tinyusb: fix reset for STM32 boards without internal D+ pullup
2022-11-30 15:17:51 +01:00
benpicco
7d8601e3cd
Merge pull request #18997 from OlegHahm/pr/add_32bit_requirement_to_paho
...
pkg: paho-mqtt: added missing requirement
2022-11-30 14:49:12 +01:00
Oleg Hahm
6f7710a2e9
pkg: paho-mqtt: added missing requirement
...
Paho won't compile on platforms where an Integer is smaller than 32 bit.
2022-11-30 11:42:40 +01:00
benpicco
e18bc193fc
Merge pull request #18551 from benpicco/suit_worker_cleanup
...
suit: start worker thread on demand, make suit_handle_url() public
2022-11-30 11:42:25 +01:00
0d30defd5c
Merge pull request #18996 from kaspar030/fast_build_unittests_fix
...
CI: can_fast_ci_build.py unittests fix
2022-11-30 10:14:00 +01:00
34cfdac78a
ci/can_fast_ci_run.py: add workaround for #18987
2022-11-30 09:37:34 +01:00
benpicco
32f05417b0
Merge pull request #18994 from kfessel/p-update-wamr-pkg-111
...
pkg/wamr: Update to WAMR-1.1.1
2022-11-29 19:56:47 +01:00
Kevin "Tristate Tom" Weiss
16b616218c
Merge pull request #18734 from Teufelchen1/tests/uri_parser
...
unittests/uri_parser: Rework tests to be more verbose
2022-11-29 19:43:34 +01:00
Teufelchen1
49efb727da
unittests/uri_parser: Rework tests to be more verbose
2022-11-29 16:47:07 +01:00
Karl Fessel
16b45766d3
pkg/wamr: Update to WAMR-1.1.1
2022-11-29 13:28:46 +01:00
Jose Alamos
2965419028
drivers/at86rf2xx: move addr logic to netdev
2022-11-29 11:16:16 +01:00
Jose Alamos
ba6c0d845e
drivers/at86rf2xx: remove unused getters
2022-11-29 11:16:16 +01:00
Jose Alamos
06cc410aa9
drivers/at86rf2xx_netdev: cleanup is_periph logic
2022-11-29 11:16:15 +01:00
benpicco
388f9a2015
Merge pull request #18887 from kfessel/p-clean-header-kerneldef
...
sys/include: remove kernel_defines.h where not needed
2022-11-29 10:14:52 +01:00
Marian Buschsieweke
045bb7c39c
Merge pull request #18989 from maribu/cpu/qn908x
...
cpu/qn908x: use bitarithm_test_and_clear() & fix cb
2022-11-28 18:36:29 +01:00
Marian Buschsieweke
317b12af34
Merge pull request #18986 from maribu/boards/qn9080dk
...
boards/qn9080dk: add default OPENOCD_DEBUG_ADAPTER
2022-11-28 17:42:30 +01:00
Marian Buschsieweke
0d85356180
cpu/qn908x: use bitarithm_test_and_clear() & fix cb
...
Previously, the callback was incorrectly passed a channel of zero as
argument regardless of the channel that triggered the IRQ. This fixes
the issue and also uses `bitarithm_test_and_clear()` to only iterate
over the channels that actually have an IRQ flag set, rather than
all channels.
2022-11-28 16:43:24 +01:00
Marian Buschsieweke
c95028655d
cpu/qn909x/periph_timer: make clangd happy
...
The linter was unhappy that `unsinged long` and `uint32_t` were used
inconsistency (in the `timer_init()` declaration, implementation, as
well as in the `DEBUG()` format specifiers).
2022-11-28 16:43:24 +01:00
Marian Buschsieweke
e6dfe75ccb
Merge pull request #18984 from krzysztof-cabaj/doc-vbat-divider
...
boards/nucleo-l* and g*: update doc concerning Vbat
2022-11-28 14:59:01 +01:00
Marian Buschsieweke
e94fdf129f
boards/qn9080dk: add default OPENOCD_DEBUG_ADAPTER
...
The board has integrated debugger:
1fc9:0090 NXP Semiconductors LPC-LINK2 CMSIS-DAP V5.173
This commit changes the default debug adapter to this one.
2022-11-28 13:38:59 +01:00
krzysztof-cabaj
d7c56670d3
boards/nucleo-g071rb: improve ADC doc
2022-11-28 05:07:25 -05:00
krzysztof-cabaj
2d4ab71a3e
boards/nucleo-g070rb: improve ADC doc
2022-11-28 05:07:25 -05:00
krzysztof-cabaj
66357132e4
boards/nucleo-l476rg: improve ADC doc
2022-11-26 17:30:47 -05:00
krzysztof-cabaj
fce4d350cd
boards/nucleo-l496zg: move vbat divider info to main section
2022-11-26 17:30:47 -05:00
krzysztof-cabaj
633743240d
boards/nucleo-l4r5zi: add doxygen info about Vbat divider
2022-11-26 17:30:47 -05:00
Marian Buschsieweke
476dca2e8f
Merge pull request #18978 from maribu/cpu/atmega_common/periph_timer/spurious_irqs
...
cpu/atmega_common/periph_timer: fix spurious IRQs
2022-11-26 16:29:18 +01:00
benpicco
51b2073f10
Merge pull request #18979 from lincynu/nimble-link-up
...
pkg/nimble: signal LINK_UP on initialisation
2022-11-26 09:36:03 +01:00
benpicco
a3e841e4bd
Merge pull request #18967 from jia200x/pr/at86rf2xx_define_caps
...
drivers/at86rf2xx: define caps in macros
2022-11-26 01:47:13 +01:00
benpicco
1a73fb0593
Merge pull request #18795 from benpicco/irq-track
...
debug_irq_disable: add module to debug time spent in irq_disable
2022-11-25 19:10:10 +01:00
Захваткина Виктория Федоровна
96595fa16e
pkg/nimble: signal LINK_UP on initialisation
2022-11-25 20:52:45 +03:00
Marian Buschsieweke
787884aa95
cpu/atmega_common/periph_timer: fix spurious IRQs
2022-11-25 14:46:16 +01:00
Jose Alamos
5a865c3a6b
drivers/at86rf2xx: add HAVE_RETRIES_REG macro
2022-11-25 14:01:44 +01:00
Jose Alamos
22c6d0242a
drivers/at86rf2xx: add HAVE_ED_REGISTER macro
2022-11-25 14:01:44 +01:00
Jose Alamos
82d3324e63
drivers/at86rf2xx: add HAVE_SUBGHZ macro
2022-11-25 14:01:44 +01:00
Jose Alamos
58ce0743c6
drivers/at86rf2xx: add TX_START macro
2022-11-25 14:01:43 +01:00
Jose Alamos
b6b8dc1958
drivers/at86rf2xx: add AT86RF2XX_IS_PERIPH macro
2022-11-25 14:01:39 +01:00
f1a8e1f636
Merge pull request #18970 from maribu/cpu/nrf5x_common/periph_timer/fix_spurious_irqs
...
cpu/nrf5x_common/periph_timer: fix spurious IRQs
2022-11-25 08:23:34 +01:00
Marian Buschsieweke
c89c75dbc9
Merge pull request #18971 from maribu/cpu/esp
...
cpu/esp{32,8266}/periph_timer: allow changing callback or freq
2022-11-25 08:22:26 +01:00
Marian Buschsieweke
cf93e9e0e3
Merge pull request #18969 from maribu/cpu/stm32/periph_timer/fix_spurious_irqs
...
cpu/stm32/periph_timer: fix spurious IRQs and race conditions
2022-11-25 08:11:37 +01:00
Marian Buschsieweke
03b7fe8f0c
cpu/esp8266/periph_timer: allow changing callback or freq
...
Allow multiple calls to timer_init(), as this is the only way to
change the timer frequency or the callback function.
2022-11-24 22:39:49 +01:00
Marian Buschsieweke
e8fd65566a
cpu/esp32/periph_timer: allow changing callback or freq
...
Allow multiple calls to timer_init(), as this is the only way to
change the timer frequency or the callback function.
2022-11-24 22:38:15 +01:00
Marian Buschsieweke
fbd7b77331
cpu/nrf5x_common/periph_timer: fix spurious IRQs
2022-11-24 22:36:42 +01:00
Marian Buschsieweke
20fc71dd65
cpu/stm32/periph_timer: fix spurious IRQs
2022-11-24 22:34:10 +01:00
Marian Buschsieweke
93c5755649
cpu/stm32/periph_timer: fix race conditions
...
Allow two threads to share the same timer - provided they use distinct
sets of timer channels - without occasionally corrupting registers or
state flags.
2022-11-24 22:34:03 +01:00
Benjamin Valentin
59a3e613fe
cpu/cortexm_common: measure time spent with IRQ disabled
2022-11-24 21:27:20 +01:00