From 839a0ef9fb8b279d84c94315a98fcfa3adb52d77 Mon Sep 17 00:00:00 2001 From: Iceman Date: Thu, 25 Apr 2019 23:23:44 +0200 Subject: [PATCH] Update readme.md --- armsrc/Standalone/readme.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/armsrc/Standalone/readme.md b/armsrc/Standalone/readme.md index 5a8dbde1d..1bf1a385f 100644 --- a/armsrc/Standalone/readme.md +++ b/armsrc/Standalone/readme.md @@ -54,12 +54,13 @@ sample: Which indicates your mode targets LF and is called FOO. This leads to your next step, your DEFINE name needed in Makefile. + `WITH_STANDALONE_LF_FOORUN` ## Update COMMON/MAKEFILE.HAL -Samples of directive flag used in the `common/Makefile.hal`: +Samples of directive flag used in the `common/Makefile.ha` and your suggested DEFINE. ``` #PLATFORM_DEFS += -DWITH_STANDALONE_LF_SAMYRUN #PLATFORM_DEFS += -DWITH_STANDALONE_LF_ICERUN @@ -69,12 +70,18 @@ Samples of directive flag used in the `common/Makefile.hal`: #PLATFORM_DEFS += -DWITH_STANDALONE_HF_MATTYRUN #PLATFORM_DEFS += -DWITH_STANDALONE_HF_COLIN #PLATFORM_DEFS += -DWITH_STANDALONE_HF_BOG +#PLATFORM_DEFS += -DWITH_STANDALONE_LF_FOORUN ``` ## Update ARMSRC/MAKEFILE Add your source code files like the following sample in the `armsrc/Makefile` ``` +# WITH_STANDALONE_LF_ICERUN +ifneq (,$(findstring WITH_STANDALONE_LF_ICERUN,$(APP_CFLAGS))) + SRC_STANDALONE = lf_icerun.c +endif + # WITH_STANDALONE_LF_FOO ifneq (,$(findstring WITH_STANDALONE_LF_FOO,$(APP_CFLAGS))) SRC_STANDALONE = lf_foo.c