Changes

Jump to: navigation, search
Build FreeRTOS
=== Build FreeRTOS ===
For building the FreeRTOS, a proper toolchain has to be used, for example , the offical official arm linux Linux toolchain [https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads ref]. Specifically, the example here described was tested with the <code>7-2017-q4-major</code>, which is available for download [https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/7-2017q4/gcc-arm-none-eabi-7-2017-q4-major-linux.tar.bz2 here]. To install it, just decompress the archive. Once the toolchain is downloaded and installed, then enter the following commandsto set up the cross-building environment accordingly:
<pre class="board-terminal">
</pre>
and then Then run <code>make</code> to build the RTOS binary image:
<pre class="board-terminal">
dvdk@dvdk:~/xelk/freertos$ make
</pre>
This command will build the FreeRTOS kernel and an example application, named <code>Rpmsg-Demo</code>.
The output of When the build process is contained into completede, the example application executable is in the directory <code>output/mx6dq/Rpmsg-Demo/axellite_rev_a/Rpmsg-Demo.elf</code> (N.B: In order to run this application on the elf file must be usedtarget, not the bin) e must be renamed as <code>freertosRpmsg-Demo.elf</code> and installed into * has to be copied to the <code>/lib/firmware</code> directory of the target's root file system. '''N.B:''' This guide was tested with the ''GNU Arm Embedded Toolchain'' release '''7-2017-q4-major* it must be renamed as <code>freertos</code>.'''
=== Building latencystat ===
4,650
edits

Navigation menu