reorganization
This commit is contained in:
parent
dd62cd1d62
commit
b01b96ce02
5 changed files with 7 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
1
pwm/common
Symbolic link
|
@ -0,0 +1 @@
|
|||
../common/
|
|
@ -1,3 +1,4 @@
|
|||
#include "gpio.h"
|
||||
#include "pwmclass.h"
|
||||
#include "generator.h"
|
||||
//////////////////////////////////////
|
||||
|
|
Loading…
Reference in a new issue