WisCore
WisCore also called Amazon Alexa Module . It is based on openwrt and use Amazon Alexa interface which provided voice technology by Amazon AVS .If you are the first compiler SDK you need to choose to use the product type and then set the compiler environment. so that the next time you recompile the same types of products when there is no need to in the environmental settings unless you want to switch to other types of products.
Before you get started, let's review what you'll need.
1.WisCore development board - Buy at Rakwireless - wiscoreBoard
2.wisAudio board - Buy at Rakwireless - AudioBoard
3.Micro-USB power cable
4.Network Cable - Ethernet for download firmware to wiscore board and surf the internet
The original WisCore SDK on a wiscore board project required manual download and compile to run. To make the process faster and easier, we’ve included an compile install script with the project that will take care of all the heavy lifting. Not only does this reduce setup time to less than an hour on our wiscore board, it only requires developers to adjust three variables in a single install environment script - build/envsetup.sh .
Open terminal, and type the following:
cd Desktop
git clone https://github.com/RAKWireless/WisCore-SDK.git
Before you run make, you need to set compile environment for the products you use with envsetup.sh, now we want to use the Amazon Alexa function so we should choose wisCore products types.
cd ~/Desktop/wiscore
./build/envsetup.sh wisCore hgw
Note: if you don't use "wiscore" board and you want to use alexa, you need set dsn-num in your board "/etc/wiskeyinfo"
serial_num #=xxxxxxxxxxxxx
You are now ready to run make command to compile. This will install all dependencies, including to compile openwrt and related application
To run the make, open terminal and navigate to the folder where the project was cloned. Then run the following command in the SDK directory:
make
Finally compiled generated files firmware in the folder out/target/bin
Note: if you have selected the product and want to comiple other product,you need "make clean" then rebuild
copy the firmware to windows - To download the latest firmware
cp ~/Desktop/WisCore/out/target/bin/firmware /windows/
How to burn firmware to WisCore Board
Here you can use alexa function, so if you want to sign in Alexa click - How to sign in Alexa
- Button1: on Mother Board , press it about 5 seconds, it will recover from "ap" mode to "sta" mode
- Button2:on Audio Sub Board , press it to mute