view bwsplash/Makefile @ 272:edd8482a6576

buzzer driver: set ARMIO_LOAD_TIM to 0 on Pirelli target The Pirelli phone has its vibrator connected to Calypso BU output (no buzzer), and we need to set ARMIO_LOAD_TIM to 0 (instead of a tone frequency divisor for the buzzer) for correct operation of the vibrator.
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 13 Jun 2021 18:43:36 +0000
parents 4d9f24c501f3
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2

all:	bwsplash.c

pbm2c:	pbm2c.c
	${CC} ${CFLAGS} -o $@ $@.c

bwsplash.c:	bwsplash.pbm pbm2c
	./pbm2c bwsplash.pbm $@

clean:
	rm -f pbm2c bwsplash.c