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

hi! Could you also make it pi5 compatible too? #195

Open
despauterio opened this issue Feb 27, 2024 · 5 comments
Open

hi! Could you also make it pi5 compatible too? #195

despauterio opened this issue Feb 27, 2024 · 5 comments
Labels

Comments

@despauterio
Copy link

hi! Thanks.
Could you eventually also make it pi5 compatible too?
I could try and test it if it helps obviously :)
seems to run fine on Pi4b, and thanks for that!

@notluca
Copy link

notluca commented Feb 27, 2024

yup same issue
! my pi4 broke so we switched to pi5.. sadly cant fm transmit..

@ChristopheJacquet
Copy link
Owner

I don't have a RPi 5 to test unfortunately... Just checking: when you run make, do the gcc lines have -DRASPI=4, meaning it's trying to compile with the same settings as on a RPi 4?

@despauterio
Copy link
Author

despauterio commented Mar 2, 2024

true!
"gcc -Wall -std=gnu99 -c -g -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -ffast-math -DRASPI=4 mailbox.c"
will try with your new tag!!

I just tried and it still uses 4 and I got this answer that may help:
(cat /proc/device-tree/model)
Raspberry Pi 5 Model B Rev 1.0

:)

@GYKgamer
Copy link

GYKgamer commented Mar 2, 2024

Trying to run on the raspberry pi 5 leads to this error:
image

@notluca
Copy link

notluca commented Mar 2, 2024

I don't have a RPi 5 to test unfortunately... Just checking: when you run make, do the gcc lines have -DRASPI=4, meaning it's trying to compile with the same settings as on a RPi 4?

That is correct, I figurerd out RPI5 has a new chip got GPIO,IS2 etc.. It's called "RP1". If you need a tester for the RPI5, you can contact me on @notlucadev on discord.

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

No branches or pull requests

4 participants