3873aed032
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
cc2520.c | ||
cc2520.h | ||
cc2520_arch.h |