diff --git a/Makefile b/Makefile deleted file mode 100644 index f5634bd..0000000 --- a/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -all : flash - -TARGET:=oled_gol -CH32V003FUN:=../ch32v003fun/ch32v003fun - -include ../ch32v003fun/ch32v003fun/ch32v003fun.mk - -flash : build - gdb-multiarch -x gdbinit -ex 'load' -ex 'detach' -ex 'quit' $(TARGET).elf -clean : cv_clean - diff --git a/gol/Makefile b/gol/Makefile new file mode 100644 index 0000000..69e3dfd --- /dev/null +++ b/gol/Makefile @@ -0,0 +1,11 @@ +all : flash + +TARGET:=gol +CH32V003FUN:=../../ch32v003fun/ch32v003fun + +include ../../ch32v003fun/ch32v003fun/ch32v003fun.mk + +flash : build + gdb-multiarch -x ../gdbinit -ex 'load' -ex 'detach' -ex 'quit' $(TARGET).elf +clean : cv_clean + diff --git a/funconfig.h b/gol/funconfig.h similarity index 100% rename from funconfig.h rename to gol/funconfig.h diff --git a/oled_gol.c b/gol/gol.c similarity index 100% rename from oled_gol.c rename to gol/gol.c diff --git a/ssd1306.h b/gol/ssd1306.h similarity index 100% rename from ssd1306.h rename to gol/ssd1306.h diff --git a/ssd1306_i2c.h b/gol/ssd1306_i2c.h similarity index 100% rename from ssd1306_i2c.h rename to gol/ssd1306_i2c.h