This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LP-EM-CC2340R5: HOST_CONFIG not found when editing files, but found when compiling?

Part Number: LP-EM-CC2340R5
Other Parts Discussed in Thread: CC2340R5

Tool/software:

I have two projects - data_stream_LP-EM_CC2340R5_freertos_ticlang example from TI and a custom project that's based on the data_stream project. When editing app_peripheral.c, Code Composer Studio correctly indicates that

#if defined( HOST_CONFIG ) && ( HOST_CONFIG & ( PERIPHERAL_CFG ) )
will be included when building. My custom project indicates that the above preprocessor in app_peripheral.c will not be included in the build (that entire code block is grayed out). ti_utils_build_compiler.opt in both projects are identical:
-DHOST_CONFIG=PERIPHERAL_CFG
-DHCI_TL_NONE
-DGAP_BOND_MGR
-DSYSCFG
-DMAX_NUM_BLE_CONNS=1
-DGATT_MAX_PREPARE_WRITES=10
-DEXTENDED_STACK_SETTINGS=EXTENDED_STACK_SETTINGS_DEFAULT
-DGAP_BONDINGS_MAX=5
-DPOWER_SAVING
-DSTACK_LIBRARY
-DONE_BLE_LIB_SIZE_OPTIMIZATION
-DICALL_EVENTS
-DICALL_JT
-DICALL_LITE
-DICALL_STACK0_ADDR
-DUSE_ICALL
-DICALL_MAX_NUM_ENTITIES=6
-DICALL_MAX_NUM_TASKS=3
-DOSAL_CBTIMER_NUM_TASKS=1
-DNPI_USE_UART
-DDeviceFamily_CC23X0R5
And correctly set the HOST_CONFIG to PERIPHERAL_CFG, but my custom project isn't pulling it in whereas the data stream example is? Both build correctly. I assume Code Composer Studio is using the opt file to find preprocessor directives, but what's missing in my custom project that's preventing Code Composer Studio from correctly finding the preprocessor directives?
I've using Code Composer Studio version 20.0.2.5 and SimpleLink Low Power F3 SDK version 8.40.0.61.