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

42089 Commits

Author SHA1 Message Date
Gunar Schorcht
bd5ce7b398 pkg/tinyusb: parameterized descriptor macros 2022-12-04 17:06:48 +01:00
benpicco
945af26648
Merge pull request #18964 from gschorcht/bootloaders/riotboot_dfu_fixes
bootloaders/riotboot_dfu: fixes including sys/usb/usbus/dfu
2022-12-02 18:40:01 +01:00
Martine Lenders
83a433c8e7
Merge pull request #18947 from maribu/release-notes.txt
release-notes.txt: add 2022.10 release notes
2022-12-02 12:43:47 +01:00
Marian Buschsieweke
5cbb2a040b
release-notes.txt: add 2022.10 release notes 2022-12-02 12:27:55 +01:00
8d79ef6749
Merge pull request #19001 from benpicco/examples/timer_periodic_wakeup-ztimer
examples/timer_periodic_wakeup: switch to ztimer
2022-12-02 09:25:43 +01:00
Benjamin Valentin
a27f382f7e examples/timer_periodic_wakeup: switch to ztimer 2022-12-01 18:37:01 +01:00
Oleg Hahm
df0c04ecc8
Merge pull request #18982 from OlegHahm/pr/paho_on_gnrc
paho: use GNRC instead of lwip
2022-12-01 08:46:15 +01:00
Oleg Hahm
ef2b581c10 paho: use GNRC instead of lwip 2022-11-30 20:42:05 +01:00
Gunar Schorcht
7d7c8b1f32 tests/riotboot_flashwrite: blacklist blxxxpill boards 2022-11-30 19:28:14 +01:00
Gunar Schorcht
23ccbb5786 examples/suit: blacklist blxxxpill boards due to insufficient memory 2022-11-30 19:28:14 +01:00
Gunar Schorcht
3100345214 makefiles: add riotboot_dfu-util.mk to override board's dfu-util config
Boards that are shipped with a DFU bootloader define the `dfu-util` configuration in their `Makefile.include`. However, when `riotboot_dfu` is used as the DFU bootloader, the board's `dfu-util` configuration must be overridden by the configuration as required by `riotboot_dfu` to use it to flash applications. Therefore, all `dfu-util` configurations are defined as overridable in the board's `Makefile.include` and the configuration as required by `riotboot_dfu` is included before the board's `Makefile.include`.
2022-11-30 19:28:14 +01:00
Gunar Schorcht
9fa01d69d8 boards/common/blxxxpill: enable riotboot feature 2022-11-30 19:28:14 +01:00
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
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