1
0
Fork 0

Sets thread names and attempts to enable thread-aware info for gdb

This commit is contained in:
Shawn Nock 2019-07-18 14:45:00 -04:00
parent 59f9c69bb4
commit c119aadf96
2 changed files with 4 additions and 1 deletions

View File

@ -12,6 +12,8 @@ CONFIG_BT_TINYCRYPT_ECC=n
CONFIG_BT_CTLR_DTM_HCI=y CONFIG_BT_CTLR_DTM_HCI=y
CONFIG_BT_CTLR_ASSERT_HANDLER=y CONFIG_BT_CTLR_ASSERT_HANDLER=y
CONFIG_GDB_INFO=y
# Bootloader stuff # Bootloader stuff
CONFIG_BOOTLOADER_MCUBOOT=y CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_REBOOT=y CONFIG_REBOOT=y

View File

@ -519,6 +519,7 @@ void bt_uart_isr(struct device *unused)
static void unproc_thread(void) { static void unproc_thread(void) {
struct net_buf *buf; struct net_buf *buf;
k_thread_name_set(NULL, "unproc_thread");
while (true) { while (true) {
buf = net_buf_get(&h5.unprocessed_queue, K_FOREVER); buf = net_buf_get(&h5.unprocessed_queue, K_FOREVER);
@ -615,7 +616,7 @@ static void h5_send_config(void);
static void tx_thread(void) static void tx_thread(void)
{ {
LOG_DBG("TX Thread is alive."); k_thread_name_set(NULL, "tx_thread");
while (true) { while (true) {
struct net_buf *buf; struct net_buf *buf;