me-no-dev / RasPiArduino

Arduino Framework for RaspberryPI
332 stars 75 forks source link

No compatible with Raspberry pi Zero W 2 #124

Open matyasf opened 2 years ago

matyasf commented 2 years ago

When I try to compile a program for the Pi Zero W 2 it refuses to run with the error UNKNOWN_REVISION: 0x00902120, MODEL: 0xFFFFFFFF the revision mentioned is the revision of the Zero W 2.

Which is understandable since the last commit was in 2019, 2 years before the Zero W 2 was released.

faxm0dem commented 2 years ago

As the readme states it clearly, this project Includes raspberry_pi_revision from Andrew Duncan. Apparently the latter is now compatible with the zero W 2 so I'm guessing that it will work if you just grab raspberry_pi_revision.h and raspberry_pi_revision.c from the latter and place it into cores/piduino