@@ -17,7 +17,7 @@ SET(CMAKE_STATIC_LIBRARY_SUFFIX)
1717SET (CMAKE_EXECUTABLE_LIBRARY_PREFIX)
1818SET (CMAKE_EXECUTABLE_LIBRARY_SUFFIX)
1919
20-
20+
2121# CURRENT DIRECTORY
2222SET (ProjDirPath ${CMAKE_CURRENT_SOURCE_DIR} )
2323
@@ -34,7 +34,7 @@ SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -g -mcpu=cortex-m0plus -mt
3434SET (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -g -mcpu=cortex-m0plus -mthumb -MMD -MP -Wall -fno-common -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -Os -mapcs -std=gnu99 -fshort-enums" )
3535
3636# DEBUG LD FLAGS
37- SET (CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -g --specs=nano.specs -lm -Wall -fno-common -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -Os -mthumb -mapcs -Xlinker --gc-sections -Xlinker -static -Xlinker -z -Xlinker muldefs -Xlinker --defsym=__stack_size__=0x200 -Xlinker --defsym=__heap_size__=0x100 " )
37+ SET (CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -g --specs=nano.specs -lm -Wall -fno-common -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -Os -mthumb -mapcs -Xlinker --gc-sections -Xlinker -static -Xlinker -z -Xlinker muldefs -Xlinker --defsym=__stack_size__=0x200 -Xlinker --defsym=__heap_size__=0x50 " )
3838
3939# RELEASE ASM FLAGS
4040SET (CMAKE_ASM_FLAGS_RELEASE "${CMAKE_ASM_FLAGS_RELEASE} -mcpu=cortex-m0plus -mthumb -Wall -fno-common -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -Os -mapcs -std=gnu99" )
@@ -43,7 +43,7 @@ SET(CMAKE_ASM_FLAGS_RELEASE "${CMAKE_ASM_FLAGS_RELEASE} -mcpu=cortex-m0plus -mt
4343SET (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -mcpu=cortex-m0plus -mthumb -MMD -MP -Wall -fno-common -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -Os -mapcs -std=gnu99 -fshort-enums" )
4444
4545# RELEASE LD FLAGS
46- SET (CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} --specs=nano.specs -lm -Wall -fno-common -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -Os -mthumb -mapcs -Xlinker --gc-sections -Xlinker -static -Xlinker -z -Xlinker muldefs -Xlinker --defsym=__stack_size__=0x200 -Xlinker --defsym=__heap_size__=0x100 " )
46+ SET (CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} --specs=nano.specs -lm -Wall -fno-common -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -Os -mthumb -mapcs -Xlinker --gc-sections -Xlinker -static -Xlinker -z -Xlinker muldefs -Xlinker --defsym=__stack_size__=0x200 -Xlinker --defsym=__heap_size__=0x50 " )
4747
4848# ASM MACRO
4949SET (CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -DDEBUG" )
@@ -89,6 +89,22 @@ ADD_EXECUTABLE(Warp
8989 "${ProjDirPath} /../../../../platform/startup/MKL03Z4/gcc/startup_MKL03Z4.S"
9090 "${ProjDirPath} /../../src/warp-kl03-ksdk1.1-boot.c"
9191 "${ProjDirPath} /../../src/warp-kl03-ksdk1.1-powermodes.c"
92+ "${ProjDirPath} /../../src/devBMX055.c"
93+ "${ProjDirPath} /../../src/devADXL362.c"
94+ "${ProjDirPath} /../../src/devMMA8451Q.c"
95+ "${ProjDirPath} /../../src/devLPS25H.c"
96+ "${ProjDirPath} /../../src/devHDC1000.c"
97+ "${ProjDirPath} /../../src/devMAG3110.c"
98+ "${ProjDirPath} /../../src/devSI7021.c"
99+ "${ProjDirPath} /../../src/devL3GD20H.c"
100+ "${ProjDirPath} /../../src/devBME680.c"
101+ "${ProjDirPath} /../../src/devTCS34725.c"
102+ "${ProjDirPath} /../../src/devSI4705.c"
103+ "${ProjDirPath} /../../src/devCCS811.c"
104+ "${ProjDirPath} /../../src/devAMG8834.c"
105+ "${ProjDirPath} /../../src/devPAN1326.c"
106+ "${ProjDirPath} /../../src/devAS7262.c"
107+ "${ProjDirPath} /../../src/devAS7263.c"
92108 "${ProjDirPath} /../../src/SEGGER_RTT.c"
93109 "${ProjDirPath} /../../src/SEGGER_RTT_printf.c"
94110 "${ProjDirPath} /../../../../platform/drivers/src/i2c/fsl_i2c_irq.c"
0 commit comments