Thomasian
asked on
C programming for microcontroller part 2
In the application note for JN-AN-1005 Wireless UART, I was able to built the project successfully when the project is located on "C:\Jennic\Application" which is for "JN5148 Only" (page 4). But it has errors when I put the project on "C:\Jennic\cygwin\jennic\S DK\Applica tion" which is for "JN5139/JN5121 Only" (page 5).
The errors are:
K\Common\B uild. What am I missing?
The errors are:
Description Resource Path Location Type
/jennic/SDK/Chip/Common/Build/config.mk: No such file or directory Makefile JN-AN-1005-Wireless-UART/AN1005_154_WUART_Coord/Build line 129 C/C++ Problem
/jennic/SDK/Platform/Common/Build/Config.mk: No such file or directory Makefile JN-AN-1005-Wireless-UART/AN1005_154_WUART_Coord/Build line 130 C/C++ Problem
/jennic/SDK/Stack/Common/Build/Config.mk: No such file or directory Makefile JN-AN-1005-Wireless-UART/AN1005_154_WUART_Coord/Build line 131 C/C++ Problem
make: *** No rule to make target `/jennic/SDK/Stack/Common/Build/Config.mk'. JN-AN-1005-Wireless-UART line 0 C/C++ Problem
I searched the C:\Jennic\cygwin and I can only find one config.mk which is on C:\Jennic\cygwin\jennic\SD
It looks as though you should have a C:\Jennic\SDK\ folder. Do you have this and if so does it contain folders Chip, Platform, and Stack?
You're not trying to use Eclipse to do that are you?
ASKER
berneifitz,
The full path to the SDK folder is C:\Jennic\cygwin\jennic\SD K. There is no C:\Jennic\SDK
The SDK folder contains the following folders:
Application
Chip
Common
Jenie
Platform
Zigbee
mccarl,
The error I posted was generated by eclipse. I also tried it on NetBeans with same errors
The full path to the SDK folder is C:\Jennic\cygwin\jennic\SD
The SDK folder contains the following folders:
Application
Chip
Common
Jenie
Platform
Zigbee
mccarl,
The error I posted was generated by eclipse. I also tried it on NetBeans with same errors
Try copying that SDK folder to C:\Jennic\ and see how it goes.
I just have a hunch that's where it is trying to find the SDK folder.
I just have a hunch that's where it is trying to find the SDK folder.
ASKER
Ok. I copied the SDK folder to C:\Jennic and put the application on "C:\Jennic\SDK\Application \JN-AN-100 5-Wireless -UART".
errors:
errors:
Description Resource Path Location Type
/cygdrive/c/Jennic/SDK/Chip/Common/Build/config.mk: No such file or directory Makefile JN-AN-1005-Wireless-UART/AN1005_154_WUART_Coord/Build line 129 C/C++ Problem
/cygdrive/c/Jennic/SDK/Platform/Common/Build/Config.mk: No such file or directory Makefile JN-AN-1005-Wireless-UART/AN1005_154_WUART_Coord/Build line 130 C/C++ Problem
/cygdrive/c/Jennic/SDK/Stack/Common/Build/Config.mk: No such file or directory Makefile JN-AN-1005-Wireless-UART/AN1005_154_WUART_Coord/Build line 131 C/C++ Problem
make: *** No rule to make target `/cygdrive/c/Jennic/SDK/Stack/Common/Build/Config.mk'. JN-AN-1005-Wireless-UART line 0 C/C++ Problem
ASKER
On page 6 of the application note it has:
For JN5139:
At the command prompt, enter:
make -f Makefile_JN5139.mk clean all
By command prompt, does it mean the windows command prompt?
For JN5139:
At the command prompt, enter:
make -f Makefile_JN5139.mk clean all
By command prompt, does it mean the windows command prompt?
ASKER
I fixed the build issue by setting the build command to "make -f Makefile_JN5139.mk clean all"
Just 1 warning left:
Invalid project path: Duplicate path entries. JN-AN-1005-Wireless-UART pathentry Path Entry Problem
Any idea what that meant?
Just 1 warning left:
Invalid project path: Duplicate path entries. JN-AN-1005-Wireless-UART pathentry Path Entry Problem
Any idea what that meant?
Not sure why this would be happening. It could be IDE dependent.
I found by my google research the following forum thread:
http://stackoverflow.com/questions/307367/eclipse-cdt-invalid-project-path
As i'm not really across that much C/C++ in Eclipse I would give the directions given there and see how you go.
Thanks, Bernie.
I found by my google research the following forum thread:
http://stackoverflow.com/questions/307367/eclipse-cdt-invalid-project-path
As i'm not really across that much C/C++ in Eclipse I would give the directions given there and see how you go.
Thanks, Bernie.
ASKER
In the forum, one of the links shows that the bug is resolved.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=206372
But I have no idea how to apply the patch..
https://bugs.eclipse.org/bugs/show_bug.cgi?id=206372
But I have no idea how to apply the patch..
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks