From d27994c4a74713e0e43242d2b26fde07f8d31fc4 Mon Sep 17 00:00:00 2001 From: Thomas Bertani Date: Thu, 6 Sep 2012 14:16:48 +0200 Subject: [PATCH] helloworld app fix --- apps/examples/hello/Makefile | 2 +- apps/examples/hello/{main.c => hello_main.c} | 0 nuttx/configs/compal_e99/nsh_highram/appconfig | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename apps/examples/hello/{main.c => hello_main.c} (100%) diff --git a/apps/examples/hello/Makefile b/apps/examples/hello/Makefile index 9c3cda894..1d78d723e 100644 --- a/apps/examples/hello/Makefile +++ b/apps/examples/hello/Makefile @@ -46,7 +46,7 @@ STACKSIZE = 2048 # Hello, World! Example ASRCS = -CSRCS = main.c +CSRCS = hello_main.c AOBJS = $(ASRCS:.S=$(OBJEXT)) COBJS = $(CSRCS:.c=$(OBJEXT)) diff --git a/apps/examples/hello/main.c b/apps/examples/hello/hello_main.c similarity index 100% rename from apps/examples/hello/main.c rename to apps/examples/hello/hello_main.c diff --git a/nuttx/configs/compal_e99/nsh_highram/appconfig b/nuttx/configs/compal_e99/nsh_highram/appconfig index 65eed81f7..e8f51ba93 100644 --- a/nuttx/configs/compal_e99/nsh_highram/appconfig +++ b/nuttx/configs/compal_e99/nsh_highram/appconfig @@ -40,7 +40,7 @@ CONFIGURED_APPS += nshlib # Path to example in apps/examples -#CONFIGURED_APPS += examples/hello #fails not finding hello_main despite of good config +CONFIGURED_APPS += examples/hello CONFIGURED_APPS += vsn/poweroff CONFIGURED_APPS += examples/ostest CONFIGURED_APPS += examples/nxtext