Skip to content

WisCore

swt edited this page Dec 22, 2017 · 9 revisions

Welcome to the WisCore wiki!

OverView

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.

Required Hardware

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

Let's get start to compiler wisCore SDK

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 .

Step 1: Clone the WisCore-SDK

Open terminal, and type the following:

cd Desktop
git clone https://github.com/RAKWireless/WisCore-SDK.git

Step 2: to set compile environment

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

Step 3: Run Make to compile

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

Step 4: burn the firmware to wiscore board

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

Application Introduction

Here you can use alexa function, so if you want to sign in Alexa click - How to sign in Alexa

Button Introduction

  • 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