- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I'm having a problem with building my project. Have the following error code
The command 'arm-none-eabi-gcc.exe' failed with exit code '1'.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Maduna,
Right click near the menu bars and enable the "Build Configuration/Toolchain".
Let us know if this helps.
If you upload the project, we can test if there is any specific issue causing this error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
did you get any error or warning on the output section while building the project? You can upload the project for people here to check.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This error-message is, afaik, the last message in a row, saying that the compilation was aborted due to one or more compilation error(s). Check messages before (above) this one.
Hope it helps
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Build Configuration/Toolchain did not yeild any positive response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I did not get any other error from teh screen after the build. I only obtained the
Error code 'arm-none-eabi-gcc.exe' failed with exit code '1'.
let me upload the zipped program and check it for me on your side and i'll give a bried xplanation of what im trying to read out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes,go on and upload. We'll have a look at it.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm having a problem uploading my zipped code. it goes on forever . any tip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is the maximum size i can upload? I have compressed it to 3.25MB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Maduna,
Please use "Minimal Archive" to archive the project.
Following is the procedure:
1) Right click on the Workspace and select "Archive Workspace/Project"
2) In the Archiver window, select "Minimal".
In this method, the Creator generated files will not archived thereby reducing the file size.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
and make a "Clear" before, it reduces the size as well.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Its still failing to load. i'll keep trying....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'd suggest that DASG or someone gives me their email and i send it to them and tehy can upload the the project because i have been trying to do this for about 4hours and i'm failing. Is that ok
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Bob or DASG could you send me an email on madunaski@yahoo.com then i can send it through to you because i'm still failing to upload the file. I have reduced it to 600Kb but still failing to upload. Then you can upload it from your side.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Malvin,
when I compile your project (Creator 2.0), I get
7 Errors,
9 Warnings and
2 Notes.
On the very bottom line (maybe hidden by the task-list at your desktop?) on the right-hand corner are the counts listed for errors, warning and notes. When you click at one of them, the window changes from "output" to "Notice" and you can see all your errors.
You may click as well to one of the tabs of the notice-window to hide or show the errors, notes or warnings. Since you did not see any of those (only in the output-window the error-message of the failed compile) I suppose that it is hidden from your sight by the task-bar or something similar.
Search for the bottom-line of the >Creator-Window.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have managed to solve teh issues i had. Its running well now. Thanks for the efforts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are welcome!
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey Maduna,
Good to hear that!
Was the error you were getting initially due to improper initialization of the variables using "extern"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
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.
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Addition info...
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?
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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)
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Bob,
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.
Regards,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for keeping us informed!
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
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"
and update
"Project->Build Settings->Toolchar"
All this - unsuccessful.
How can I fix problem ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I combined 4 programs in a single program for my project. That's why i need both C file. If i'll remove any the error will remains same. I tried this also.C file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I did not suggest to remove the files, I suggested to move the files to the project path and adjust the references. I cannot compile because the files are missing.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is an error message "undefined reference to `UART_PutCRLF". Open datasheet of your UART and look for the correct name (must be something like UART_UartPutCrLf or so).
Get rid (correct code) of all warnings!!!
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I corrected them UART_PutCRLF(16). Now also i'm getting same error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PutCRLF() does not have a parameter and the name is still wrong!
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Right click on your UART component, select "Open Datasheet". In the PDF search for "putcrlf" then you'll find the correct name.
Double click on each warning and correct it. Mostly type-casting will help.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I checked in data sheet UART_UartPutString(). Error
The command 'arm-none-eabi-gcc.exe' failed with exit code '1'remains same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
... And it will stay the same until you correct all errors. At the bottom of creator all the errors and warnings are shown. When you switch to "Output" tab you will see any linker errors at the end. Exit code 1 just is the capitulation of GCC since there are some errors remaining.
I am sorry, but I cannot correct your elaborate, you will have to do that yourself.
Bob