mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-19 11:09:42 +00:00
Nit - LFS include path
This commit is contained in:
1 parent
883e0a981f
commit
8e0c765c2c
4 files changed
+6
-7
No files matched your search
@@ -59,14 +59,13 @@ target_sources(${CMAKE_PROJECT_NAME} PRIVATE
|
||||
|
||||
${CMAKE_SOURCE_DIR}/littlefs/lfs.c
|
||||
${CMAKE_SOURCE_DIR}/littlefs/lfs_util.c
|
||||
# ${CMAKE_SOURCE_DIR}/littlefs/retarget_lfs.c
|
||||
)
|
||||
|
||||
# Add include paths
|
||||
target_include_directories(${CMAKE_PROJECT_NAME} PRIVATE
|
||||
# Add user defined include paths
|
||||
${CMAKE_SOURCE_DIR}/mongoose/
|
||||
${CMAKE_SOURCE_DIR}/
|
||||
${CMAKE_SOURCE_DIR}/littlefs/
|
||||
${CMAKE_SOURCE_DIR}/../../../..
|
||||
)
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ MGDIR = ../../../..
|
||||
CFLAGS = -W -Wall -Wextra -Wundef -Wshadow -Wdouble-promotion
|
||||
CFLAGS += -Wformat-truncation -fno-common -Wconversion -Wno-sign-conversion
|
||||
CFLAGS += -g3 -Os -ffunction-sections -fdata-sections
|
||||
CFLAGS += -I. -I$(MGDIR) -Icmsis_core/CMSIS/Core/Include -Icmsis_h5/Include -Imongoose
|
||||
CFLAGS += -I. -I$(MGDIR) -Icmsis_core/CMSIS/Core/Include -Icmsis_h5/Include -Imongoose -Ilittlefs
|
||||
CFLAGS += -mcpu=cortex-m33 -mthumb -mfpu=fpv5-sp-d16 -mfloat-abi=hard $(CFLAGS_EXTRA)
|
||||
LDFLAGS ?= -Tlink.ld -nostdlib -nostartfiles --specs nosys.specs -lc -lgcc -Wl,--gc-sections -Wl,-Map=$@.map
|
||||
|
||||
|
||||
Reference in new issue
Block a user