diff options
| author | Damien George | 2015-02-21 19:55:57 +0000 |
|---|---|---|
| committer | Damien George | 2015-02-21 19:55:57 +0000 |
| commit | 5ca1f5f9d958d2222e439ca6a34cb8f014ce98d3 (patch) | |
| tree | f7eee0828606d027b1f8343a60df674630807377 /cc3200/application.mk | |
| parent | 49c2ad4fb417b8f0a9d815ff3295fb1af94965f7 (diff) | |
cc3200: Get compiling with CC3100 driver from drivers/ directory.
Diffstat (limited to 'cc3200/application.mk')
| -rw-r--r-- | cc3200/application.mk | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/cc3200/application.mk b/cc3200/application.mk index 25139ecf7..78c50b499 100644 --- a/cc3200/application.mk +++ b/cc3200/application.mk @@ -10,8 +10,8 @@ APP_INC += -Ihal APP_INC += -Ihal/inc APP_INC += -Imisc APP_INC += -Imods +APP_INC += -I../drivers/cc3100/inc APP_INC += -Isimplelink -APP_INC += -Isimplelink/include APP_INC += -Isimplelink/oslib APP_INC += -Itelnet APP_INC += -Iutil @@ -98,15 +98,18 @@ APP_MODS_SRC_C = $(addprefix mods/,\ pybuart.c \ ) +APP_CC3100_SRC_C = $(addprefix drivers/cc3100/src/,\ + device.c \ + driver.c \ + flowcont.c \ + fs.c \ + netapp.c \ + netcfg.c \ + socket.c \ + wlan.c \ + ) + APP_SL_SRC_C = $(addprefix simplelink/,\ - source/device.c \ - source/driver.c \ - source/flowcont.c \ - source/fs.c \ - source/netapp.c \ - source/netcfg.c \ - source/socket.c \ - source/wlan.c \ oslib/osi_freertos.c \ cc_pal.c \ ) @@ -151,7 +154,7 @@ APP_STM_SRC_C = $(addprefix stmhal/,\ ) OBJ = $(PY_O) $(addprefix $(BUILD)/, $(APP_FATFS_SRC_C:.c=.o) $(APP_RTOS_SRC_C:.c=.o) $(APP_FTP_SRC_C:.c=.o) $(APP_HAL_SRC_C:.c=.o) $(APP_MISC_SRC_C:.c=.o)) -OBJ += $(addprefix $(BUILD)/, $(APP_MODS_SRC_C:.c=.o) $(APP_SL_SRC_C:.c=.o) $(APP_TELNET_SRC_C:.c=.o) $(APP_UTIL_SRC_C:.c=.o) $(APP_UTIL_SRC_S:.s=.o)) +OBJ += $(addprefix $(BUILD)/, $(APP_MODS_SRC_C:.c=.o) $(APP_CC3100_SRC_C:.c=.o) $(APP_SL_SRC_C:.c=.o) $(APP_TELNET_SRC_C:.c=.o) $(APP_UTIL_SRC_C:.c=.o) $(APP_UTIL_SRC_S:.s=.o)) OBJ += $(addprefix $(BUILD)/, $(APP_MAIN_SRC_C:.c=.o) $(APP_LIB_SRC_C:.c=.o) $(APP_STM_SRC_C:.c=.o)) OBJ += $(BUILD)/pins.o @@ -163,7 +166,7 @@ LDFLAGS += -T $(LINKER_SCRIPT) CFLAGS += $(APP_CPPDEFINES) $(APP_INC) # Disable strict aliasing for the simplelink driver -$(BUILD)/simplelink/source/driver.o: CFLAGS += -fno-strict-aliasing +$(BUILD)/drivers/cc3100/src/driver.o: CFLAGS += -fno-strict-aliasing # Check if we would like to debug the port code ifeq ($(BTYPE), release) |
