EasyManua.ls Logo

AMLOGIC A113X1 - Helloworld Test

AMLOGIC A113X1
19 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
A113X1 Development Kit User Guide
5.0 (2018-05-22) AMLOGIC, Inc. Proprietary
11
Step 5. It will update AlexaClientSDKConfig.json by “Amlogic avs apk” and show Reflash token was
successed” message, then you need to reboot development board for running AVS demo automatically.
Step 6. Speaking to development board, then it will connect Amazon server, and reply.
3.4.3 HelloWorld Test
Step 1. Create your helloworld project under the <your-buildroot-repo dir>/buildroot/package/ : Developers
can download reference project from:
http://openlinux.amlogic.com:8000/download/A113/DOC/helloworld
buildroot/package/helloworld$ ls
Config.in helloworld.mk src
buildroot/package/helloworld/src$ ls
helloworld.c Makefile
Step 2. Build project.
$ <your-buildroot-repo dir>: make helloworld
Step 3. Run binary file.
# mount /dev/sdb1 /mnt
# cp /mnt/helloworld /usr/bin/
# chmod 755 /usr/bin/helloworld
# helloworld
Hello World
argv[0]=helloworld