4.2 Project Overview
On the left side of the IAR window, the Workspace section lists the files used by the project.
The file list is divided into the following groups:
- APP – These are the application source code and header files. More information on these files can be found later in this section.
- HAL – This group contains the HAL source code and header files. For more information on the HAL group, see Section 6.
- INCLUDE – This group includes all of the necessary header files for the Bluetooth Low Energy protocol stack API. For details, see Section A through Section G and CC2540 Bluetooth low energy API Guide.
- LIB – This group contains the protocol stack library file CC2540_BLE_peri.lib. For more information on the protocol stack libraries, see Section 5.8.
- NPI – Network processor interface, a transport layer that allows you to route HCI data to a serial interface. CC254X_BLE_HCI_TL_Full.lib must be included for this capability (see the HostTest project in the SDK). If not used, the CC254X_BLE_HCI_TL_None.lib should be used (see SimpleBLEPeripheral in the SDK) when developing a single-chip application).
- OSAL – This group contains the OSAL source code and header files. For more information on the OSAL, see OSAL API Guide and Section 3.
- PROFILES – This group contains the source code and header files for the GAP role profile, GAP security profile, and the sample GATT profile. In addition, this section contains the necessary header files for the GATT server application. For more information on these modules, see Section 5.
- TOOLS – This group contains the configuration files buildComponents.cfg and buildConfig.cfg. Section 5.8 describes these files and contains the files OnBoard.c and OnBoard.h, which handle interface functions.
- OUTPUT – This group contains files that are generated by IAR during the build process, including binaries and the map file, see Section 8.3.4.