Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 131: Add BNO055, RF430CL331H, update BME680, IS25xp #132

Merged
merged 10 commits into from
Jul 30, 2024
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ warp:
cp src/boot/ksdk1.1.0/devSI7021.* build/ksdk1.1/work/demos/Warp/src/
cp src/boot/ksdk1.1.0/devL3GD20H.* build/ksdk1.1/work/demos/Warp/src/
cp src/boot/ksdk1.1.0/devBME680.* build/ksdk1.1/work/demos/Warp/src/
cp src/boot/ksdk1.1.0/devRF430CL331H.* build/ksdk1.1/work/demos/Warp/src/
cp src/boot/ksdk1.1.0/devBNO055.* build/ksdk1.1/work/demos/Warp/src/
cp src/boot/ksdk1.1.0/devTCS34725.* build/ksdk1.1/work/demos/Warp/src/
cp src/boot/ksdk1.1.0/devSI4705.* build/ksdk1.1/work/demos/Warp/src/
cp src/boot/ksdk1.1.0/devCCS811.* build/ksdk1.1/work/demos/Warp/src/
Expand Down Expand Up @@ -67,6 +69,8 @@ glaux:
cp src/boot/ksdk1.1.0/CMakeLists-Glaux.txt build/ksdk1.1/work/demos/Glaux/armgcc/Glaux/CMakeLists.txt
cp src/boot/ksdk1.1.0/devIS25xP.* build/ksdk1.1/work/demos/Glaux/src/
cp src/boot/ksdk1.1.0/devRV8803C7.* build/ksdk1.1/work/demos/Glaux/src/
cp src/boot/ksdk1.1.0/devRF430CL331H.* build/ksdk1.1/work/demos/Glaux/src/
cp src/boot/ksdk1.1.0/devBNO055.* build/ksdk1.1/work/demos/Glaux/src/
cp src/boot/ksdk1.1.0/devBME680.* build/ksdk1.1/work/demos/Glaux/src/
cp src/boot/ksdk1.1.0/devADXL362.h build/ksdk1.1/work/demos/Glaux/src/
cp src/boot/ksdk1.1.0/devAMG8834.h build/ksdk1.1/work/demos/Glaux/src/
Expand Down
2 changes: 1 addition & 1 deletion setup.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
JLINKPATH = <full path to JLink binary>
ARMGCC_DIR = /usr/
ARMGCC_DIR = /usr/
2 changes: 2 additions & 0 deletions src/boot/ksdk1.1.0/CMakeLists-Glaux.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ ADD_EXECUTABLE(Glaux
"${ProjDirPath}/../../src/powermodes.c"
"${ProjDirPath}/../../src/devIS25xP.c"
"${ProjDirPath}/../../src/devBME680.c"
"${ProjDirPath}/../../src/devBNO055.c"
"${ProjDirPath}/../../src/devRF430CL331H.c"
"${ProjDirPath}/../../src/devRV8803C7.c"
"${ProjDirPath}/../../src/SEGGER_RTT.c"
"${ProjDirPath}/../../src/SEGGER_RTT_printf.c"
Expand Down
5 changes: 3 additions & 2 deletions src/boot/ksdk1.1.0/CMakeLists-Warp.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -g -mcpu=cortex-m0plus -mt
SET(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")

# DEBUG LD FLAGS
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__=0x300 -Xlinker --defsym=__heap_size__=0x0")
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__=0x0")

# RELEASE ASM FLAGS
SET(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")
Expand All @@ -43,7 +43,7 @@ SET(CMAKE_ASM_FLAGS_RELEASE "${CMAKE_ASM_FLAGS_RELEASE} -mcpu=cortex-m0plus -mt
SET(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")

# RELEASE LD FLAGS
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__=0x300 -Xlinker --defsym=__heap_size__=0x0")
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__=0x0")

# ASM MACRO
SET(CMAKE_ASM_FLAGS_DEBUG "${CMAKE_ASM_FLAGS_DEBUG} -DDEBUG")
Expand Down Expand Up @@ -91,6 +91,7 @@ ADD_EXECUTABLE(Warp
"${ProjDirPath}/../../src/errstrsEN.c"
"${ProjDirPath}/../../src/powermodes.c"
"${ProjDirPath}/../../src/devBMX055.c"
"${ProjDirPath}/../../src/devBNO055.c"
"${ProjDirPath}/../../src/devADXL362.c"
"${ProjDirPath}/../../src/devIS25xP.c"
"${ProjDirPath}/../../src/devISL23415.c"
Expand Down
Loading
Loading