| Updated: October 28, 2024 |
The default application that the reference image starts is the ADAS example application. You can change the configuration to start a different example application or a custom one that you built.
To do so, you can use the existing SLM and sensor configuration files, after you have uploaded your application to the NXP iMX8QM-MEK:
# cp slm-config-platform-single_cam.xml slm-config-platform.xml
...
...
<SLM:component name="adas_example">
<SLM:command>/base/usr/bin/adas_example</SLM:command>
<SLM:args>-c /base/etc/system/config/adas_finger_count.conf -b</SLM:args>
<SLM:depend>sensor</SLM:depend>
<SLM:stop stop="signal">SIGTERM</SLM:stop>
</SLM:component>
...
...
to:
...
...
<SLM:component name="adas_example">
<SLM:command>/base/usr/bin/mycustomcamera</SLM:command>
<SLM:depend>sensor</SLM:depend>
<SLM:stop stop="signal">SIGTERM</SLM:stop>
</SLM:component>
...
...