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
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.
Thanks, could you point to where the Release Notes are stored please
You can search it in the https://www.csrsupport.com with keyword CS-345836-RN. Thanks.