Skip to content

Commit 17bb733

Browse files
author
j-iglesiasmorales
committed
Fixed .projectspec file for BPM
1 parent 4d672d5 commit 17bb733

File tree

2 files changed

+19
-17
lines changed

2 files changed

+19
-17
lines changed

examples/rtos/CC2640R2_LAUNCHXL/bleapps/blood_pressure/src/app/blood_pressure.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,7 @@
113113
// Default passkey
114114
#define DEFAULT_PASSKEY 0
115115

116-
#define CUFF_MAX 40 // ORIGINAL
117-
//#define CUFF_MAX 80 // Debug
116+
#define CUFF_MAX 40
118117

119118
// Max measurement storage count
120119
#define BP_STORE_MAX 4

examples/rtos/CC2640R2_LAUNCHXL/bleapps/blood_pressure/tirtos/ccs/blood_pressure_cc2640r2lp_app.projectspec

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,23 @@
3333
--cmd_file=${SRC_BLE_DIR}/config/factory_config.opt
3434
--cmd_file=${WORKSPACE_LOC}/blood_pressure_cc2640r2lp_stack_library/TOOLS/build_config.opt
3535
-mv7M3 -O4 --opt_for_speed=0 --code_state=16 --abi=eabi -me -g --c99 --gcc --gen_func_subsections=on --display_error_number --diag_wrap=off
36-
-DAUTO_ADV=FALSE
36+
-DDeviceFamily_CC26X0R2
37+
-DxAUTO_ADV
3738
-DBOARD_DISPLAY_USE_LCD=0
38-
-DBOARD_DISPLAY_USE_UART=0
39-
-DBOARD_DISPLAY_USE_UART_ANSI=0
39+
-DBOARD_DISPLAY_USE_UART=1
40+
-DBOARD_DISPLAY_USE_UART_ANSI=1
4041
-DCC2640R2_LAUNCHXL
4142
-DCC26XX
4243
-DCC26XX_R2
4344
-DDeviceFamily_CC26X0R2
44-
-DDisplay_DISABLE_ALL
4545
-DFLASH_ROM_BUILD
4646
-DICALL_EVENTS
4747
-DICALL_JT
4848
-DICALL_LITE
4949
-DICALL_MAX_NUM_ENTITIES=6
5050
-DICALL_MAX_NUM_TASKS=3
5151
-DICALL_STACK0_ADDR
52+
-DMAX_NUM_BLE_CONNS=1
5253
-DPOWER_SAVING
5354
-DRF_SINGLEMODE
5455
-DSTACK_LIBRARY
@@ -62,14 +63,15 @@
6263
-I${CG_TOOL_ROOT}/include
6364
-I${SRC_BLE_DIR}/controller/cc26xx_r2/inc
6465
-I${SRC_BLE_DIR}/inc
66+
-I${SRC_BLE_DIR}/rom
6567
-I${SRC_BLE_DIR}/common/cc26xx
6668
-I${SRC_BLE_DIR}/common/cc26xx/time
6769
-I${EXAMPLE_BLE_ROOT}/src/app
6870
-I${SRC_BLE_DIR}/icall/inc
6971
-I${SRC_BLE_DIR}/inc
7072
-I${SRC_BLE_DIR}/profiles/dev_info
71-
-I${SRC_BLE_DIR}/profiles/glucose
72-
-I${SRC_BLE_DIR}/profiles/glucose/cc26xx
73+
-I${SRC_BLE_DIR}/profiles/blood_pressure
74+
-I${SRC_BLE_DIR}/profiles/blood_pressure/cc26xx
7375
-I${SRC_BLE_DIR}/profiles/roles
7476
-I${SRC_BLE_DIR}/profiles/roles/cc26xx
7577
-I${SRC_BLE_DIR}/target
@@ -88,9 +90,9 @@
8890
-l${SRC_BLE_DIR}/../../../source/ti/drivers/lib/drivers_cc26x0r2.aem3
8991
-l${SRC_BLE_DIR}/../../../source/ti/display/lib/display.aem3
9092
-l${SRC_BLE_DIR}/../../../source/ti/grlib/lib/ccs/m3/grlib.a
91-
-l${WORKSPACE_LOC}/glucose_sensor_cc2640r2lp_stack_library/FlashROM_Library/ble_r2.symbols
92-
-l${WORKSPACE_LOC}/glucose_sensor_cc2640r2lp_stack_library/FlashROM_Library/lib_linker.cmd
93-
-l${WORKSPACE_LOC}/glucose_sensor_cc2640r2lp_stack_library/FlashROM_Library/glucose_sensor_cc2640r2lp_stack_library.lib
93+
-l${WORKSPACE_LOC}/blood_pressure_cc2640r2lp_stack_library/FlashROM_Library/ble_r2.symbols
94+
-l${WORKSPACE_LOC}/blood_pressure_cc2640r2lp_stack_library/FlashROM_Library/lib_linker.cmd
95+
-l${WORKSPACE_LOC}/blood_pressure_cc2640r2lp_stack_library/FlashROM_Library/blood_pressure_cc2640r2lp_stack_library.lib
9496
-l${SRC_BLE_DIR}/common/cc26xx/ccs/cc26xx_app.cmd
9597
-x
9698
--define=CC26X0ROM=2
@@ -106,7 +108,7 @@
106108
compilerBuildOptions="
107109
--cmd_file=${SRC_BLE_DIR}/config/build_components.opt
108110
--cmd_file=${SRC_BLE_DIR}/config/factory_config.opt
109-
--cmd_file=${WORKSPACE_LOC}/glucose_sensor_cc2640r2lp_stack_library/TOOLS/build_config.opt
111+
--cmd_file=${WORKSPACE_LOC}/blood_pressure_cc2640r2lp_stack_library/TOOLS/build_config.opt
110112
-mv7M3 -O4 --opt_for_speed=0 --code_state=16 --abi=eabi -me -g --c99 --gcc --gen_func_subsections=on --display_error_number --diag_wrap=off
111113
-DDeviceFamily_CC26X0R2
112114
-DBOARD_DISPLAY_USE_LCD=0
@@ -144,8 +146,8 @@
144146
-I${SRC_BLE_DIR}/profiles/dev_info
145147
-I${SRC_BLE_DIR}/profiles/roles/cc26xx
146148
-I${SRC_BLE_DIR}/profiles/roles
147-
-I${EXAMPLE_BLE_ROOT}/../../../../../source/ti/blestack/profiles/blood_pressure
148-
149+
-I${SRC_BLE_DIR}/profiles/blood_pressure/cc26xx
150+
-I${SRC_BLE_DIR}/profiles/blood_pressure
149151
-I${SRC_BLE_DIR}/target
150152
-I${SRC_BLE_DIR}/hal/src/target/_common
151153
-I${SRC_BLE_DIR}/hal/src/target/_common/cc26xx
@@ -191,6 +193,7 @@
191193
<file path="EXAMPLE_BLE_ROOT/../../../../../source/ti/blestack/common/cc26xx/time/utc_clock.c" openOnCreation="" excludeFromBuild="false" action="copy" targetDirectory="Application" createVirtualFolders="true" applicableConfigurations="FlashROM, FlashROM_StackLibrary"/>
192194
<file path="SRC_BLE_DIR/common/cc26xx/util.c" openOnCreation="" excludeFromBuild="false" action="copy" targetDirectory="Application" createVirtualFolders="true" applicableConfigurations="FlashROM_StackLibrary"/>
193195
<file path="SRC_BLE_DIR/common/cc26xx/util.h" openOnCreation="" excludeFromBuild="false" action="copy" targetDirectory="Application" createVirtualFolders="true" applicableConfigurations="FlashROM_StackLibrary"/>
196+
<file path="SRC_BLE_DIR/common/cc26xx/time/bletime.h" openOnCreation="" excludeFromBuild="false" action="copy" targetDirectory="Application" createVirtualFolders="true" applicableConfigurations="FlashROM, FlashROM_StackLibrary"/>
194197
<file path="SRC_BLE_DIR/common/cc26xx/time/time_config.c" openOnCreation="" excludeFromBuild="false" action="copy" targetDirectory="Application" createVirtualFolders="true" applicableConfigurations="FlashROM, FlashROM_StackLibrary"/>
195198
<file path="EXAMPLE_BLE_ROOT/../../../../../source/ti/blestack/common/cc26xx/time/time_clock.h" openOnCreation="" excludeFromBuild="false" action="copy" targetDirectory="Application" createVirtualFolders="true" applicableConfigurations="FlashROM, FlashROM_StackLibrary"/>
196199
<file path="EXAMPLE_BLE_ROOT/../../../../../source/ti/blestack/common/cc26xx/time/time_clock.c" openOnCreation="" excludeFromBuild="false" action="copy" targetDirectory="Application" createVirtualFolders="true" applicableConfigurations="FlashROM, FlashROM_StackLibrary"/>
@@ -240,9 +243,9 @@
240243
<file path="SRC_BLE_DIR/host/gattservapp_util.c" openOnCreation="" excludeFromBuild="false" action="copy" targetDirectory="PROFILES" createVirtualFolders="true" applicableConfigurations="FlashROM_StackLibrary"/>
241244
<file path="SRC_BLE_DIR/profiles/roles/cc26xx/peripheral.c" openOnCreation="" excludeFromBuild="false" action="copy" targetDirectory="PROFILES" createVirtualFolders="true" applicableConfigurations="FlashROM_StackLibrary"/>
242245
<file path="SRC_BLE_DIR/profiles/roles/cc26xx/peripheral.h" openOnCreation="" excludeFromBuild="false" action="copy" targetDirectory="PROFILES" createVirtualFolders="true" applicableConfigurations="FlashROM_StackLibrary"/>
243-
<file path="EXAMPLE_BLE_ROOT/../../../../../source/ti/blestack/profiles/blood_pressure/bpservice.c" openOnCreation="" excludeFromBuild="false" action="copy" targetDirectory="PROFILES" createVirtualFolders="true" applicableConfigurations="FlashROM, FlashROM_StackLibrary"/>
244-
<file path="EXAMPLE_BLE_ROOT/../../../../../source/ti/blestack/profiles/blood_pressure/bpservice.h" openOnCreation="" excludeFromBuild="false" action="copy" targetDirectory="PROFILES" createVirtualFolders="true" applicableConfigurations="FlashROM, FlashROM_StackLibrary"/>
245-
246+
<file path="SRC_BLE_DIR/profiles/blood_pressure/cc26xx/bpservice.c" openOnCreation="" excludeFromBuild="false" action="copy" targetDirectory="PROFILES" createVirtualFolders="true" applicableConfigurations="FlashROM_StackLibrary"/>
247+
<file path="SRC_BLE_DIR/profiles/blood_pressure/bpservice.h" openOnCreation="" excludeFromBuild="false" action="copy" targetDirectory="PROFILES" createVirtualFolders="true" applicableConfigurations="FlashROM_StackLibrary"/>
248+
246249
<!-- Startup Folder -->
247250
<file path="SRC_BLE_DIR/target/board.c" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="Startup" createVirtualFolders="true" applicableConfigurations="FlashROM_StackLibrary"/>
248251
<file path="EXAMPLE_BLE_ROOT/src/ccfg_app_ble.c" openOnCreation="" excludeFromBuild="false" action="copy" targetDirectory="Startup" createVirtualFolders="true" applicableConfigurations="FlashROM_StackLibrary"/>

0 commit comments

Comments
 (0)