djphazer / O_C-Phazerville

The kitchen sink of O_C firmware - do all the things!
http://firmware.phazerville.com/
237 stars 35 forks source link

Add SPI DAC8568 and SPI1 OLED and FlexIO ADC33131 options for Teensy 4.1 #39

Closed PaulStoffregen closed 9 months ago

djphazer commented 9 months ago

Continuous Integration is already helping us out - https://github.com/PaulStoffregen/O_C-Phazerville/actions/runs/7249435304/job/19747402258#step:7:59 Looks like a small oversight broke the Teensy 4.0 build. Probably an ifdef somewhere... maybe I can sort it out when I merge. Meanwhile, keep working on ADC, and feel free to add more commits to this PR.

PaulStoffregen commented 9 months ago

Opps!

Added ifdefs to fix. https://github.com/djphazer/O_C-BenisphereSuite/pull/39/commits/706194b2bc6494edb54b37bbe1480701b24c4004

djphazer commented 9 months ago

Merging this after testing... one small tweak to follow - the original UP and DOWN button pin mappings are swapped. I'll have to take care of FLIP_180 on Teensy 4.1 later; I want it to be a runtime option anyway.