CONFIG_HEAP_MEM_POOL_SIZE and k_malloc, k_free not working in nrf51_pca10028 #21599
Labels
area: Kernel
bug
The issue is a bug, or the PR is fixing a bug
platform: nRF
Nordic nRFx
priority: low
Low impact/importance bug
Waiting for response
Waiting for author's response
Describe the bug
I my application i am using the board nrf51_pca10028. I the prj.conf file I am defining a CONFIG_HEAP_MEM_POOL_SIZE=1024 for involving a k_malloc() and k_free(). Even when I define a thread in the kernel it doesn't seem to show any output. When I replace the entire thread code in the main thread it works fine in nrf52, not in nrf51. The code works fine with board nrf52_pca10040. But it shows no output in the console with nrf51.
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
There should be dynamic allocation of memory for my linked list in the Bluetooth application.
t_ble_scan() is a thread function and main() thread is also defined.
The text was updated successfully, but these errors were encountered: