mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-28 20:58:31 +00:00
Refactor CC3200 example
Move data collection out of main.c PUBLISHED_FROM=0340ebcea62a12275e915f325483603e72ff4183
This commit is contained in:
1 parent
aaf4802d80
commit
4a637a6e9a
6 files changed
+347
-231
No files matched your search
@@ -38,6 +38,7 @@ SDK_FLAGS = -DUSE_FREERTOS -DSL_PLATFORM_MULTI_THREADED
|
||||
|
||||
CFLAGS += -Os -Wall -Werror \
|
||||
$(SDK_FLAGS) -DCS_PLATFORM=4 -DCC3200_FS_SLFS \
|
||||
-DFS_SLFS_MAX_FILE_SIZE=131072 \
|
||||
$(MONGOOSE_FEATURES) $(CFLAGS_EXTRA)
|
||||
|
||||
FW_ELF = $(FW_DIR)/$(PROG).axf
|
||||
@@ -101,7 +102,8 @@ VPATH += $(SDK_PATH)/driverlib $(SDK_PATH)/example/common $(SDK_PATH)/oslib \
|
||||
$(SDK_PATH)/third_party/FreeRTOS/source/portable/GCC/ARM_CM4 \
|
||||
$(SDK_PATH)/third_party/FreeRTOS/source/portable/MemMang \
|
||||
|
||||
APP_SRCS = main.c bm222.c tmp006.c mongoose.c $(CC3200_PLATFORM_SRCS) $(SDK_SRCS)
|
||||
APP_SRCS = main.c bm222.c data.c mongoose.c tmp006.c wifi.c \
|
||||
$(CC3200_PLATFORM_SRCS) $(SDK_SRCS)
|
||||
APP_OBJS = $(addprefix $(OBJDIR)/,$(patsubst %.c,%.o,$(APP_SRCS)))
|
||||
|
||||
$(FW_ELF): $(APP_OBJS)
|
||||
|
||||
Reference in new issue
Block a user