summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Gielda <mgielda@antmicro.com>2014-04-07 10:31:07 +0200
committerMichael Gielda <mgielda@antmicro.com>2014-04-07 10:31:07 +0200
commit27a9afc1ddd04730fcd969b512c0bc5559e0c58e (patch)
treee2ce722859577953490bb6aeb861b8da27fa3186
parent073c08eb4af798ae11a948dba7d10ad7804e14b8 (diff)
Normalized the eCos kernel build dir. minot fixes
-rw-r--r--doc/source/introduction.rst16
1 files 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::