We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
A part of the code where it goes wrong in pil_symbols_c.c is shown below:
//this file can be linked such that no Flash memory is consumed #ifndef PIL_PREP_TOOL #include "pil_symbols_c.inc" // will be automatically generated #endif
A part of the code where it goes wrong in pil_symbols_p.c is shown below:
// this file can be linked such that no Flash memory is consumed #ifndef PIL_PREP_TOOL #include "pil_symbols_p.inc" // will be automatically generated #endif
Also, I don't know how to link those two files such that no Flash memory is consumed.
My main problem is that I get the following error when building the code and I would like to get some help. In the same folder there are like approximately ten .c and .h files in which there are no problems found when building the code.
*** Using Compiler 'V5.06 update 3 (build 300)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' Build target 'BLDC_F401RE_USART' compiling pil_symbols_p.c... Common\pil_symbols_p.c(28): error: #5: cannot open source input file "pil_symbols_p.inc": No such file or directory #include "pil_symbols_p.inc" // will be automatically generated Common\pil_symbols_p.c: 0 warnings, 1 error compiling pil_symbols_c.c... Common\pil_symbols_c.c(28): error: #5: cannot open source input file "pil_symbols_c.inc": No such file or directory #include "pil_symbols_c.inc" // will be automatically generated Common\pil_symbols_c.c: 0 warnings, 1 error ".\Common\Demo\BLDC_PIL.axf" - 2 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:00:03
I think it's best if I just share the project so perhaps you experts can give it a try. I only would like to build it and flash it on my stm32.
I have uploaded the original project to my drive and the link is:
drive.google.com/open
So many thanks all of you, I hope you can figure it out and let me know (it's approximately a 2mb file).
Should you be asking here: https://www.plexim.com/support ... ?