nrf-softdevice
nrf-softdevice copied to clipboard
Use of `cortex_m::interrupt::free` in examples
In the readme you say that you should never use cortex_m::interrupt::free because of softdevice. However, in the examples the alloc-cortex-m crate is used, which uses cortex_m::interrupt::free in their implementation here.
Oops, nice catch. This is not nice, indeed.
GATT examples can work without alloc as-is. Alloc is only used for managing l2cap buffers, I have a project where I do that with atomic-pool instead, it's quite nicer. I should update the examples to that (#69)
Maybe you could add a section in the readme where you list some common crates that use cortezx_m::interrupt::free
Closed by #69