From 4a45aaf06503e78570ed82b9469d1a0a4badf92a Mon Sep 17 00:00:00 2001 From: Yann GASCUEL <34003959+lnv42@users.noreply.github.com> Date: Fri, 19 Jan 2024 16:07:17 +0100 Subject: [PATCH] standalone: hf_15sim: adapt instruction depending on flash presence --- armsrc/Standalone/hf_15sim.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/armsrc/Standalone/hf_15sim.c b/armsrc/Standalone/hf_15sim.c index 02b22a60a..f0bb9aefb 100644 --- a/armsrc/Standalone/hf_15sim.c +++ b/armsrc/Standalone/hf_15sim.c @@ -43,10 +43,15 @@ static void DownloadTraceInstructions(void) { Dbprintf(""); +#ifndef WITH_FLASH Dbprintf("To get the trace from flash and display it:"); Dbprintf("1. mem spiffs dump -s "HF_15693SIM_LOGFILE" -d hf_15693sim.trace"); Dbprintf("2. trace load -f hf_15693sim.trace"); Dbprintf("3. trace list -t 15 -1"); +#else + Dbprintf("To get the trace from PM3 memory:"); + Dbprintf("trace list -t 15"); +#endif } void ModInfo(void) {