Looks simple at first glance.
Just make few changes in source code as explained in manual above:
- add definition to enable controller you are going to use:
- add option to cmake file:
- and provide handlers to skill you enabled:
writing to log file in that case. But any commands and/or scripts might be called to make actions you need to be controlled by voice commands.
Surprisingly resulted built image was 21 Mb size. So running it from RAM (/tmp) folder was available only. Copying via SCP:
After registering the device (as explained in previous post) Alexa reacts on voice commands as expected:
Commit with changes made to enable Alexa controllers might be found here.
Next step need to be done – hardware/software migration from 16 Mb flash to 32 Mb. For now we did it and voice controlling enabled SampleApp available on NetSoM development board out of box.