Hi,
I downloaded the latest SDK, the one that comes with QCA402x_plugin.jar. I am using onboard_demo project
I followed the instructions in document 80-ya121-140-qca402xcdb2x_development_kit_user_guide.pdf on section 3.5.3.1, 3.5.3.2, 3.5.3.3.
Section 3.5.2 actually can't work for onboard_demo. So I just go into its gcc folder, using command prompt and run make prepare. This will create the export folder.
I right click on my project->Properties->C/C++ Build->Behavior. At the Build (Incremental build) place, i key in t 4020 2 1 1 cdb 2p0.
Then I go to section 3.9.1 and 5.1 of the user guide. Follow through.
At my eclipse, when click on build, I got the below error.
I am able to build using the latest QDN release.
16:26:21 **** Incremental Build of configuration Default for project Onboard_demo ****
build.bat t 4020 2 1 1 cdb
awsiot
Selected Radio Is ZIGBEE
Selected Zigbee mode is COORDINATOR
CDB
****************************************************************************
Building Onboard AWS demo for v2 Chipset
RTOS threadx
CHIPSET VARIANT qca4020
Onboard Via WIFI
Battery Operated 0
Ecosystem awsiot
*****************************************************************************
"Building for AWS"
Exporting Device config files....
GENERATING DEVCFG....
Below are my eclipse settings:
Build Command: build.bat
Build Directory: ${workspace_loc:/Onboard_demo/build/gcc}
Build (Incremental Build): t 4020 2 1 1 cdb
Environment : ECOSYSTEM awsiot
Let me know if you still face any issues.
Hi Raja,
Are you using the old build.bat file? If I use the new build.bat file, it has the problem as I mentioned in my first post. I tried to replace the new build.bat file with the old one, then I manage to build it.
I compare the old build.bat file and the new one, they have a lot of differences.
Regards,
Nelson
I have tried locally and its working with no issues.
12:00:32 **** Incremental Build of configuration Default for project Onboard_demo ****
build.bat t 4020 2 1 1 cdb
awsiot
Selected Radio Is ZIGBEE
Selected Zigbee mode is COORDINATOR
CDB
****************************************************************************
Building Onboard AWS demo for v2 Chipset
RTOS threadx
CHIPSET VARIANT qca4020
Onboard Via WIFI
Battery Operated 0
Ecosystem awsiot
*****************************************************************************
"Building for AWS"
Exporting Device config files....
If you still face the issue provide us the console output to debug more.
Note: The issue may occur due to multiple reasons:
> Check if you are using Onboard_Demo path and modify build parameters as build.bar t 4020 2 1 1 cdb.
> The issue may occur if Build Environment is set to Offline, in such case you need to edit the Build Environment and set ECOSYSTEM to awsiot.