docs: BLE Event handling seems to contradict general guidelines for IRQ handling
Documentation URL
https://docs.micropython.org/en/latest/library/bluetooth.html#event-handling
Description
In BLE event handling a suggestion is given to create copies of the ringbuffer parameters. This however, would violate the general guidelines given for interrupt routines which specifically warn against instantiating objects.
https://github.com/micropython/micropython/blob/99ac8193ea299e6d836b076149f561e58226ede6/docs/reference/isr_rules.rst?plain=1#L102
Code of Conduct
Yes, I agree
rp2: BLE not working after update to pico-sdk 1.3.0
From https://github.com/micropython/micropython/pull/8031#issuecomment-990381299:
There seems to be regression after the pico-sdk 1.3.0 update, RP2 Bluetooth is no longer working, it seems to get stuck right after UART is initialized (so possibly UART driver in general is broken). I think I've tracked it down to this commit: raspberrypi/pico-sdk@2622e9b it seems to enable an extra IRQ that needs to be handled in uart_service_interrupt