playground project testing RP2040 (Pico) with SSD1309 2.42" OLED from AliExpress
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pico-ssd1309-test/ufb/Makefile

18 lines
455 B

2 years ago
.PHONY: build run fonts
all: fonts ufb-test
fonts: fontedit_35.c fontedit_45.c fontedit_57.c
tcc -run fontedit_35.c > font_35.inc.c || true
tcc -run fontedit_45.c > font_45.inc.c || true
tcc -run fontedit_57.c > font_57.inc.c || true
run: ufb-test
./ufb-test
clean:
rm -f ufb-test
ufb-test: main.c framebuffer.c framebuffer.h framebuffer_config.h utf8.c utf8.h progmem.h font.c font.h fb_7seg.c fb_7seg.h fb_text.c fb_text.h
$(CC) -o $@ $^ -I.