User Guide
Bluetooth Low Energy 5.3
Loading...
Searching...
No Matches
Application

SDK Directory

SDK directory is as show below:

▾ bsp/ BSP
▸ common/ Common file, such as list/fifo/log ...
▾ components/ Components files
▸ ble/ BLE stack API
▸ crypto/ Some crypto algorithm
▸ evt/ Event schedule source code
▸ mbr/ MBR
▸ nvds/ Non Volatile Data Storage (NVDS) system
▸ pm/ Power manager
▸ shell/ Shell
▸ trace/ Trace
▸ unity/ Unity test code
▸ docs/ Document
▾ hal/ Hardware driver
▸ CMSIS/ ARM CMSIS driver and its source code
▸ device/ Peripheral driver and its source code
▸ driver/ Peripheral driver and its source code
▸ include/ Some include files
▾ projects/ Projects
▸ ble_app_hci/ BLE HCI project
▸ ble_app_simple/ BLE simple server demo project
▸ om24g_app_simple/ 2.4GHz Proprietary demo project
▸ ...
▸ tools/ Tools
▸ build/ Build tools
▾ plugins/ IDE support plugins
▸ iar/ IAR support
▸ jlink/ Segger JLink support
▸ keil/ KEIL MDK support

Sample Projects

To help create user application, many sample projects in SDK have been created to start with, such as ble_app_simple and some ble related demo sample projects. Through studying sample projects, customers can easily get familar with SDK. All sample projects have been configured and memory layout in scatter file is also modified to comply with OM6XXX SOC.

Taking ble_app_simple application as an example below, it shows how to start developing the customized user application by the sample project. The snapshots are captured with current SDK, and may subject to change due to SDK upgrade.

ble_app_simple Sample Project

The sample project may upgrade together with the SDK, and to better utilize the upgraded sample code, newly added user code is suggested to being organized and modularized. More detail information on each sample project could be found in its user manual.

Application Process Flow

There are 2 ways to run application:

  • Running in FLASH
  • Running in SRAM (Only in TEST scenarios)

Please reference bootloader for some boot infomation.

The main flow is concentrated in these file:

  • startup.S (startup file)
  • main.c (main file)
  • linker_flash.sct (linker file)