zephyr/drivers
Tomasz Bursztyka 3873aed032 cc2520: Reading incoming packet cannot be done under ISR context
As the GPIO callback is ran into ISR context, it's thus impossible to
start SPI transactions as these are interrupt based as well. Thus
forwarding the packet reading to an internal fiber.

If CONFIG_INIT_STACKS is set as well as debug mode, it will print out
the usage of the stack after each loop in read_packet().

CC2520 internal fiber stack size is set via Kconfig option, where the
default is set to 640 bytes. At this stage, this value cannot be fixed
so it's more flexible to be able to tweak it from a Kconfig option
rather than tweaking the source code.

Change-Id: I54138c4d1e66f6775b1ae0248574ac8eb5e44f3d
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2016-02-08 21:44:54 -05:00
..
802.15.4 cc2520: Reading incoming packet cannot be done under ISR context 2016-02-08 21:44:54 -05:00
adc irq: rename irq_connect() to IRQ_CONNECT() 2016-02-05 20:25:25 -05:00
aio aio/aio_dw_comparator: adds Kconfig for IRQ priority 2016-02-05 20:25:28 -05:00
bluetooth irq: rename irq_connect() to IRQ_CONNECT() 2016-02-05 20:25:25 -05:00
clock_control device: use DEVICE_INIT everwhere 2016-02-05 20:25:25 -05:00
console uart-pipe: Fix using fifo_fill instead of poll_out 2016-02-05 20:25:32 -05:00
ethernet eth_dw: fix compilation issue in eth_dw.c driver 2016-02-05 20:25:31 -05:00
gpio gpio_qmsi: Use level sensitive interrupts 2016-02-05 20:25:30 -05:00
grove device: use DEVICE_INIT everwhere 2016-02-05 20:25:25 -05:00
i2c i2c: Enable interrupts for QMSI shim driver 2016-02-05 20:25:29 -05:00
interrupt_controller irq: rename irq_connect() to IRQ_CONNECT() 2016-02-05 20:25:25 -05:00
ipm device: use DEVICE_INIT everwhere 2016-02-05 20:25:25 -05:00
nble drivers/nble: Increase rx stack size 2016-02-05 20:25:33 -05:00
pci Quark: Set up IRQ routing for PCIe explicitly 2016-02-05 20:25:29 -05:00
pinmux c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
pwm device: use DEVICE_INIT everwhere 2016-02-05 20:25:25 -05:00
qmsi drivers: Add infrastructure for QMSI drivers 2016-02-05 20:25:15 -05:00
random Fixed file description and applied doxygen style 2016-02-05 20:24:58 -05:00
rtc irq: rename irq_connect() to IRQ_CONNECT() 2016-02-05 20:25:25 -05:00
serial device: use DEVICE_INIT everwhere 2016-02-05 20:25:25 -05:00
shared_irq irq: rename irq_connect() to IRQ_CONNECT() 2016-02-05 20:25:25 -05:00
spi spi: qmsi: Fix enabling the CS line too late 2016-02-05 20:25:30 -05:00
timer irq: rename irq_connect() to IRQ_CONNECT() 2016-02-05 20:25:25 -05:00
watchdog irq: rename irq_connect() to IRQ_CONNECT() 2016-02-05 20:25:25 -05:00
Kconfig cc2520: Initial checkin for TI CC2520 802.15.4 driver 2016-02-05 20:25:23 -05:00
Makefile cc2520: Initial checkin for TI CC2520 802.15.4 driver 2016-02-05 20:25:23 -05:00