Start modifying "usbcdc"

This commit is contained in:
eddyem
2020-04-10 21:04:48 +03:00
parent 100885c113
commit cad59256f6
22 changed files with 1223 additions and 5654 deletions

View File

@@ -8,10 +8,10 @@ MCU = F042x6
# hardware definitions
DEFS += -DUSARTNUM=1
#DEFS += -DCHECK_TMOUT
#DEFS += -DEBUG
DEFS += -DEBUG
# change this linking script depending on particular MCU model,
# for example, if you have STM32F103VBT6, you should write:
LDSCRIPT = ld/stm32f042k.ld
LDSCRIPT = stm32f042k.ld
INDEPENDENT_HEADERS=
@@ -48,9 +48,9 @@ STARTUP = $(OBJDIR)/startup.o
OBJS += $(STARTUP)
DEPS := $(OBJS:.o=.d)
INC_DIR ?= ../../inc
INC_DIR ?= ../inc
INCLUDE := -I$(INC_DIR)/F0 -I$(INC_DIR)/cm
INCLUDE := -I$(INC_DIR)/Fx -I$(INC_DIR)/cm
LIB_DIR := $(INC_DIR)/ld
###############################################################################