Sep 01, 2017
12:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 01, 2017
12:17 AM
i want to put constant parameter to special address just like in IAR development IDE, i can use #pragma xxxxx @Location
Solved! Go to Solution.
Labels
- Labels:
-
BLE_PROFILE_CFG
-
FlashEEPROM
-
SDK 2.X
1 Solution
Sep 03, 2017
10:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 03, 2017
10:58 PM
I refer you to a structure in hello_sensor app:
#pragma pack(1)
//host information for NVRAM
typedef PACKED struct
{
// BD address of the bonded host
BD_ADDR bdaddr;
// Current value of the client configuration descriptor
UINT16 characteristic_client_configuration;
// sensor configuration. number of times to blink when button is pushed.
UINT8 number_of_blinks;
} HOSTINFO;
1 Reply