reorganization

This commit is contained in:
Kizarm 2024-03-02 15:44:43 +01:00
parent dd62cd1d62
commit b01b96ce02
5 changed files with 7 additions and 4 deletions

View file

@ -1,5 +1,8 @@
# Use clang / llvm toolchain
# zatim blbost
# Zatím není podporováno - problém :
# E: RV32I subset, only 16 general-purpose registers supported
# v clang není korektně implementováno.
#
CC = clang
CXX = clang++
LD = ld.lld

View file

@ -1,8 +1,6 @@
# ch32v003
TARGET?= ch32v003
TOOL ?= gcc
#TOOL ?= clang
PRJ = example
@ -14,7 +12,7 @@ LDLIBS =
BFLAGS = --strip-unneeded
CFLAGS = -MMD -Wall -ggdb -fno-exceptions -ffunction-sections -fdata-sections
CFLAGS+= -I. -I./$(TARGET) -I/usr/include/newlib
CFLAGS+= -I. -I./common -I./$(TARGET) -I/usr/include/newlib
DEL = rm -f
# zdrojaky

1
pwm/common Symbolic link
View file

@ -0,0 +1 @@
../common/

View file

@ -1,3 +1,4 @@
#include "gpio.h"
#include "pwmclass.h"
#include "generator.h"
//////////////////////////////////////