diff options
| author | Jim Mussared <jim.mussared@gmail.com> | 2021-08-10 01:09:04 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2021-08-19 22:50:11 +1000 |
| commit | 870000f35b2d278bd759c54ac59e2f97fcdc7dfd (patch) | |
| tree | fb008534c294d3571320e5db25059a3a310dbd32 /extmod/extmod.cmake | |
| parent | 226c0341ca78086b98f802d26f61220a2c19ffef (diff) | |
extmod: Add machine.bitstream.
This is a generic API for synchronously bit-banging data on a pin.
Initially this adds a single supported encoding, which supports controlling
WS2812 LEDs.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'extmod/extmod.cmake')
| -rw-r--r-- | extmod/extmod.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extmod/extmod.cmake b/extmod/extmod.cmake index 9ea2ba0af..c6b45b0d3 100644 --- a/extmod/extmod.cmake +++ b/extmod/extmod.cmake @@ -6,6 +6,7 @@ set(MICROPY_OOFATFS_DIR "${MICROPY_DIR}/lib/oofatfs") set(MICROPY_SOURCE_EXTMOD ${MICROPY_DIR}/shared/libc/abort_.c ${MICROPY_DIR}/shared/libc/printf.c + ${MICROPY_EXTMOD_DIR}/machine_bitstream.c ${MICROPY_EXTMOD_DIR}/machine_i2c.c ${MICROPY_EXTMOD_DIR}/machine_mem.c ${MICROPY_EXTMOD_DIR}/machine_pulse.c |
