JN-AN-1218-Zigbee-3-0-Light-Bulb - Compiler looking for SDK files in the wrong place.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

JN-AN-1218-Zigbee-3-0-Light-Bulb - Compiler looking for SDK files in the wrong place.

940 Views
charlesgervais-
Contributor II

The compile is looking for the portasm_JN516x.s file in ../../ExtendedColorLight/Build/ while it is located in the sdk/JN-SW-4170/Components/ZigbeeCommon/Source

I've had this problem with the JN-SW-4168 also compiling other projects, but never managed to fix it.

Thank you,

Labels (2)
0 Kudos
3 Replies

788 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Charles,

Be sure that you are set as active the example that you are working on.

pastedImage_1.png

Regards,

Mario

0 Kudos

788 Views
charlesgervais-
Contributor II

Hello Mario,

Yes I do have the LIGHT attribute set properly.

The file portasm_JN516x.S does exist in JN-SW-4170/Components/ZigbeeCommon/Source but it seems the Makefile does not find it or does not look for it.

I've installed Beyond Studio, the JN-SW-4170 SDK and the JN-AN-1218 as required in the default locations...

Thank you,

0 Kudos

788 Views
charlesgervais-
Contributor II

Found it:

It has something to do with the SDK_BASE_DIR that was not setup correctly, I changed it to the line below. I've also added the COMPONENTS_BASE_DIR definition as it didn't seem to exist.

makefilePaths.PNG