Commit 9f08435a authored by WenBin Zhang's avatar WenBin Zhang Committed by Anas Nashif
Browse files

systemview: Systemview section move to .dtcm_bss



Move to dtcm.bss to reduce flash usage.
When increasing SEGGER_SYSVIEW_RTT_BUFFER_SIZE,
it will waste a large amount of flash space.

Signed-off-by: default avatarWenBin Zhang <freey7955@gmail.com>
parent cf56b1d9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -87,7 +87,7 @@ uint32_t sysview_get_interrupt(void);
#define SEGGER_SYSVIEW_RTT_CHANNEL	CONFIG_SEGGER_SYSVIEW_RTT_CHANNEL

#if defined(CONFIG_SEGGER_SYSVIEW_SECTION_DTCM)
#define SEGGER_SYSVIEW_SECTION ".dtcm_data"
#define SEGGER_SYSVIEW_SECTION ".dtcm_bss"
#endif

extern unsigned int zephyr_rtt_irq_lock(void);