Skip to content

Commit 2a73d44

Browse files
authored
Merge pull request #14750 from tymoteuszblochmobica/size_spi
Increase SPI stack size to 2048 for BlueNrg driver
2 parents 50e23b7 + 39e821d commit 2a73d44

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

connectivity/drivers/ble/FEATURE_BLE/COMPONENT_BlueNRG_2/BlueNrg2HCIDriver.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,11 @@
6060
#define RANDOM_STATIC_ADDRESS_OFFSET 0x80
6161
#define LL_WITHOUT_HOST_OFFSET 0x2C
6262

63+
#ifdef NDEBUG
6364
#define SPI_STACK_SIZE 1024
65+
#else
66+
#define SPI_STACK_SIZE 2048
67+
#endif
6468

6569
#define IRQ_TIMEOUT_DURATION 100 //ms
6670

0 commit comments

Comments
 (0)