bigtreetech / CB1

OS System image for CB1
369 stars 62 forks source link

Waveshare CANHAT compatibility #31

Open shogowarrior opened 2 years ago

shogowarrior commented 2 years ago

How do I install CANHAT from waveshare on CB1. I believe it needs

dtparam=spi=on
dtoverlay=mcp2515-can0,oscillator=12000000,interrupt=25,spimaxfrequency=1000000

but not sure how to get the overlays working for this build.

PeterHouseJr commented 2 years ago

Also trying to accomplish the same thing.

Where are device overlays installed on the CB1?

tnap1979 commented 2 years ago

Spi doesn't work on cb1 from what I believe.. And neither does wifi... lmao Such a wasted product line

frutabruta commented 2 years ago

Spi doesn't work on cb1 from what I believe.. And neither does wifi... lmao Such a wasted product line

SPI does work, but it can only be used for ADXL345 so far. Wi-fi does work too, with the 2.1.2 firmware and nondefective board.

tnap1979 commented 2 years ago

Yea, I finally got a fixed version cb1 with the new ldo regulator yesterday, got it setup lastnight on the latest slim image... so gar so good..

shogowarrior commented 2 years ago

That's great to know! WiFi has been working without any issues for me but not sure how to setup overlays. I wish they had a generic armbian build than the custom one

emersonsc commented 2 years ago

Spi doesn't work on cb1 from what I believe.. And neither does wifi... lmao Such a wasted product line

SPI does work, but it can only be used for ADXL345 so far. Wi-fi does work too, with the 2.1.2 firmware and nondefective board.

Ok... How? And using BTT image?

frutabruta commented 2 years ago

Spi doesn't work on cb1 from what I believe.. And neither does wifi... lmao Such a wasted product line

SPI does work, but it can only be used for ADXL345 so far. Wi-fi does work too, with the 2.1.2 firmware and nondefective board.

Ok... How? And using BTT image?

https://github.com/bigtreetech/CB1/discussions/9#discussioncomment-3541418