Clicky

I have installed eclipse (this was recommended by jennic)  in windows 7 and downloaded http://www.jennic.com/support/support_files/jn-an-1005_wireless_uart

In Eclipse, I then select Import->General->Existing Projects into Workspace and browse for the downloaded files which is in C:JennicApplicationJN-AN-1005-Wireless-UART-3v0.
 
The files are imported successfully (I think), but I got 4 errors and 1 warning on the "Problems" window:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
Description	Resource	Path	Location	Type

/cygdrive/c/Jennic/Application/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/Application/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/Application/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/Application/Stack/Common/Build/Config.mk'.	JN-AN-1005-Wireless-UART		line 0	C/C++ Problem

Invalid project path: Duplicate path entries.	JN-AN-1005-Wireless-UART		pathentry	Path Entry Problem

How do I fix this?

I am also open to other development platforms if you think it is better/easier to use.
 
TIA

asked 10/27/2011 12:29

Thomasian's gravatar image

Thomasian ♦♦


11 Answers:
Not sure about Eclipse.  I've liked NetBeans for a while now on Windows. I mainly do Java / PHP with it but the whole program is quite configurable to your personal liking.

Check out http://netbeans.org/features/cpp/index.html

Thanks, Bernie.
link

answered

berniefitz's gravatar image

berniefitz

Can it also be used for programming microcontrollers (generate bin files)? How do I "import" the project I posted in the question?
link

answered 2011-10-26 at 21:39:41

Thomasian's gravatar image

Thomasian

It should be fine to do anything you can do in C. So if the bin file is just a binary file then no problems.  I don't have NetBeans installed on my current PC but when I get to one I will try and import your project and let you know how I go.  Sorry I can't be of more help right now.

Thanks, Bernie.  
link

answered 2011-10-26 at 21:49:29

berniefitz's gravatar image

berniefitz

Did you follow the instruction in the Application Note *exactly*? It looks like there might be a few 'gotchas' in the steps that the app note describes, in particular Step 2 c)   (I am thinking from what you wrote above that maybe you browsed to the "JN-AN-1005-Wireless-UART-3v0" directory where as the app note says to select the parent folder of that, ie. the folder called "Application"
link

answered 2011-10-26 at 22:06:28

mccarl's gravatar image

mccarl

As for using Netbeans, I am sure that it could be done but it would be unlikely to use the already supplied .project files that Jennic provide and so would likely take a lot more effort to setup correctly.
link

answered 2011-10-26 at 22:14:09

mccarl's gravatar image

mccarl

Yes, I "imported" the root directory. I can see that all the files included in the zip file are added to the project.

I also tried using NetBeans with the same error.
link

answered 2011-10-26 at 22:16:53

Thomasian's gravatar image

Thomasian

Here's the results for Makefile in NetBeans
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
for d in AN1005_154_WUART_Coord AN1005_154_WUART_EndD; do (cd $d; /usr/bin/make  clean ); done
make[1]: Entering directory `/cygdrive/c/Jennic/Application/JN-AN-1005-Wireless-UART-3v0/JN-AN-1005-Wireless-UART/AN1005_154_WUART_Coord'
for d in Build; do (cd $d; /usr/bin/make -w clean ); done
Makefile:129: /cygdrive/c/Jennic/Application/Chip/Common/Build/config.mk: No such file or directory
make[2]: Entering directory `/cygdrive/c/Jennic/Application/JN-AN-1005-Wireless-UART-3v0/JN-AN-1005-Wireless-UART/AN1005_154_WUART_Coord/Build'
Makefile:130: /cygdrive/c/Jennic/Application/Platform/Common/Build/Config.mk: No such file or directory
rm -f AppQueueApi.o
Makefile:131: /cygdrive/c/Jennic/Application/Stack/Common/Build/Config.mk: No such file or directory
rm -f uart.o
rm -f serial.o
rm -f serialq.o
rm -f AN1005_154_WUART_Coord.o
make[2]: Leaving directory `/cygdrive/c/Jennic/Application/JN-AN-1005-Wireless-UART-3v0/JN-AN-1005-Wireless-UART/AN1005_154_WUART_Coord/Build'
make[1]: Leaving directory `/cygdrive/c/Jennic/Application/JN-AN-1005-Wireless-UART-3v0/JN-AN-1005-Wireless-UART/AN1005_154_WUART_Coord'
make[2]: *** No rule to make target `/cygdrive/c/Jennic/Application/Stack/Common/Build/Config.mk'.  Stop.
make[1]: [clean] Error 2 (ignored)
make[1]: Entering directory `/cygdrive/c/Jennic/Application/JN-AN-1005-Wireless-UART-3v0/JN-AN-1005-Wireless-UART/AN1005_154_WUART_EndD'
for d in Build; do (cd $d; /usr/bin/make -w clean ); done
make[2]: Entering directory `/cygdrive/c/Jennic/Application/JN-AN-1005-Wireless-UART-3v0/JN-AN-1005-Wireless-UART/AN1005_154_WUART_EndD/Build'
rm -f AppQueueApi.o
Makefile:129: /cygdrive/c/Jennic/Application/Chip/Common/Build/config.mk: No such file or directory
Makefile:130: /cygdrive/c/Jennic/Application/Platform/Common/Build/Config.mk: No such file or directory
Makefile:131: /cygdrive/c/Jennic/Application/Stack/Common/Build/Config.mk: No such file or directory
rm -f uart.o
rm -f serial.o
rm -f serialq.o
rm -f AN1005_154_WUART_EndD.o
make[2]: Leaving directory `/cygdrive/c/Jennic/Application/JN-AN-1005-Wireless-UART-3v0/JN-AN-1005-Wireless-UART/AN1005_154_WUART_EndD/Build'
make[1]: Leaving directory `/cygdrive/c/Jennic/Application/JN-AN-1005-Wireless-UART-3v0/JN-AN-1005-Wireless-UART/AN1005_154_WUART_EndD'
for d in AN1005_154_WUART_Coord AN1005_154_WUART_EndD; do (cd $d; /usr/bin/make  all ); done
make[2]: *** No rule to make target `/cygdrive/c/Jennic/Application/Stack/Common/Build/Config.mk'.  Stop.
make[1]: [clean] Error 2 (ignored)
make[1]: Entering directory `/cygdrive/c/Jennic/Application/JN-AN-1005-Wireless-UART-3v0/JN-AN-1005-Wireless-UART/AN1005_154_WUART_Coord'
for d in Build; do (cd $d; /usr/bin/make -w all ); done
make[2]: Entering directory `/cygdrive/c/Jennic/Application/JN-AN-1005-Wireless-UART-3v0/JN-AN-1005-Wireless-UART/AN1005_154_WUART_Coord/Build'
rm -f AppQueueApi.o
Makefile:129: /cygdrive/c/Jennic/Application/Chip/Common/Build/config.mk: No such file or directory
Makefile:130: /cygdrive/c/Jennic/Application/Platform/Common/Build/Config.mk: No such file or directory
Makefile:131: /cygdrive/c/Jennic/Application/Stack/Common/Build/Config.mk: No such file or directory
rm -f uart.o
rm -f serial.o
rm -f serialq.o
rm -f AN1005_154_WUART_Coord.o
make[2]: *** No rule to make target `/cygdrive/c/Jennic/Application/Stack/Common/Build/Config.mk'.  Stop.
make[2]: Leaving directory `/cygdrive/c/Jennic/Application/JN-AN-1005-Wireless-UART-3v0/JN-AN-1005-Wireless-UART/AN1005_154_WUART_Coord/Build'
make[1]: Leaving directory `/cygdrive/c/Jennic/Application/JN-AN-1005-Wireless-UART-3v0/JN-AN-1005-Wireless-UART/AN1005_154_WUART_Coord'
make[1]: [all] Error 2 (ignored)
make[1]: Entering directory `/cygdrive/c/Jennic/Application/JN-AN-1005-Wireless-UART-3v0/JN-AN-1005-Wireless-UART/AN1005_154_WUART_EndD'
for d in Build; do (cd $d; /usr/bin/make -w all ); done
make[2]: Entering directory `/cygdrive/c/Jennic/Application/JN-AN-1005-Wireless-UART-3v0/JN-AN-1005-Wireless-UART/AN1005_154_WUART_EndD/Build'
rm -f AppQueueApi.o
Makefile:129: /cygdrive/c/Jennic/Application/Chip/Common/Build/config.mk: No such file or directory
Makefile:130: /cygdrive/c/Jennic/Application/Platform/Common/Build/Config.mk: No such file or directory
Makefile:131: /cygdrive/c/Jennic/Application/Stack/Common/Build/Config.mk: No such file or directory
rm -f uart.o
rm -f serial.o
rm -f serialq.o
rm -f AN1005_154_WUART_EndD.o
make[2]: Leaving directory `/cygdrive/c/Jennic/Application/JN-AN-1005-Wireless-UART-3v0/JN-AN-1005-Wireless-UART/AN1005_154_WUART_EndD/Build'
make[2]: *** No rule to make target `/cygdrive/c/Jennic/Application/Stack/Common/Build/Config.mk'.  Stop.
make[1]: [all] Error 2 (ignored)
make[1]: Leaving directory `/cygdrive/c/Jennic/Application/JN-AN-1005-Wireless-UART-3v0/JN-AN-1005-Wireless-UART/AN1005_154_WUART_EndD'

MAKE SUCCESSFUL (total time: 2s)
link

answered 2011-10-26 at 22:34:44

Thomasian's gravatar image

Thomasian

Double check all your files are there.  For instance:

Makefile:129: /cygdrive/c/Jennic/Application/Chip/Common/Build/config.mk: No such file or directory is looking for  C:\Jennic\Application\Chip\Common\Build\Config.mk

link

answered 2011-10-26 at 22:36:32

berniefitz's gravatar image

berniefitz

Ok, a question first... Do the following directories exist on your machine?

C:\Jennic\Chip\Common\Build
C:\Jennic\Platform\Common\Build
C:\Jennic\Stack\Common\Build


The reason that I ask, and why I asked before about at what level you imported the project, is that I am guessing that it is looking in the wrong places for SDK things! See the line ...

> Makefile:129: /cygdrive/c/Jennic/Application/Chip/Common/Build/config.mk: No such file or directory

It appears to be looking in the Application directory for the "Chip" directory but I am guessing that that directory is one level higher.


The other possibility, (the app note isn't really specific), can you try extracting the contents of the "JN-AN-1005-Wireless-UART-3v0" directory straight into the "Application" directory? I am just thinking of ways to get it to reference the SDK stuff one level higher....
link

answered 2011-10-26 at 22:41:25

mccarl's gravatar image

mccarl

And to further clarify the last point I made, the C:\Jennic\Application directory should look like this...

 
Screen.png
  • 41 KB
  • Directory Structure
Directory Structure

    link

    answered 2011-10-26 at 22:47:53

    mccarl's gravatar image

    mccarl

    It worked when it is extracted to C:\Jennic\Application

    But the "JN-AN-1005-Wireless-UART" folder which is part of the zip file should not be deleted.


    Thanks for all your help
    link

    answered 2011-10-26 at 22:52:45

    Thomasian's gravatar image

    Thomasian

    Your answer
    [hide preview]

    Follow this question

    By Email:

    Once you sign in you will be able to subscribe for any updates here

    By RSS:

    Answers

    Answers and Comments

    Tags:

    ×12
    ×8
    ×2

    Asked: 10/27/2011 12:29

    Seen: 291 times

    Last updated: 10/26/2011 07:07