fatal error: PE_low_level_init.h: No such file or directory

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

fatal error: PE_low_level_init.h: No such file or directory

2,392 Views
nícolasludwig
Contributor II

Hi everyone.

I'm having a problem (actually two) when compiling my project. When I do it, I get this message that you can see on the image below.

error.png

The first error, the file exist, but it is in another path. I tried to put it in the "correct" path. The error disappear, but appears the same error with another file. I also tried to look the includes of the compiler in Properties -> C/C++ Build -> Settings, and I guess that all the paths are there. And I ALSO tried to put ALL the .h files into ".../Static_Code/System", as the error says. But the problem persist.

The second error, I just don't know what to do.

Can you help me?

Thanks in advance.

Labels (1)
0 Kudos
9 Replies

1,653 Views
niconico
Contributor I

Hi nícolasludwig,

I was having the same issue and I solve it changing the Project Location. It seems that KIDS can't handle some characters ("ñ" in my case). To be sure I also use a really short route.

Hope it helps.

Have a great day.

Nicolás.

0 Kudos

1,653 Views
nícolasludwig
Contributor II

Hello Nico.

Sorry for delay. I didn't try it yet but, just to be sure, where did you put your new Project Location?

And the characters you mean, are those of the project name, right? Or those inside the code too?

Thank you.

0 Kudos

1,653 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Nícolas Ludwig ,

Please check the two pathes as below :

pastedImage_3.png

If still can't work, you can send it to my , I will check it on my side .

Hope it helps


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,653 Views
nícolasludwig
Contributor II

I put the two pathes, and still can't work.

I fixed the first error, and now just the second error persist (make *** [Static_code...).

Code below:

/* ###################################################################
** Filename : main.c
** Project : testando
** Processor : MKL27Z64VLH4
** Version : Driver 01.01
** Compiler : GNU C Compiler
** Date/Time : 2018-03-11, 16:06, # CodeGen: 0
** Abstract :
** Main module.
** This module contains user's application code.
** Settings :
** Contents :
** No public methods
**
** ###################################################################*/
/*!
** @file main.c
** @version 01.01
** @brief
** Main module.
** This module contains user's application code.
*/
/*!
** @addtogroup main_module main module documentation
** @{
*/
/* MODULE main */


/* Including needed modules to compile this module/procedure */
#include "Cpu.h"
#include "Events.h"
#include "clockMan1.h"
#include "pin_init.h"
#include "osa1.h"
#include "gpio1.h"
#if CPU_INIT_CONFIG
#include "Init_Config.h"
#endif
/* User includes (#include below this line is not maintained by Processor Expert) */

/*lint -save -e970 Disable MISRA rule (6.3) checking. */
int main(void)
/*lint -restore Enable MISRA rule (6.3) checking. */
{
/* Write your local variable definition here */

/*** Processor Expert internal initialization. DON'T REMOVE THIS CODE!!! ***/
PE_low_level_init();
/*** End of Processor Expert internal initialization. ***/
int delay = 2000000;
/* Write your code here */
for(;;) {
GPIO_DRV_TogglePinOutput(LEDRGB_GREEN);
while(delay--);
delay = 2000000;

}

/*** Don't write any code pass this line, or it will be deleted during code generation. ***/
/*** RTOS startup code. Macro PEX_RTOS_START is defined by the RTOS component. DON'T MODIFY THIS CODE!!! ***/
#ifdef PEX_RTOS_START
PEX_RTOS_START(); /* Startup of the selected RTOS. Macro is defined by the RTOS component. */
#endif
/*** End of RTOS startup code. ***/
/*** Processor Expert end of main routine. DON'T MODIFY THIS CODE!!! ***/
for(;;){}
/*** Processor Expert end of main routine. DON'T WRITE CODE BELOW!!! ***/
} /*** End of main routine. DO NOT MODIFY THIS TEXT!!! ***/

/* END main */
/*!
** @}
*/
/*
** ###################################################################
**
** This file was created by Processor Expert 10.5 [05.21]
** for the Freescale Kinetis series of microcontrollers.
**
** ###################################################################
*/

0 Kudos

1,653 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Nícolas Ludwig,

Please send your project to me.

And what about your IDE version?

BR

Alice

0 Kudos

1,653 Views
nícolasludwig
Contributor II

Hello. I posted my project on Google Drive. It's a .rar file, link below:

testando.rar - Google Drive 

My IDE version is 3.0.0. Yesterday I tried with 3.2.0 version, but without success.

Thanks for your support.

0 Kudos

1,653 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

I build your project on my side, there is no error :

pastedImage_2.png

BR

Alice

0 Kudos

1,653 Views
nícolasludwig
Contributor II

Hello.

Yes. As I said, I build this project in another computer and it works. Just in mine computer it doesn't. Do you have any idea to fix it?

Thank you.

0 Kudos

1,653 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hi,

Please take a screenshot about your error on Console window.

Also your project is based on KSDKv1.3, have you isntall it on KDS ?

BR

Alice

0 Kudos