diff --git a/.gitignore b/.gitignore index b8e4dc0..2180bc5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,8 @@ *.bin *.elf *.map +*.a +*.o ch32fun.c ch32fun.h ch32fun.ld diff --git a/Makefile b/Makefile index acc3665..25b983d 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ REV := master BASE := https://raw.githubusercontent.com/cnlohr/ch32v003fun/$(REV) CURL_FLAGS := -O -\# --fail --location --tlsv1.3 --proto =https --max-time 300 -TARGET = blink +TARGET = output TARGET_MCU?=CH32V003 NEWLIB=/usr/arm-none-eabi/include TOOL_PREFIX := riscv32-linux-gnu