The build constraint in encoders/quadrature_interrupt.go lists esp32c3 but not esp32, esp32s3, or esp32c6.
|
//go:build tinygo && (rp2040 || rp2350 || stm32 || k210 || esp32c3 || nrf || sam || (avr && (atmega328p || atmega328pb))) |
|
|
|
// Implementation based on: |
|
// https://gist.github.com/aykevl/3fc1683ed77bb0a9c07559dfe857304a |
|
|
|
// Note: build constraints in this file list targets that define machine.PinToggle. |
|
// If this is supported for additional targets in the future, they can be added above. |
All three of these chips define machine.PinToggle.
The build constraint in
encoders/quadrature_interrupt.golistsesp32c3but notesp32,esp32s3, oresp32c6.drivers/encoders/quadrature_interrupt.go
Lines 1 to 7 in 3b4cdec
All three of these chips define
machine.PinToggle.