From 27a9afc1ddd04730fcd969b512c0bc5559e0c58e Mon Sep 17 00:00:00 2001 From: Michael Gielda Date: Mon, 7 Apr 2014 10:31:07 +0200 Subject: Normalized the eCos kernel build dir. minot fixes --- doc/source/introduction.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/source/introduction.rst b/doc/source/introduction.rst index 02faefe..9c47a2a 100644 --- a/doc/source/introduction.rst +++ b/doc/source/introduction.rst @@ -155,19 +155,19 @@ A short shell script is proposed to make the compilation process easier: export ECOS_REPOSITORY="{path/to/ecos-vybrid/ecos}/packages" # modify this export PATH="{path/to/toolchain}/bin:$PATH" # modify this - mkdir -p build - rm -rf build/* - cd build + mkdir -p ecos-kernel + rm -rf ecos-kernel/* + cd ecos-kernel ecosconfig --config={path/to}/ecos.ecc tree # modify this make -The resulting kernel files can be found in :file:`build/install/lib`. +The resulting kernel files can be found in :file:`ecos-kernel/install/lib`. Application ----------- -With a compiled kernel files in the :file:`build/install/lib` directory (see :ref:`build-kernel`), a user space eCos application can be compiled and linked to it. +With a compiled kernel files in the :file:`ecos-kernel/install/lib` directory (see :ref:`build-kernel`), a user space eCos application can be compiled and linked to it. A listing for a short sample application (taken from :file:`ecos/examples/hello.c`) is given below. @@ -198,7 +198,7 @@ You can compile an eCos program with a procedure similar to the following listin -mcpu=cortex-m4" # Set path to eCos kernel - export KPATH="{path/to/kernel}/build" # modify this + KPATH="{path/to/kernel}" # modify this # Do compilation and link your application with kernel arm-eabi-gcc -g -I./ -g -I${KPATH}/install/include hello.c \ @@ -214,9 +214,9 @@ This chapter will explain how to run the eCos application on the Vybrid Cortex-M Vybrid has three available memory regions: -* OCRAM - 256kb - Default. +* OCRAM - 256KB - Default. * DRAM - 10MB - Available, but needs limiting Linux RAM memory. -* TCML - 32kb - Small. Not recommended. +* TCML - 32KB - Small. Not recommended. .. note:: -- cgit v1.2.3