]> rtime.felk.cvut.cz Git - ert_linux.git/blob - README
Add license (Apache 2.0)
[ert_linux.git] / README
1 Minimalist Simulink Coder Target for Linux
2 ============================================
3 Authors: Michal Sojka <sojkam1@fel.cvut.cz>
4          Lukas Hamacek <hamacl1@fel.cvut.cz>
5
6 The aim of this target is to allow Simulink to generate code that
7 runs in real-time on Linux. This target tries to be minimalist in
8 the sense that it reuses as much as possible from Simulink built-in
9 targets.
10
11
12 Installation
13 ------------
14
15 In Matlab prompt execute:
16
17   cd <root>/ert_linux/ert_linux
18   ert_linux_setup
19
20 From now on, Code Generation pane of Simulink Model Configuration
21 Parameters should offer ert_linux.tlc as System Target File (after
22 pressing "Browse...." button).
23
24 Documentation
25 -------------
26
27 In order to cross-compile the generated source, modify the "Make
28 command" in Code Generation pane to set the CC variable (and/or CPP
29 for C++ compiler). For example:
30
31     make_rtw CC=arm-linux-gnueabi-gcc
32
33 Pointers to more ERT Linux target documentation can be found at the
34 project SourceForge page http://lintarget.sourceforge.net/.
35
36 Michal Sojka's blogpost about the actual version can be found at
37 http://rtime.felk.cvut.cz/~sojka/blog/on-generating-linux-applications-from-simulink/.
38
39 Development sources repository
40 ------------------------------
41
42   http://rtime.felk.cvut.cz/gitweb/ert_linux.git
43
44   git clone git://rtime.felk.cvut.cz/ert_linux.git
45
46 Note: This target was tested with Matlab R2012b and R2013a
47       and Humusoft MF624 cards with Linux kernels up to 3.12 RT
48       on 64-bit Debian GNU/Linux system.