Commit 0d5acf06 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

Final instructions for everything

parent b620e5e2
Pipeline #79 skipped
......@@ -36,6 +36,13 @@ is selected during build time by the `FPU` Makefile parameter (see below)
# Compilation options
There are 4 orthogonal compilation options that you can control:
- debug/release compilation (`CFG`)
- emulated/native FPU compilation (`FPU`)
- Leon2/Leon3 target (`LEON`)
- show/hide compilation commands (`V`)
## Debug/Release mode
Using the `CFG` Makefile parameter, you can select debug or release
......@@ -52,14 +59,12 @@ compilation:
-rwxr-xr-x 1 root root 47860 Mar 16 17:48 fputest
-rwxr-xr-x 1 root root 585178 Mar 16 17:48 fputest.debug
(* If no `CFG` option is provided, the default is `debug` compilation. *)
Notice that:
- in release compilation, the process creates a small binary
- In release compilation, the process creates a small binary
(containing only the executable code) and separately, the debug information -
for loading from inside GDB via the `file` command.
- the output folder indicates that the NONFPU (i.e. `-msoft-float`
- The output folder indicates that the NONFPU (i.e. `-msoft-float`
everywhere) and `Leon3` options were automatically selected.
These are the default options unless you select different
(see following sections)
......@@ -129,3 +134,19 @@ If you want to see the complete commands used, use `V=1`:
-Wl,--end-group \
-Wl,--script=linkcmds -B/tmp/edilibtmp/edilib/library -lgcc
# Support
For any questions/feedback, raise tickets in the repository and/or contact
me directly:
Thanassis Tsiodras
Real-time Embedded Software Engineer
System, Software and Technology Department
Address:
ESTEC/Office EF216
Keplerlaan 1, PO Box 299
NL-2200 AG Noordwi
E-mail:
Athanasios.Tsiodras@esa.int
Phone:
+31 71 565 5332
Introduction
============
This repository contains RTEMS scaffolds that showcase recommended
development workflows. The Makefiles and the example sources demonstrate
how to use the EDISOFT and OAR platforms, to:
This folder contains the OAR RTEMS scaffolds. The Makefile and example
source code demonstrates how to:
* support both debug and release compilations
* support compilation for native and emulated FPU usage
* support targetting Leon2 and Leon3 CPUs
* enable/disable showing compilation commands
Application sources
-------------------
......@@ -22,7 +23,14 @@ your source tree:
gnc.c \
compute_pi.c
There are 3 orthogonal compilation options that you can control:
# Compilation options
There are 4 orthogonal compilation options that you can control:
- debug/release compilation (`CFG`)
- emulated/native FPU compilation (`FPU`)
- Leon2/Leon3 target (`LEON`)
- show/hide compilation commands (`V`)
## Debug/Release mode
......@@ -40,7 +48,7 @@ compilation:
-rwxr-xr-x 1 root root 47860 Mar 16 17:48 fputest
-rwxr-xr-x 1 root root 585178 Mar 16 17:48 fputest.debug
( *If no `CFG` option is provided, the default is `debug` compilation.* )
Notice that:
- In release compilation, the process creates a small binary
(containing only the executable code) and separately, the debug information -
......@@ -114,3 +122,19 @@ If you want to see the complete commands used, use `V=1`:
-Wl,--end-group \
-Wl,--script=linkcmds -B/tmp/edilibtmp/edilib/library -lgcc
# Support
For any questions/feedback, raise tickets in the repository and/or contact
me directly:
Thanassis Tsiodras
Real-time Embedded Software Engineer
System, Software and Technology Department
Address:
ESTEC/Office EF216
Keplerlaan 1, PO Box 299
NL-2200 AG Noordwi
E-mail:
Athanasios.Tsiodras@esa.int
Phone:
+31 71 565 5332
Introduction
============
This repository contains complete scaffolds for building applications
using RTEMS - via either the qualified EDISOFT version or the OAR one.
Each option comes with its own advantages and disadvantages:
- For missions requiring qualified code (e.g. CAT-B) EDISOFT's RTEMS4.8
is the only option. It requires them purchasing a license from EDISOFT.
- Otherwise, the OAR version can be used, which offers the advantages
of using a much more recent compiler, and also addressing SMP needs.
The Makefiles included (for both EDISOFT and OAR) offer the following:
* They automatically handle dependency scanning of header files
* They support both debug and release compilations
* They support compilation for native and emulated FPU usage
* They support targetting Leon2 and Leon3 CPUs
* They enable/disable showing compilation commands
You can read in detail the instructions for:
* [EDISOFT](https://gitrepos.estec.esa.int/ttsiodras/RTEMS-build-workflows/blob/master/EDISOFT/README.md)
* [OAR](https://gitrepos.estec.esa.int/ttsiodras/RTEMS-build-workflows/blob/master/OAR/README.md)
For any questions/feedback, raise tickets in the repository and/or contact
me directly:
Thanassis Tsiodras
Real-time Embedded Software Engineer
System, Software and Technology Department
Address:
ESTEC/Office EF216
Keplerlaan 1, PO Box 299
NL-2200 AG Noordwi
E-mail:
Athanasios.Tsiodras@esa.int
Phone:
+31 71 565 5332
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment