host_bios: Update platform handling for board
authorSam Nelson <sam.nelson@ti.com>
Thu, 16 Feb 2017 22:43:18 +0000 (17:43 -0500)
committerSam 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
host_bios/simple_buffer_example/host/makefile

index ec09d67bf392910696fe80183aafd704cfb4d4f7..6d4efe0347ccfc8c76ae4a062bf88fe3a5c25d6c 100644 (file)
@@ -111,7 +111,7 @@ Void App_taskFxn(UArg arg0, UArg arg1)
     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
     ;
index 0ecc120d2236278bf85a5240d75ccee11dfd860b..4c1626e584047768507290362bb9206f6bb681c8 100644 (file)
@@ -118,7 +118,7 @@ LD = $(gnu.targets.arm.A15F)/bin/arm-none-eabi-gcc
 
 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