How to fix "Invalid project path"?

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

How to fix "Invalid project path"?

3,611 Views
fjorge
Contributor I

Hi

I am new in this MCU programming business. I am having problems with the paths during the Building process and I can't find the problem by myself. I have tried to find solutions by looking at similar problems but non of them work for me. Situation:

I have a ready project for a MK20DN512 MCU. We want to be able and modify bits of the code ourselves and create a flash file (s19) to update the firmware. I know how to create this s19 files. I have also tried one of those hello world projects for a MK60 MCU and it has worked fine. The main issue is to build the project for our own code. I always get the warning

Invalid project path: Include path not found (C:\Users\user\workspace\Freescale_MQX_4_1\lib\xxxx.cw10gcc\debug).   xxxx        pathentry    Path Entry Problem

xxxx stands for the name of the project. The problem here ist that there is no folder Freescale_MQX_4_1 and subsquent folders. I have tried deleting/adding/modyfing paths for compiler and/or assembler but nothing works. If I ignore the warnings and try to build the project, I recieve the error

min32gw-make No rule to make target

I have found out that this has to do with the makefile but I don't find the solution to the problem. Any suggestions?

Using: Codewarrior Developmet Studio, 11.0 on a Windows machine

Regards

Jorge

Labels (1)
Tags (1)
0 Kudos
2 Replies

2,351 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Jorge,

Where did you get your project? Which libraries are you using? is your project using MQX?

I would recommend you to use MCUXpresso IDE instead, it is our newest IDE that has superseded CodeWarrior for Kinetis:

 

www.nxp.com/mcuxpresso/ide

Also, it would better if you use the MCUXpresso SDK for your MCU:

www.nxp.com/mcuxpresso/sdk


Hope it helps!

Best Regards,
Carlos Mendoza
Technical Support Engineer

0 Kudos

2,351 Views
fjorge
Contributor I

Hi Carlos

We are developping a new device where up to 4 amperometric sensors are

connected to it and can be configured in different ways. The entire

configuration settings, calibration data and signal outputs are handled

by a MK20DN512 MCU. We have recieved the entire code from another

company which is working on the hardware (and according software) part

of the project. Our expertise is the sensor part but we want to

familiarize ourselves with the MCU programming too since the device will

be sold to our customers and we need the expertise in house.

We are using home-built libraries.

Yes, our project requieres MQX.

In the meanwhile I found that MQX was simply missing on my PC and I

installed it. I have been looking through your tutorials to understand

what I should do. In principle, it should be simple: (i.) Create

Libraries with MQX, (ii.) Build Project in Code Warrior and (iii.)

Create flash image file.

So far, as I mentioned in my previous post, I have found out how to to

step 2 and 3 using a freescale tower and some example project. With our

own code I am still struggeling at step 1. I am not able to build the

/Project.cw10gcc/ folder with its corresponding subfolders /debug/ and

/release/. If I manage this, everything else should work. Any

suggestions there? I have tried the MQX Clone Wizard but this is not

giving me the correct compiled folder.

Best regards

Jorge

Am 15.02.2018 um 19:41 schrieb Carlos_Mendoza:

>

NXP Community

<https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg>

>

Re: How to fix "Invalid project path"?

reply from Carlos_Mendoza

<https://community.nxp.com/people/Carlos_Mendoza?et=watches.email.thread>

in /CodeWarrior for MCU/ - View the full discussion

<https://community.nxp.com/message/987531?commentID=987531&et=watches.email.thread#comment-987531>

>

0 Kudos