Remove debug_bmp command on PC hosted platforms.
This commit is contained in:
parent
6bf4fd3598
commit
fa27649f87
|
@ -59,7 +59,7 @@ static bool cmd_target_power(target *t, int argc, const char **argv);
|
|||
#ifdef PLATFORM_HAS_TRACESWO
|
||||
static bool cmd_traceswo(target *t, int argc, const char **argv);
|
||||
#endif
|
||||
#ifdef PLATFORM_HAS_DEBUG
|
||||
#if defined(PLATFORM_HAS_DEBUG) && !defined(PC_HOSTED)
|
||||
static bool cmd_debug_bmp(target *t, int argc, const char **argv);
|
||||
#endif
|
||||
|
||||
|
@ -79,7 +79,7 @@ const struct command_s cmd_list[] = {
|
|||
#ifdef PLATFORM_HAS_TRACESWO
|
||||
{"traceswo", (cmd_handler)cmd_traceswo, "Start trace capture [(baudrate) for async swo]" },
|
||||
#endif
|
||||
#ifdef PLATFORM_HAS_DEBUG
|
||||
#if defined(PLATFORM_HAS_DEBUG) && !defined(PC_HOSTED)
|
||||
{"debug_bmp", (cmd_handler)cmd_debug_bmp, "Output BMP \"debug\" strings to the second vcom: (enable|disable)"},
|
||||
#endif
|
||||
{NULL, NULL, NULL}
|
||||
|
@ -344,7 +344,7 @@ static bool cmd_traceswo(target *t, int argc, const char **argv)
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef PLATFORM_HAS_DEBUG
|
||||
#if defined(PLATFORM_HAS_DEBUG) && !defined(PC_HOSTED)
|
||||
static bool cmd_debug_bmp(target *t, int argc, const char **argv)
|
||||
{
|
||||
(void)t;
|
||||
|
|
Loading…
Reference in New Issue