Skip to content
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

Cross compiling on a Raspberry Pi... #63

Open
dl9sec opened this issue Nov 27, 2020 · 0 comments
Open

Cross compiling on a Raspberry Pi... #63

dl9sec opened this issue Nov 27, 2020 · 0 comments

Comments

@dl9sec
Copy link

dl9sec commented Nov 27, 2020

Hi,

building the stuff on a Raspberry Pi 3 "Buster" works very well.
I don't use the toolchain from the Raspbian repo (2018-q2), but a more recent (9-2020-q1-update) and well working precompiled toolchain from https://github.com/vanbwodonk/gcc-arm-embedded-build-armhf.
I used the following lines to install the toolchain:

wget https://github.com/vanbwodonk/gcc-arm-embedded-build-armhf/releases/download/9-2019-q4-major/gcc-arm-none-eabi-9-2020-q1-update-armv7l-linux.tar.bz2
tar -xvf gcc-arm-none-eabi-9-2020-q1-update-armv7l-linux.tar.bz2
sudo cp -r gcc-arm-none-eabi-9-2020-q1-update/* /usr/local/
sudo rm -r gcc-arm-none-eabi-9-2020-q1-update

Additionally I added the following line at the end of ~/.profile:

PATH=/usr/local/usr/local/arm-none-eabi/bin:$PATH

My first build attempt works well without errors, but the firmware doesn't run ("white-screen"). So I had to do a

git reset --hard

at "/NanoVNA-V2-firmware" to align the sources.

Hope this helps if someone want to cross compile on a RasPi...

Regards, Thorsten

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant