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

Update -march definition on RPi (BCM2835) #565

Merged
merged 1 commit into from
Jan 26, 2020
Merged

Conversation

CoRfr
Copy link
Contributor

@CoRfr CoRfr commented Jan 26, 2020

Cross-compiling using arm-linux-gnueabihf-gcc 7.4.0 resulted in the following error:

sorry, unimplemented: Thumb-1 hard-float VFP ABI

It seems that using -march=armv6 or -march=armv6zk with armhf results in
this error, while it works fine with -marm .

@Avamander
Copy link
Member

Just prepending -marm to the parameters doesn't allow compiling already?

@CoRfr
Copy link
Contributor Author

CoRfr commented Jan 26, 2020

Seems like it works yes, I tried at https://github.com/CoRfr/RF24/pull/2/checks?check_run_id=409818439 , I'm gonna update this PR.

Cross-compiling using arm-linux-gnueabihf-gcc 7.4.0 resulted in the following error:
sorry, unimplemented: Thumb-1 hard-float VFP ABI

It seems that not using -marm with armhf results in this error,
while it works fine with -marm .
@Avamander Avamander merged commit 9f41849 into nRF24:master Jan 26, 2020
@Avamander
Copy link
Member

Thanks for this PR!

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

Successfully merging this pull request may close these issues.

2 participants