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.
 
 
 
 

23 lines
496 B

  1. OPENOCD ?= /usr/bin/openocd/
  2. OPENOCD_SCRIPTS ?= /usr/share/openocd/scripts
  3. openocd: $(ELF)
  4. $(OPENOCD) -s $(OPENOCD_SCRIPTS) \
  5. -f interface/stlink-v2-1.cfg \
  6. -f target/stm32l4x.cfg \
  7. -c "telnet_port 4444" \
  8. -c "gdb_port 3333"
  9. download: $(ELF)
  10. $(OPENOCD) -s $(OPENOCD_SCRIPTS) \
  11. -f interface/stlink-v2-1.cfg \
  12. -f target/stm32l4x.cfg \
  13. -c "init" \
  14. -c "targets" \
  15. -c "reset halt" \
  16. -c "program $< verify" \
  17. -c "reset run" \
  18. -c "exit"