Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPC code @dhylands @fdesre #5

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
11 changes: 9 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,11 @@ DRIVERLIB = $(SDK_PATH)/driverlib
OSLIB = $(SDK_PATH)/oslib
FREERTOS = $(SDK_PATH)/third_party/FreeRTOS
COMMON = $(SDK_PATH)/example/common
STR = external/str

CPPFLAGS += $(DEFINES) $(INC)
CFLAGS += -ffunction-sections -fdata-sections -Wall -std=c11
CXXFLAGS += -ffunction-sections -fdata-sections -Wall
CFLAGS += -Os -ffunction-sections -fdata-sections -Wall -std=c11
CXXFLAGS += -Os -ffunction-sections -fdata-sections -Wall

INC += -I$(SDK_PATH)
INC += -I$(SDK_PATH)/inc
Expand All @@ -63,13 +64,15 @@ INC += -I$(FREERTOS)/source
INC += -I$(FREERTOS)/source/include
INC += -I$(FREERTOS)/source/portable/GCC/ARM_CM4
INC += -I$(COMMON)
INC += -I$(STR)

LIBS =

OBJDIR ?= obj

OBJ := $(addprefix $(OBJDIR)/src/, \
ApplicationHooks.o \
FormattedIO.o \
IPCQueue.o \
main.o \
pinmux.o \
Expand Down Expand Up @@ -123,6 +126,10 @@ OBJ += $(addprefix $(OBJDIR)/$(DRIVERLIB)/, \
wdt.o \
)

OBJ += $(addprefix $(OBJDIR)/$(STR)/, \
StrPrintf.o \
)

.PHONY: all
all: $(TARGET)

Expand Down
Loading