From de50344e0b16919d4029e58ee4c7a2fbb952c89b Mon Sep 17 00:00:00 2001 From: Balazs Racz Date: Fri, 6 May 2022 18:38:57 +0200 Subject: [PATCH] Adds missing makefiles in build directory. --- .../freertos_drivers/tivadriverlib/Makefile | 11 ++++++++ .../freertos_drivers/tivausblib/Makefile | 12 ++++++++ .../tivausblib/device/Makefile | 9 ++++++ .../freertos_drivers/tivausblib/host/Makefile | 9 ++++++ .../freertos_drivers/spiffs_tm4c123/Makefile | 2 ++ .../freertos_drivers/spiffs_tm4c123/sources | 28 +++++++++++++++++++ 6 files changed, 71 insertions(+) create mode 100644 targets/bare.armv7m/freertos_drivers/tivadriverlib/Makefile create mode 100644 targets/bare.armv7m/freertos_drivers/tivausblib/Makefile create mode 100644 targets/bare.armv7m/freertos_drivers/tivausblib/device/Makefile create mode 100644 targets/bare.armv7m/freertos_drivers/tivausblib/host/Makefile create mode 100644 targets/freertos.armv7m/freertos_drivers/spiffs_tm4c123/Makefile create mode 100644 targets/freertos.armv7m/freertos_drivers/spiffs_tm4c123/sources diff --git a/targets/bare.armv7m/freertos_drivers/tivadriverlib/Makefile b/targets/bare.armv7m/freertos_drivers/tivadriverlib/Makefile new file mode 100644 index 000000000..23673c838 --- /dev/null +++ b/targets/bare.armv7m/freertos_drivers/tivadriverlib/Makefile @@ -0,0 +1,11 @@ +OPENMRNPATH ?= $(realpath ../../../..) + +DEPS += TIVAWAREPATH +include $(OPENMRNPATH)/etc/tivaware.mk +VPATH := $(TIVAWAREPATH)/driverlib + +include $(OPENMRNPATH)/etc/lib.mk + +CFLAGS += -Dgcc + +emac.o : CFLAGS += -Wno-address-of-packed-member diff --git a/targets/bare.armv7m/freertos_drivers/tivausblib/Makefile b/targets/bare.armv7m/freertos_drivers/tivausblib/Makefile new file mode 100644 index 000000000..65ddb2bbd --- /dev/null +++ b/targets/bare.armv7m/freertos_drivers/tivausblib/Makefile @@ -0,0 +1,12 @@ +OPENMRNPATH ?= $(realpath ../../../..) + +DEPS += TIVAWAREPATH +include $(OPENMRNPATH)/etc/tivaware.mk +VPATH := $(TIVAWAREPATH)/usblib + +include $(OPENMRNPATH)/etc/lib.mk +CFLAGS += -Dcodered + +SUBDIRS = device host +include $(OPENMRNPATH)/etc/recurse.mk + diff --git a/targets/bare.armv7m/freertos_drivers/tivausblib/device/Makefile b/targets/bare.armv7m/freertos_drivers/tivausblib/device/Makefile new file mode 100644 index 000000000..3c65be4ce --- /dev/null +++ b/targets/bare.armv7m/freertos_drivers/tivausblib/device/Makefile @@ -0,0 +1,9 @@ +OPENMRNPATH ?= $(realpath ../../../../..) + +DEPS += TIVAWAREPATH +include $(OPENMRNPATH)/etc/tivaware.mk +VPATH := $(TIVAWAREPATH)/usblib/device + +include $(OPENMRNPATH)/etc/lib.mk +CFLAGS += -Dcodered + diff --git a/targets/bare.armv7m/freertos_drivers/tivausblib/host/Makefile b/targets/bare.armv7m/freertos_drivers/tivausblib/host/Makefile new file mode 100644 index 000000000..c29be4ec5 --- /dev/null +++ b/targets/bare.armv7m/freertos_drivers/tivausblib/host/Makefile @@ -0,0 +1,9 @@ +OPENMRNPATH ?= $(realpath ../../../../..) + +DEPS += TIVAWAREPATH +include $(OPENMRNPATH)/etc/tivaware.mk +VPATH := $(TIVAWAREPATH)/usblib/host + +include $(OPENMRNPATH)/etc/lib.mk +CFLAGS += -Dcodered + diff --git a/targets/freertos.armv7m/freertos_drivers/spiffs_tm4c123/Makefile b/targets/freertos.armv7m/freertos_drivers/spiffs_tm4c123/Makefile new file mode 100644 index 000000000..72e52af15 --- /dev/null +++ b/targets/freertos.armv7m/freertos_drivers/spiffs_tm4c123/Makefile @@ -0,0 +1,2 @@ +OPENMRNPATH ?= $(realpath ../../../..) +include $(OPENMRNPATH)/etc/lib.mk diff --git a/targets/freertos.armv7m/freertos_drivers/spiffs_tm4c123/sources b/targets/freertos.armv7m/freertos_drivers/spiffs_tm4c123/sources new file mode 100644 index 000000000..96f098066 --- /dev/null +++ b/targets/freertos.armv7m/freertos_drivers/spiffs_tm4c123/sources @@ -0,0 +1,28 @@ +DEPS += SPIFFSPATH +DEPS += TICC3220SDKPATH + +VPATH := $(SPIFFSPATH)/src: \ + $(OPENMRNPATH)/src/freertos_drivers/spiffs: \ + $(OPENMRNPATH)/src/freertos_drivers/spiffs/cc32x0sf + +CSRCS += spiffs_cache.c \ + spiffs_check.c \ + spiffs_gc.c \ + spiffs_hydrogen.c \ + spiffs_nucleus.c \ + spiffs_nucleus.c \ + +CXXSRCS += SPIFFS.cxx \ + CC32x0SFSPIFFS.cxx + + +INCLUDES += -I$(SPIFFSPATH)/src \ + -I$(OPENMRNPATH)/src/freertos_drivers/spiffs \ + -I$(OPENMRNPATH)/src/freertos_drivers/spiffs/cc32x0sf \ + -I$(TICC3220SDKPATH)/source/ti/devices/cc32xx \ + -I$(TICC3220SDKPATH)/source/ti/devices/cc32xx/driverlib \ + +CFLAGS += -DNO_TEST + +CXXFLAGS += +