summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8052d75)
raw | patch | inline | side by side (parent: 8052d75)
author | Sam Nelson <sam.nelson@ti.com> | |
Thu, 16 Feb 2017 22:43:18 +0000 (17:43 -0500) | ||
committer | Sam Nelson <sam.nelson@ti.com> | |
Thu, 16 Feb 2017 22:43:18 +0000 (17:43 -0500) |
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
host_bios/simple_buffer_example/host/MainHost.c | patch | blob | history | |
host_bios/simple_buffer_example/host/makefile | patch | blob | history |
diff --git a/host_bios/simple_buffer_example/host/MainHost.c b/host_bios/simple_buffer_example/host/MainHost.c
index ec09d67bf392910696fe80183aafd704cfb4d4f7..6d4efe0347ccfc8c76ae4a062bf88fe3a5c25d6c 100644 (file)
boardCfg = BOARD_INIT_UNLOCK_MMR
| BOARD_INIT_UART_STDIO
| BOARD_INIT_MODULE_CLOCK
-#if !defined(k2e) && !defined(C6678)
+#if ((!defined(PLATFORM_66AK2E)) && (!defined(PLATFORM_C6678)))
| BOARD_INIT_PINMUX_CONFIG
#endif
;
diff --git a/host_bios/simple_buffer_example/host/makefile b/host_bios/simple_buffer_example/host/makefile
index 0ecc120d2236278bf85a5240d75ccee11dfd860b..4c1626e584047768507290362bb9206f6bb681c8 100644 (file)
CPPFLAGS = -Dfar= -D__DYNAMIC_REENT__
CFLAGS = -Wall -Wunused -Wunknown-pragmas -ffunction-sections -fdata-sections $(CCPROFILE_$(PROFILE)) @$(CONFIG)/compiler.opt -I.
-CFLAGS += -DSERVER=\"$(SERVER)\"
+CFLAGS += -DSERVER=\"$(SERVER)\" -DPLATFORM_$(PLATFORM)
LDFLAGS = $(LDPROFILE_$(PROFILE)) -mfloat-abi=hard -nostartfiles -Wl,-static -Wl,--gc-sections -Wl,-Map=$(@D)/obj/$(@F).map
LDLIBS = -L$(BIOS_INSTALL_DIR)/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu