Forums - CSRmesh2.0 compile problems

4 posts / 0 new
Last post
CSRmesh2.0 compile problems
ianmjames
Join Date: 10 Jun 16
Posts: 9
Posted: Fri, 2016-08-19 07:23

I have been using CSRmesh1.3 compiled with SDK 2.6 for a while now and have decided to move to CSRmesh2.0 with SDK3.0

Unfortunately when trying to compile the sample applications I get lots of compilation errors for example trying to compile the application CSRmeshBridge results in many errors eg

C:/CSR_uEnergy_SDK-3.0.1.115/tools/bin/xap-local-xap-gcc -Wa,-ahln=depend_Release_CSR102x_A05/csr_mesh_bridge.si -gdwarf-2 -g -mconst-switch-tables -mas-mode -mno-initc -Os -Wall -W -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wdisabled-optimization -Wcast-qual -Wundef -Wno-long-long -Wno-unused-parameter -Werror -fno-inline-functions -fno-inline-small-functions -fno-builtin-sqrt -fno-delete-null-pointer-checks -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-builtin --param large-stack-frame=10 --param large-stack-frame-growth=50 -DRELEASE_BUILD -MD -I. -I..\..\include -Idepend_Release_CSR102x_A05 -IC:/CSR_uEnergy_SDK-3.0.1.115/tools/include/CSR102x_A05 -IC:/CSR_uEnergy_SDK-3.0.1.115/tools/lib/CSR102x_A05 -IC:/CSR_uEnergy_SDK-3.0.1.115/tools/lib/otau -DCSR102x -DCSR102x_A05 -DFIRMWARE_IN_ROM -DNVM_TYPE_FLASH -c -o depend_Release_CSR102x_A05/csr_mesh_bridge.o csr_mesh_bridge.c

csr_mesh_bridge.c:18:23: error: ls_app_if.h: No such file or directory

In file included from csr_mesh_bridge.c:35:

gap_service.h:40: error: expected ')' before '*' token

gap_service.h:45: error: expected ')' before '*' token

In file included from ..\..\include/csr_mesh.h:18,

from csr_mesh_bridge.h:33,

from csr_mesh_bridge.c:37:

..\..\include/csr_mesh_types.h:190:6: error: "CSR_MESH_ON_CHIP" is not defined

..\..\include/csr_mesh_types.h:295:6: error: "CSR_MESH_ON_CHIP" is not defined

..\..\include/csr_mesh_types.h:315:6: error: "CSR_MESH_ON_CHIP" is not defined

In file included from csr_mesh_bridge.h:33,

from csr_mesh_bridge.c:37:

..\..\include/csr_mesh.h:141:6: error: "CSR_MESH_ON_CHIP" is not defined

..\..\include/csr_mesh.h:370:6: error: "CSR_MESH_ON_CHIP" is not defined

 

Has anyone else tried this?

 

Thanks,

 

Ian

  • Up0
  • Down0
smlee
Profile picture
Join Date: 11 Jun 16
Location: Korea
Posts: 4
Posted: Mon, 2016-08-22 01:35

Refer to 'CSR uEnergy SDK v3.0.1 Release Note CS-345836-RN'. It looks like that SDK v3.0 only supports CSR102x. If you use CSR101x chip you can use CSRmesh2.0 with SDK 2.x.

  • Up0
  • Down0
ianmjames
Join Date: 10 Jun 16
Posts: 9
Posted: Mon, 2016-08-22 04:01

Thanks, could you point to where the Release Notes are stored please

  • Up0
  • Down0
smlee
Profile picture
Join Date: 11 Jun 16
Location: Korea
Posts: 4
Posted: Mon, 2016-08-22 05:02

You can search it in the https://www.csrsupport.com with keyword CS-345836-RN. Thanks.

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.