From 1f2adbd4c3f831797a834c9b02148f5add0bdc3d Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 10 Sep 2014 06:24:39 -0600 Subject: [PATCH] pcDuino: Several fixes so that it still builds after other Cortex-A changes. --- arch/arm/src/armv7-a/arm_syscall.c | 1 + configs/pcduino-a10/nsh/defconfig | 2 ++ configs/pcduino-a10/nsh/setenv.sh | 1 + 3 files changed, 4 insertions(+) diff --git a/arch/arm/src/armv7-a/arm_syscall.c b/arch/arm/src/armv7-a/arm_syscall.c index 846849b3320..a312d963631 100644 --- a/arch/arm/src/armv7-a/arm_syscall.c +++ b/arch/arm/src/armv7-a/arm_syscall.c @@ -51,6 +51,7 @@ #include "arm.h" #include "svcall.h" +#include "up_internal.h" /**************************************************************************** * Pre-processor Definitions diff --git a/configs/pcduino-a10/nsh/defconfig b/configs/pcduino-a10/nsh/defconfig index 2d4e100fe90..4e03a675984 100644 --- a/configs/pcduino-a10/nsh/defconfig +++ b/configs/pcduino-a10/nsh/defconfig @@ -312,6 +312,8 @@ CONFIG_PREALLOC_TIMERS=4 # # Tasks and Scheduling # +CONFIG_INIT_ENTRYPOINT=y +# CONFIG_INIT_FILEPATH is not set CONFIG_USER_ENTRYPOINT="nsh_main" CONFIG_RR_INTERVAL=200 CONFIG_TASK_NAME_SIZE=32 diff --git a/configs/pcduino-a10/nsh/setenv.sh b/configs/pcduino-a10/nsh/setenv.sh index cfde48e376d..ba038d33624 100755 --- a/configs/pcduino-a10/nsh/setenv.sh +++ b/configs/pcduino-a10/nsh/setenv.sh @@ -57,6 +57,7 @@ fi # the CodeSourcery toolchain in any other location #export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery G++ Lite/bin" export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_EABI/bin" +#export TOOLCHAIN_BIN="/cygdrive/c/Users/MyName/MentorGraphics/Sourcery_CodeBench_Lite_for_ARM_EABI/bin" # These are the Cygwin paths to the locations where I installed the Atollic # toolchain under windows. You will also have to edit this if you install