This runs an exported impulse on the Himax WE-I Plus development board. See the documentation at Running your impulse locally (Himax WE-I Plus).
-
Install the DesignWare ARC MetaWare Toolkit and make sure
ccac
is in your PATH. You'll also need a valid ARC MetaWare license. -
Create a build directory and initialize CMake:
$ mkdir build-mw $ cd build-mw $ cmake -DCMAKE_TOOLCHAIN_FILE=toolchain.metaware.cmake ..
-
Build and link the application:
$ make -j $ sh ../make-image.sh MW
-
Install the GNU Toolchain for DesignWare ARC processors and make sure
arc-elf32-gcc
is in your PATH. -
Create a build directory and initialize CMake:
$ mkdir build-gnu $ cd build-gnu $ cmake -DCMAKE_TOOLCHAIN_FILE=toolchain.gnu.cmake ..
-
Build and link the application:
$ make -j $ sh ../make-image.sh GNU
-
Note that you'll need a valid ARC MetaWare license to build.
-
Build the container:
$ docker build -t himax-build -f Dockerfile .
-
Then set up your build environment:
$ mkdir -p build-mw $ docker run --rm -it -v $PWD:/app himax-build /bin/bash -c "cd build-mw && cmake -DCMAKE_TOOLCHAIN_FILE=toolchain.metaware.cmake .."
-
And build and link the application:
$ docker run --rm -it -v $PWD:/app:delegated -e [email protected] himax-build /bin/bash -c "cd build-mw && make -j && sh ../make-image.sh MW"
Where you'll have to replace [email protected] with your license server or license file.
-
Build the container:
$ docker build -t himax-build-gnu -f Dockerfile.gnu .
-
Then set up your build environment:
$ mkdir -p build-gnu $ docker run --rm -it -v $PWD:/app himax-build-gnu /bin/bash -c "cd build-gnu && cmake -DCMAKE_TOOLCHAIN_FILE=toolchain.gnu.cmake .."
-
And build and link the application:
$ docker run --rm -it -v $PWD:/app:delegated himax-build-gnu /bin/bash -c "cd build-gnu && make -j && sh ../make-image.sh GNU"
You'll need the Edge Impulse CLI. Then flash the binary with:
$ himax-flash-tool --firmware-path image_gen_linux/out.img