I have managed to solve teh issues i had. Its running well now. Thanks for the efforts.
You are welcome!
Yes DASg, teh error was due to the initialisation of the 'extern' keyword. And teh error comes as
'arm-none-eabi-gcc.exe' failed with exit code '1'.
with no reference. That is what was making it dificult but i had to go through the whole program and initialied the extern kewyword in main.c instead of the RGBSensor.c file. Much appreciated.
You can view the errors, notes and warnings by selecting the "Notice List" tab.
It gives a list of all the errors and warnings. The snapshot below shows the notice list of the project uploaded.
I'm strugling also with this error.... Let me tell you what I did:
- I import and changed the Graphic LCD module as described in the PSoC-Today video.
- Saved it in the Default/MyComponents/ catalog and build the module. No problems.
- I archived the module for using it in my project
- I opened a new test project and via the Components tab, I imported the archived module
- In the Source tab I added the component in TopDesign using the component from the Default/MyComponents catalog
- Added I/O pins to the component in TopDesign and assigned pins to the pins I had allocated for this in my hardware
- Build the project and solved some minor errors
- Build again and the only error what was leftt was the one in the Title.
I did this job with other modified modules and no problem when I used them in my projects.... But this one cost me days of searching before I make this help message....
I hope anyone can give me the right hint!
I added the test project.
TFT_Test.cyprj.Archive01.zip 2.5 MB
when I remove calls to the module from main.c (e.g. TFTIntf_1_Start();)
the problem is over....
Maybe it has somthing to do with linking of the module source?
It HAS to do with the linker. When you look at the "output" tab you see an errormessage from "ld" which indeed is the linker. But I cannot say more. Better you create a "MyCase". (At top of this page: Support&Community -> Technical Support)
thanks for reply! I had made an other approach which solved the problem….
In my first setup I modified the component to my own requirements and build and save it. After importing the module in my project and building it, I had that specific error.
Now I first have made a new ‘my_component’ based on the component from the Cy catalog without any mods, built it and imported it in my project. Building the project and NO errors!
Next step was to add step by step my new API’s in this component and every time I did a new build of the project and still no errors (beside some typing errors ;-).
Conclusion: there was something wrong with my first modified component but don’t know what….
But problem solved!
Next step is to get some lines and color on my TFT display, and that is not the case at this moment. So I have still something to figure out. Maybe I have to check the signals with my scope.
Thank you for keeping us informed!
I receive error on my project.
"Build error: The command 'arm-none-eabi-gcc.exe' failed with exit code '1'."
No more error or warnings.
For fix bug - was install
"gcc-arm-none-eabi-4_9-2015q2-20150609-win32.exe" and add to PSoC Creator 3.2 to "Tools->Options-> ARM Toolchar"
All this - unsuccessful.
How can I fix problem ?
Welcome to the forum.
When no other error is mentioned this will probably be a link error. Can you post your complete project, so that we all can have a look at all of your settings? To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.
There are two files not within the pjoject path: debug.c and ans.c although the ans.h is in the correct place. Please correct that.
When the error remains, re-post the corrected workspace bundle.