Closed jalejandro0211 closed 9 months ago
You'd better use JN-SW-4170, e.g. from here https://github.com/739374663/JN-SW-4170
You'd better use JN-SW-4170, e.g. from here https://github.com/739374663/JN-SW-4170
Thanks @devbis.
I download the JN-SW-4170-Zigbee-3.0-v1745 from nxp as you said and compiles ok, thanks a lot!!!
Hi @devbis , I'm having a similar issue even with JN-SW-4170 file Is there anything I'm missing?
cmake -G "MinGW Makefiles" -DTOOLCHAIN_PREFIX=C:/NXP/bstudio_nxp/sdk/Tools/ba-elf-ba2-r36379 -DSDK_PREFIX=C:/NXP/bstudio_nxp/sdk/JN-SW-4170 ..
-- Using toolchain file: C:/Users/keel/Desktop/hellozigbee/cmake/JN5169.cmake
-- Configuring done (1.6s)
CMake Error at src/CMakeLists.txt:98 (ADD_LIBRARY):
Cannot find source file:
C:/NXP/bstudio_nxp/sdk/JN-SW-4170/Components/ZigbeeCommon/Source/app_zps_link_keys.c
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm
.ccm .cxxm .c++m .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90
.f95 .f03 .hip .ispc
CMake Error at src/CMakeLists.txt:98 (ADD_LIBRARY):
No SOURCES given to target: ZigBee
CMake Generate step failed. Build files cannot be regenerated correctly.
Did you install JN-SW-4170 at the C:/NXP/bstudio_nxp/sdk/JN-SW-4170 location?
Did you install JN-SW-4170 at the C:/NXP/bstudio_nxp/sdk/JN-SW-4170 location?
I reinstalled everything again except this time I'm using JN-SW-4170-Zigbee-3.0-v1745 instead of the v1840. And that seems to work and after a few missing components installed, I'm able to compile the .bin firmware
I assume that the issue is fixed, so I am closing the ticket. Please reopen or create a new one if necessary.
Hi, when I'm trying to build with command _cmake -G "MinGW Makefiles" -DTOOLCHAIN_PREFIX=C:/NXP/bstudio_nxp/sdk/Tools/ba-elf-ba2-r36379 -DSDK_PREFIX=C:/NXP/bstudionxp/sdk/JN-SW-4168 .. I got and error:
Can you help me?