From 72c1498ae17c08577961b8aeeb32cd9b272e681f Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Sun, 15 Apr 2018 17:12:49 +0200 Subject: [PATCH] stlink: Make SWO Trace Buffer smaller. Changes for delayed memory map setup otherwise overflow SRAM silently. --- src/platforms/stlink/platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/stlink/platform.h b/src/platforms/stlink/platform.h index 83eb90a..cadb5d8 100644 --- a/src/platforms/stlink/platform.h +++ b/src/platforms/stlink/platform.h @@ -69,7 +69,7 @@ #define LED_UART GPIO14 #define PLATFORM_HAS_TRACESWO 1 -#define NUM_TRACE_PACKETS (192) /* This is an 12K buffer */ +#define NUM_TRACE_PACKETS (128) /* This is an 8K buffer */ #define TMS_SET_MODE() \ gpio_set_mode(TMS_PORT, GPIO_MODE_OUTPUT_50_MHZ, \