-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
failure to add ppa:team-gcc-arm-embedded/ppa #275
Comments
I have found this answer on StackOverflow which explains the cause of the issue and provides an apparent solution. Would you be willing to try it out and report back? We can update the README once we've confirmed it works. |
Thanks! I tried that out and it worked for me, although I did it slightly differently due to taste. I installed the toolchain in
I found that I did not need to make symlinks to |
Any updates on the ppa? |
From reading the StackOverflow answer, my impression was that the PPA was dead, and we're supposed to use the tarballs from ARM's site instead. |
I noticed that README.md doesn't yet reflect this new information, so I'm planning to open a PR for that. |
Do we still have issues with Ubuntu/Debian packages for arm-none? Ive been using debian stable without issues for the whole year without realizing this was an issue :O Specifically, package |
@twitchyliquid64 Possibly, but I'm not sure. I'm running into issues with cargo-hf2 having invalid binaries (no entrypoint, all symbols at address 0x0) so I assumed it was the compiler, which is what led me to try to update it. The compiler used for the binary in question is
which isn't the latest version. |
My version, which works: [xxx@xxx]:~> arm-none-eabi-gcc --version
arm-none-eabi-gcc (15:7-2018-q2-6) 7.3.1 20180622 (release) [ARM/embedded-7-branch revision 261907]
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
What error are you getting? and what rust version? |
Hope this doesn't take the thread too off-topic given that it involves cargo-hf2. (I'm new to Rust so there's a good chance I have misconfigured something.)
The error is
Upon inspection, the error is generated here, implying an empty byte slice, which would have come from the function Seems to me that something is wrong with the ELF file produced by the cargo invocation. I checked it with radare, and I'm not familiar with ELFs for embedded systems (cargo-hf2 seems to be transforming the ELF before flashing anyway). |
Yeah thats dicey. Could you open another issue for this? I think something might have changed with |
The README suggests:
However,
sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa -y
gives me the error:I went to the page for team-gcc-arm-embedded, which says:
So it seems to be 6 years out of date.
Where should I be getting
arm-none-eabi-gdb
from instead?The text was updated successfully, but these errors were encountered: