Nokia 5110/3310 LCD with PCD8544 controller driver.
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.
 
 
 

22 lines
496 B

OPENOCD ?= /usr/bin/openocd/
OPENOCD_SCRIPTS ?= /usr/share/openocd/scripts
openocd: $(ELF)
$(OPENOCD) -s $(OPENOCD_SCRIPTS) \
-f interface/stlink-v2-1.cfg \
-f target/stm32l4x.cfg \
-c "telnet_port 4444" \
-c "gdb_port 3333"
download: $(ELF)
$(OPENOCD) -s $(OPENOCD_SCRIPTS) \
-f interface/stlink-v2-1.cfg \
-f target/stm32l4x.cfg \
-c "init" \
-c "targets" \
-c "reset halt" \
-c "program $< verify" \
-c "reset run" \
-c "exit"