Quantcast
Viewing all articles
Browse latest Browse all 116964

Forum Post: Thermometer sample project for the CC2540DK-MINI Keyfob build configuration?

Hello:

I am trying to understand the Thermometer Project / CC2540DK-MINI Keyfob slave build configuration settings. In the thermometer project, I would like to build the thermometer project for the CC2540MINIDK_EM board and other build hex image for the CC2540MINIDK_Dongle.

What is the configuration to build the thermometer project for the CC2540MINIDK_EM board?

What is the configuration to build the thermometer project for the CC2540MINIDK_Dongle board?

------------ buildConfig.cfg file -----------
// BLE Host Build Configurations

//-DHOST_CONFIG=BROADCASTER_CFG
//-DHOST_CONFIG=OBSERVER_CFG
-DHOST_CONFIG=PERIPHERAL_CFG
//-DHOST_CONFIG=CENTRAL_CFG
//-DHOST_CONFIG=BROADCASTER_CFG+OBSERVER_CFG
//-DHOST_CONFIG=PERIPHERAL_CFG+OBSERVER_CFG
//-DHOST_CONFIG=CENTRAL_CFG+BROADCASTER_CFG
//-DHOST_CONFIG=PERIPHERAL_CFG+CENTRAL_CFG

// GATT Database being off chip
//-DGATT_DB_OFF_CHIP

// GAP Privacy Feature
//-DGAP_PRIVACY
-DGAP_PRIVACY_RECONNECT

// Include GAP Bond Manager
//-DGAP_BOND_MGR

----------------- buildComponents.cfg ------------

// BLE Host Build Components

-DBROADCASTER_CFG=0x01
-DOBSERVER_CFG=0x02
-DPERIPHERAL_CFG=0x04
-DCENTRAL_CFG=0x08

// BLE Controller Build Components

-DADV_NCONN_CFG=0x01
-DADV_CONN_CFG=0x02
-DSCAN_CFG=0x04
-DINIT_CFG=0x08

// Possible BLE Controller Pre-Defined Combinations
-DADV_CFG=ADV_NCONN_CFG+ADV_CONN_CFG
-DLINK_CFG=ADV_CONN_CFG+INIT_CFG
-DFULL_CFG=INIT_CFG+SCAN_CFG+ADV_NCONN_CFG+ADV_CONN_CFG

 

Thank You

MIke


Viewing all articles
Browse latest Browse all 116964

Trending Articles