From 423e6bfb321255e01ea8beba2d3941774a3867fd Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Thu, 25 Apr 2019 22:43:08 +0200 Subject: [PATCH] adjust standalone doc --- armsrc/Standalone/readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/armsrc/Standalone/readme.md b/armsrc/Standalone/readme.md index e5746e97b..85cbdb1ca 100644 --- a/armsrc/Standalone/readme.md +++ b/armsrc/Standalone/readme.md @@ -7,7 +7,7 @@ Have a look at the skeleton standalone mode called IceRun, in the files `lf_ice ## Implementing a standalone mode -Each standalone mod needs to have its own compiler flag to be added in `armsrc\makefile` and inside the function `AppMain` inside AppMain.c. Inside Appmain a call to RunMod is needed. It looks strange because of what kinds of dependencies your mode will have. +Each standalone mod needs to have its own compiler flag to be added in `armsrc\makefile`. The RunMod function is your "main" function when running. You need to check for Usb commands, in order to let the pm3 client break the standalone mode. See this basic skeleton of main function RunMod(). ```` @@ -49,7 +49,7 @@ Samples of directive flag used in the `common/Makefile.hal`: #PLATFORM_DEFS += -DWITH_STANDALONE_HF_COLIN #PLATFORM_DEFS += -DWITH_STANDALONE_HF_BOG ``` -Add your source code file like the following sample in the `armsrc\makefile` +Add your source code file like the following sample in the `armsrc/Makefile` ``` # WITH_STANDALONE_HF_COLIN