zephyr/subsys/bluetooth/controller/hal
Alberto Escolar Piedras fc0f80391c Bluetooth: nordic ECB hal: Bugfix for simulation
Fix in the do_ecb() function
In real HW this function busy waits for the ECB to be done.
In simulation with the POSIX arch a WFE was added to avoid that
infinite loop.
But this function is called with the ECB interrupts disabled.
In normal builds other interrupts will awake the CPU very soon
after entering into that WFE, and the problem was not discovered.

But, in controller only builds, during some conformance tests,
the loop will hang as no other interrupts are coming.

=> Replace the WFE() with a k_busy_wait (only for simulation)

Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
2018-12-12 12:12:04 +01:00
..
nrf5 Bluetooth: nordic ECB hal: Bugfix for simulation 2018-12-12 12:12:04 +01:00
ccm.h Bluetooth: controller: Remove include guards in internal files 2018-06-14 17:11:42 +02:00
cntr.h Bluetooth: controller: Remove include guards in internal files 2018-06-14 17:11:42 +02:00
cpu.h Bluetooth: controller: Remove include guards in internal files 2018-06-14 17:11:42 +02:00
debug.h Bluetooth: controller: Remove include guards in internal files 2018-06-14 17:11:42 +02:00
ecb.h Bluetooth: controller: Remove include guards in internal files 2018-06-14 17:11:42 +02:00
radio.h Bluetooth: controller: Remove include guards in internal files 2018-06-14 17:11:42 +02:00
radio_txp.h Bluetooth: Use new nrf COMPATIBLE options 2018-10-15 09:36:37 -04:00
ticker.h Bluetooth: Use new nrf COMPATIBLE options 2018-10-15 09:36:37 -04:00