Skip to content

Commit beb5c1b

Browse files
committed
Avoid link error from using ASM
When linking, get errors about undefined references to `SEGGER_RTT_ASM_WriteSkipNoLock`
1 parent 84b65a8 commit beb5c1b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cores/nRF5/sysview/Config/SEGGER_RTT_Conf.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,15 @@ Revision: $Rev: 17066 $
8484
#endif
8585

8686
#ifndef SEGGER_RTT_PRINTF_BUFFER_SIZE
87-
#define SEGGER_RTT_PRINTF_BUFFER_SIZE (64u) // Size of buffer for RTT printf to bulk-send chars via RTT (Default: 64)
87+
#define SEGGER_RTT_PRINTF_BUFFER_SIZE (64u) // Size of buffer for RTT printf to bulk-send chars via RTT (Default: 64)
8888
#endif
8989

9090
#ifndef SEGGER_RTT_MODE_DEFAULT
9191
#define SEGGER_RTT_MODE_DEFAULT SEGGER_RTT_MODE_NO_BLOCK_SKIP // Mode for pre-initialized terminal channel (buffer 0)
9292
#endif
9393

94+
#define RTT_USE_ASM (0) // defaults to 1, results in link error ... undefined references to `SEGGER_RTT_ASM_WriteSkipNoLock`
95+
9496
/*********************************************************************
9597
*
9698
* RTT memcpy configuration

0 commit comments

Comments
 (0)