Mercurial > ~darius > hgwebdir.cgi > modulator
view q/makefile @ 28:600a394629e6
Use 8 bit auto pull otherwise the PIOs jitter (due to DMA contention I guess?)
Don't need to unroll the PIO loops.
Create PIo function to reset each PIO.
Check the DMA IRQ is for us - we get unknown IRQs which need to be ignored or things break.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Thu, 27 Feb 2025 13:58:37 +1030 |
parents | 388074ff9474 |
children |
line wrap: on
line source
QVERSION=0x000902 CFLAGS=-std=c99 -Wall -Wextra -O2 -pedantic -fwrapv -DQVERSION=${QVERSION} -Wmissing-prototypes CC=cc TARGET=q RM=rm -fv AR=ar RANLIB=ranlib .PHONY: all run clean all: ${TARGET} expr run: test ${TARGET} t.q ./${TARGET} t.q test: ${TARGET} ./${TARGET} -t q.o: q.c q.h lib${TARGET}.a: q.o ${AR} rcs $@ $< ${RANLIB} $@ check: *.c *.h cppcheck --enable=all *.c *.h ${TARGET}: lib${TARGET}.a t.o expr: lib${TARGET}.a expr.o clean: git clean -dffx