How to create embedded Linux target main using ert.tlc rather than idelink_ert.tlc

3 Ansichten (letzte 30 Tage)
We would like to be able to generate code for an embedded Linux target but use ert.tlc rather than idelink_ert.tlc. The model we use has multiple sample rates. So far we have used idelink_ert.tlc and selected Linux as the target operating system. The target build tools are hosted on a different Linux PC to the Windows PC on which the models are created. We use a hook function to prevent the build process from trying to create and build a make file. The hook function sends the appropriate compiler commands via ssh to the Linux build PC.
The problem with this is that idelink_ert.tlc is not really the ideal template to use as it adds extra features that we do not need. Also with our large models we get some problems with the build process in Matlab using idelink_ert.tlc that we do not get with ert.tlc. It would be much better to use the simpler ert.tlc template. However, this does not allow us to select Linux as the target OS.
Is there a way in which we can use ert.tlc, or a customised version of this, and allow us to create an embedded Linux target main file using posix threads? When we select ert.tlc the 'target operating system' dropdown box on the Templates tab gives the options of BareBoard, VxWorks or NativeThreads. An ideal setup would be to be able to select Linux at this point as the target OS.

Antworten (0)

Kategorien

Mehr zu Embedded Coder finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by