Hi,
I am using CC2340 SDK version 7.20.00.29
I have found that even if I delete source files in the SDK that are not used inside the project directly will not have any impact on building flashing a project.
For example, I deleted display.c file in path SDK_INSTALL_LOC/source/ti/display. During debugging I step into Display_printf function. The system shows no files. I did the same experiment without deleting display.c file. This time during debug step into Display_printf function, the system shows function implementation in display.c file. I did the same experiment with other source files that were not directly used inside the project. Outcomes are same.
My conclusion is that TI provided these source files only to understand the implementation. When building a project there is no error even if we edit source files is only because we are adding the library files (.a files) to the project. That means we can't change or add any modifications to driver source files (e.g., display.c) or BLE stack implementations (e.g., gapbondmgr.c).
Is my understandings right?
Thanks!
Nithin