GR551x SDK Directory Structure
The folder directory structure of the GR551x SDK is shown in Figure 11.

Detailed descriptions of folders in the GR551x SDK are shown in Table 5.
Folder | Description |
---|---|
build\binaries | It contains tools used for the build process. |
build\config | It is the project configuration directory that stores the custom_config.h template file. Contents in this file are used to configure projects, and to provide related input parameters for the SDK toolchain. |
build\scripts | It contains batch files and script files for building, downloading, and debugging. |
componets\app_drivers | It contains driver API source code, which are easy to use for application developers. |
components\boards | It contains header files corresponding to the development board. |
components\drivers_ext | It contains drivers of third-party components on the development board. |
components\libraries | It contains libraries provided in the GR551x SDK. |
components\patch | It contains ROM Patch files which provide incremental updates for BLE Stack in ROM. |
components\profiles | It contains source files of GATT Services/Service Clients implementation examples provided in the GR551x SDK. |
components\sdk | It contains API header files provided in the GR551x SDK. |
components\sdk\linker | It contains symbol table files and library files provided in the GR551x SDK for the linker. |
documentation | It contains the GR551x API references. |
drivers\inc | It contains HAL and LL header files of the GR551x peripheral drivers. |
drivers\src | It contains HAL source code of the GR551x peripheral drivers. |
external\fat_fs | It contains source code of FatFs, which is a third-party program. |
external\freertos | It contains source code of FreeRTOS, which is a third-party program. |
external\segger_rtt | It contains source code of SEGGER RTT, which is a third-party program. |
external\wechat | It contains source code of WeChat, which is a third-party program. |
projects\ble | It contains Bluetooth LE application project examples, such as Heart Rate Sensor and Proximity Reporter. |
projects\peripheral | It contains peripheral project examples of a GR551x SoC. |
projects\peripheral_app | It contains project examples of peripheral applications of a GR551x SoC. |
toolchain\cmsis | It contains toolchain files of CMSIS. |
toolchain\gr551x | It contains toolchain documents of the compilation platform. |
tools | It contains development and debugging software of the GR551x. |