From fb0351cfe6f016f03f04748afd71865c9ac6922e Mon Sep 17 00:00:00 2001 From: CrispyPin Date: Sun, 7 Apr 2024 13:06:09 +0200 Subject: [PATCH] reorganise repo --- Makefile | 11 ----------- gol/Makefile | 11 +++++++++++ funconfig.h => gol/funconfig.h | 0 oled_gol.c => gol/gol.c | 0 ssd1306.h => gol/ssd1306.h | 0 ssd1306_i2c.h => gol/ssd1306_i2c.h | 0 6 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 Makefile create mode 100644 gol/Makefile rename funconfig.h => gol/funconfig.h (100%) rename oled_gol.c => gol/gol.c (100%) rename ssd1306.h => gol/ssd1306.h (100%) rename ssd1306_i2c.h => gol/ssd1306_i2c.h (100%) 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