These are chat archives for marvell-iot/aws_starter_sdk

21st
Apr 2016
Prashant K
@Prashant-Kmr
Apr 21 2016 05:37
I'm not getting how to compile a sample app on ubuntu, which command shall I use? Path of my sample app is "/home/prashant/aws_starter_sdk/sample_apps"
Anuj Deshpande
@anujdeshpande
Apr 21 2016 05:39

hi @Prashant-Kmr please use the make command from the aws_starter_sdk directory
for example if you wanted to build the aws_starter_demo

make APP=sample_apps/aws_starter_demo

Prashant K
@Prashant-Kmr
Apr 21 2016 05:48
I tried it, but getting error "make APP=sample_apps/hello_world
make1: Entering directory /home/prashant/aws_starter_sdk' make[1]: arm-none-eabi-gcc: Command not found make[1]: *** [bin//home/prashant/aws_starter_sdk/sample_apps/hello_world/src/main.o] Error 127 make[1]: Leaving directory/home/prashant/aws_starter_sdk'
make: * [do_the_build] Error 2
"
Anuj Deshpande
@anujdeshpande
Apr 21 2016 05:50
@Prashant-Kmr it seems like you haven't installed all the required tools
You can follow the instructions given here
Prashant K
@Prashant-Kmr
Apr 21 2016 05:52
Thank you @anujdeshpande I'll try it
Prashant K
@Prashant-Kmr
Apr 21 2016 10:19
Hi, I followed all steps of development host setup for ubuntu but still have following error for make comand "make
make1: Entering directory /home/prashant/aws_starter_sdk' make[1]: arm-none-eabi-gcc: Command not found make[1]: *** [bin/sample_apps/hello_world/src/main.o] Error 127 make[1]: Leaving directory/home/prashant/aws_starter_sdk'
make: * [do_the_build] Error 2
"
Prashant K
@Prashant-Kmr
Apr 21 2016 11:14
blob
Make command worked for windows platform, after make I tried to build hello_world sample app using "make APP=sample_apps/hello_world" but it is showing as above
Which code should I use to load on board and how do I load it from windows command prompt.
Anuj Deshpande
@anujdeshpande
Apr 21 2016 12:11
You can use the flash.py script to upload
Prashant K
@Prashant-Kmr
Apr 21 2016 12:31
Ya executed GPIO program successfully. Thank you @anujdeshpande
Anuj Deshpande
@anujdeshpande
Apr 21 2016 12:33
Great !