Martine Lenders
53ed211fc9
Merge pull request #16175 from miri64/gnrc_sixlowpan_frag_sfr/enh/mark-ecn
...
gnrc_sixlowpan_frag_sfr: add support for queue-based ECN
2022-10-15 14:01:44 +02:00
Marian Buschsieweke
cc53b8778d
Merge pull request #18745 from jia200x/pr/fix_link_up
...
tests: set netdev `event_callback` before calling init
2022-10-15 10:25:53 +02:00
Martine Lenders
c94c32dce4
Merge pull request #18727 from miri64/gnrc/enh/explicit-pseudomodules
...
gnrc: make pseudo-modules explicit + documentation improvements
2022-10-14 17:39:39 +02:00
Jose Alamos
ca9461834f
tests/socket_zep: set event_callback before init
2022-10-14 16:07:19 +02:00
Jose Alamos
cfe8149c35
tests/sx12xx: set event_callback before init
2022-10-14 16:07:02 +02:00
Jose Alamos
209f64ccb2
tests/nrf802154: set event_callback before init
2022-10-14 16:06:43 +02:00
Jose Alamos
f259292df9
tests/cc2538_rf: set event_callback before init
2022-10-14 16:06:29 +02:00
Marian Buschsieweke
5d5e8d6163
Merge pull request #18740 from maribu/chrysn-pull-requests/gnrc-netreg-lock
...
gnrc_netreg: Use locks around netreg
2022-10-14 15:10:35 +02:00
Marian Buschsieweke
ef8bd7c114
Merge pull request #18741 from maribu/cpu/stm32/KConfig
...
cpu/stm32: Fix KConfig modeling for STM32F1 / usbdev_synopsys_dwc2
2022-10-14 12:44:31 +02:00
Leandro Lanzieri
70acefaa55
Merge pull request #18386 from miri64/gcoap_forward_proxy/enh/empty-ack
...
gcoap_forward_proxy: send empty ACK when response takes too long
2022-10-14 11:23:48 +02:00
Marian Buschsieweke
46da71b176
Merge pull request #18736 from RIOT-OS/revert-18713-release-tests/enh/github-comment
...
Revert "release-tests: add capability to run on PR comment"
2022-10-14 10:11:18 +02:00
Marian Buschsieweke
ea53b35d75
cpu/stm32: fix KConfig modeling for STM32F1 / usbdev_synopsys_dwc2
...
This fixes incorrect module selection for STM32F1 boards with feature
periph_usbdev, a regression introduced by
https://github.com/RIOT-OS/RIOT/pull/17812
2022-10-14 10:05:12 +02:00
chrysn
982ec4dcda
gnrc_netreg: Use locks around netreg
...
This eliminates race conditions around unregistering netdevs.
gnrc_netreg_lookup-style functions perform a DEVELHELP check on whether
that lock is held.
2022-10-14 03:35:15 +02:00
Marian Buschsieweke
ea0a53521f
Merge pull request #17812 from benpicco/boards/blxxxpill-usb
...
boards/blxxxpill: configure usbdev_fs
2022-10-14 01:10:23 +02:00
Benjamin Valentin
d3d89aaec8
boards/blxxxpill: configure usbdev_fs
2022-10-13 21:59:47 +02:00
Martine Lenders
37be7b9420
Revert "release-tests: add capability to run on PR comment"
2022-10-13 18:05:07 +02:00
Marian Buschsieweke
b539d7ad6d
Merge pull request #17905 from benpicco/GNRC_NETIF_STACKSIZE_DEFAULT
...
gnrc_netif: don't allocate message queue on the stack
2022-10-13 17:10:43 +02:00
Marian Buschsieweke
22c2e85f1d
Merge pull request #18641 from maribu/cpu/arm7_common/alignment
...
cpu/arm7_common: align stacks correctly
2022-10-13 13:59:18 +02:00
Marian Buschsieweke
b0bccd9bed
Merge pull request #18385 from gschorcht/dist/tools/esptool/install.sh
...
dist/tools/esptools: add macOS support to install/export scripts
2022-10-13 13:58:58 +02:00
Marian Buschsieweke
9b3d247eea
Merge pull request #18732 from benpicco/avr-gcc-12_detect
...
makefiles/arch/avr8.inc.mk: fix detection of GCC 12
2022-10-13 13:58:15 +02:00
Benjamin Valentin
9eb3741dee
makefiles/arch/avr8.inc.mk: fix detection of GCC 12
2022-10-13 12:48:44 +02:00
Benjamin Valentin
aa6e8cafcf
cpu/stm32: enable usbdev_fs for STM32F1
2022-10-13 12:00:22 +02:00
Marian Buschsieweke
1bb6dab586
Merge pull request #18567 from benpicco/boards/samr21-xpro-edbg_uart
...
boards/samr21-xpro: add a note about EDBG UART limitation
2022-10-13 11:32:38 +02:00
Leandro Lanzieri
fa96d469da
Merge pull request #18425 from kfessel/p-modular-log
...
sys/log_*: modularize log into log_color and log_printfnoformat
2022-10-13 09:47:03 +02:00
Martine Lenders
10ca5ec461
Merge pull request #18730 from miri64/gh-actions/enh/checkout-master
...
gh-actions: move actions/checkout to main
2022-10-13 06:47:52 +02:00
benpicco
5f75f7fa7d
Merge pull request #18729 from gschorcht/cpu/stm32/periph/usbdev_fs/pma_access
...
cpu/stm32/periph/usbdev_fs: support for STM32F1 family
2022-10-13 03:27:01 +02:00
Benjamin Valentin
27b5bae5b6
tests/netutils: reduce mock netif queue size
2022-10-13 00:24:29 +02:00
Marian Buschsieweke
0253c478ec
tests/thread_stack_alignment: new test application
2022-10-12 21:56:08 +02:00
Marian Buschsieweke
f57a15131e
cpu/arm7_common: align stacks correctly
...
`thread_stack_init()` didn't correctly set up the stack alignment.
This fixes the issue and brings the function closer to the Cortex M
version, laying the groundwork for future code duplication.
This fixes https://github.com/RIOT-OS/RIOT/issues/11885
2022-10-12 21:53:16 +02:00
Gunar Schorcht
0a96492bab
Merge pull request #18726 from bergzand/pr/synopsys_dwc2/rxflvl_dma
...
usbdev_synopsys_dwc2: Mask RX FIFO irq when using DMA
2022-10-12 21:23:24 +02:00
Martine Lenders
8dcc5d07ba
gnrc_sixlowpan_config: resolve ECN at the earliest convenience
2022-10-12 18:02:18 +02:00
Martine Lenders
653d08281b
gnrc_sixlowpan_frag_sfr: add support for queue-based ECN
2022-10-12 18:02:18 +02:00
Martine Lenders
63c4fe5770
gcoap: fix "line is longer than 100 characters" pointed out by Vera++
2022-10-12 17:33:55 +02:00
chrysn
798dedd4d1
gcoap_forward_proxy: send empty ACK when response takes too long
...
Co-Authored-By: Martine S. Lenders <m.lenders@fu-berlin.de>
Signed-off-by: Martine Lenders <m.lenders@fu-berlin.de>
2022-10-12 17:33:55 +02:00
benpicco
913bf3748c
Merge pull request #18699 from miri64/gnrc_netif_lorawan/enh/up-down-support
...
gnrc_netif_lorawan: add support for LINK_UP/_DOWN events
2022-10-12 17:11:51 +02:00
Martine Lenders
ecf760d7f6
gh-actions: move actions/checkout to main
2022-10-12 17:10:40 +02:00
benpicco
b11af08f9a
Merge pull request #18725 from benpicco/tests/gcoap_fileserver-put
...
tests/gcoap_fileserver: add test for PUT
2022-10-12 16:52:07 +02:00
Gunar Schorcht
96fad3fb3b
Merge pull request #18720 from maribu/cpu/esp32/uart
...
cpu/esp_common/periph_uart: fix call to _uart_set_mode
2022-10-12 15:17:01 +02:00
Gunar Schorcht
a76297c55e
cpu/stm32/periph/usbdev_fs: small cleanup of comment formatting
2022-10-12 15:15:10 +02:00
Gunar Schorcht
dde72ad41b
cpu/stm32/periph/usbdev_fs: implement PMA access schemes
...
There are two schemes for accessing the packet buffer area (PMA) from the CPU:
- 2 x 16 bit/word access scheme where two 16-bit half-words per word can be accessed. With this scheme the access can be half-word aligned and the PMA address offset corresponds therefore to the local USB IP address. The size of the PMA SRAM is usually 1024 byte.
- 1 x 16 bit/word access scheme where one 16-bit half word per word can be accessed. With this scheme the access can only be word-aligned and the PMA address offset to a half-word is therefore twice the local USB IP address. The size of the PMA SRAM is usually 512 byte.
Which access scheme is used depends on the STM32 model.
2022-10-12 15:15:10 +02:00
Gunar Schorcht
0177018277
cpu/stm32/periph/usbdev_fs: always use 16-bit addresses for PMA
...
The addressing of the Packet buffer Memory Area (PMA) is done locally in the USB IP core in half-words with 16-bit. The `_ep_in_buf` and `_ep_out_buf` arrays which hold these USB IP local addresses in the PMA for initialized EPs therefore always use `uint16_t`.
2022-10-12 14:19:30 +02:00
Gunar Schorcht
add766f3e1
cpu/stm32/periph/usbdef_fs: emulate disconnect/connect
...
If the MCU does not have an internal D+ pullup and there is no dedicated GPIO to simulate a USB disconnect, the D+ GPIO is temporarily configured as an output and pushed down to simulate a disconnect/connect cycle to allow the host to recognize the device. However, this requires an external pullup on D+ signal to work
2022-10-12 14:19:23 +02:00
Gunar Schorcht
58ebf02e58
cpu/stm32/periph/usbdev_fs: configure USB clock predivider
...
If `RCC_CFGR_USBPRE` is defined, the USB device FS clock of 48 MHz is derived from the PLL clock. In this case the PLL clock must be configured and must be either 48 MHz or 72 MHz. If the PLL clock is 72 MHz it is pre-divided by 1.5, the PLL clock of 48 MHz is used directly.
2022-10-12 14:18:55 +02:00
Karl Fessel
e89063e1cf
sys/log_color: guard from compiling for esp
2022-10-12 13:45:29 +02:00
Karl Fessel
bac70c5e47
sys/test_utils/print_stack_usage: include stdio if printf is used
2022-10-12 12:21:33 +02:00
Karl Fessel
514325b8b3
sys/log: modularize log into log_color and log_printfnoformat
...
- log_color: make log_write nonstatic
- log_printfnoformat
- apply module split to Kconfig
2022-10-12 12:21:29 +02:00
Benjamin Valentin
7e0aeb3186
tests/gcoap_fileserver: add test for PUT
2022-10-12 11:37:28 +02:00
Martine Lenders
f7510cfb9d
gnrc_nettype: improve documentation on modules made explicit
2022-10-12 11:27:27 +02:00
Martine Lenders
153f42d524
gnrc_dhcpv6: improve documentation on modules made explicit
2022-10-12 11:27:15 +02:00
Martine Lenders
c005566f35
gnrc: make all pseudomodules explicit
2022-10-12 11:26:19 +02:00