zephyr/subsys/bluetooth/controller/hal/nrf5
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
..
radio misra-c: Add 'U' to unsigned variable assignments in subsys/ 2018-12-04 22:51:56 -05:00
cntr.c Bluetooth: Switch from SYS_LOG to logger-based logging 2018-10-19 14:50:22 +02:00
debug.h Bluetooth: controller: Add support for the nRF52810 2018-06-27 16:09:58 +02:00
ecb.c Bluetooth: nordic ECB hal: Bugfix for simulation 2018-12-12 12:12:04 +01:00
mayfly.c Bluetooth: Switch from SYS_LOG to logger-based logging 2018-10-19 14:50:22 +02:00
ticker.c Bluetooth: Switch from SYS_LOG to logger-based logging 2018-10-19 14:50:22 +02:00
ticker.h Bluetooth: controller: Use hal/ticker.h to abstract SoC specifics 2018-04-09 10:34:04 +02:00