This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

BDS fails to genrate working code for the BLE Cycling Power Service

Does anyone have a working copy of ble_cps.c\h

The BDS (version 1.0.2095.0) plugin (v.1.2.4) does not generate code that compiles under IAR EWB

IAR ANSI C/C++ Compiler V7.40.2.8542/W32 for ARM Copyright 1999-2015 IAR Systems AB. Error[Pe549]: variable "flags" is used before its value is set C:\SVN_3\Software\BLE cycling_power_sensor\trunk\ble_cps.c 31 Error[Pe020]: identifier "C1_required" is undefined C:\SVN_3\Software\BLE cycling_power_sensor\trunk\ble_cps.c 62 Error[Pe020]: identifier "C1_required" is undefined C:\SVN_3\Software\BLE cycling_power_sensor\trunk\ble_cps.c 66 Error[Pe020]: identifier "C2_required" is undefined C:\SVN_3\Software\BLE cycling_power_sensor\trunk\ble_cps.c 70 Error[Pe020]: identifier "C2_required" is undefined C:\SVN_3\Software\BLE cycling_power_sensor\trunk\ble_cps.c 74 Error[Pe020]: identifier "C3_required" is undefined C:\SVN_3\Software\BLE cycling_power_sensor\trunk\ble_cps.c 78 Error[Pe020]: identifier "C3_required" is undefined C:\SVN_3\Software\BLE cycling_power_sensor\trunk\ble_cps.c 82 Error[Pe020]: identifier "C4_required" is undefined C:\SVN_3\Software\BLE cycling_power_sensor\trunk\ble_cps.c 86 Error[Pe020]: identifier "C4_required" is undefined C:\SVN_3\Software\BLE cycling_power_sensor\trunk\ble_cps.c 90 Error[Pe020]: identifier "C5_required" is undefined C:\SVN_3\Software\BLE cycling_power_sensor\trunk\ble_cps.c 94 Error[Pe020]: identifier "C5_required" is undefined C:\SVN_3\Software\BLE cycling_power_sensor\trunk\ble_cps.c 98 Error[Pe549]: variable "properties" is used before its value is set C:\SVN_3\Software\BLE cycling_power_sensor\trunk\ble_cps.c 118 Error[Pe549]: variable "cycling_power_feature" is used before its value is set C:\SVN_3\Software\BLE cycling_power_sensor\trunk\ble_cps.c 180 Error[Pe549]: variable "flags" is used before its value is set C:\SVN_3\Software\BLE cycling_power_sensor\trunk\ble_cps.c 256 Error[Pe020]: identifier "C1_required" is undefined C:\SVN_3\Software\BLE cycling_power_sensor\trunk\ble_cps.c 276 Error[Pe020]: identifier "C1_required" is undefined C:\SVN_3\Software\BLE cycling_power_sensor\trunk\ble_cps.c 280 Error[Pe020]: identifier "C2_required" is undefined C:\SVN_3\Software\BLE cycling_power_sensor\trunk\ble_cps.c 285 Error[Pe020]: identifier "C2_required" is undefined C:\SVN_3\Software\BLE cycling_power_sensor\trunk\ble_cps.c 289 Error[Pe020]: identifier "C1_required" is undefined C:\SVN_3\Software\BLE cycling_power_sensor\trunk\ble_cps.c 338 Error[Pe020]: identifier "C1_required" is undefined C:\SVN_3\Software\BLE cycling_power_sensor\trunk\ble_cps.c 342 Error[Pe020]: identifier "C2_required" is undefined C:\SVN_3\Software\BLE cycling_power_sensor\trunk\ble_cps.c 346 Error[Pe020]: identifier "C1_required" is undefined C:\SVN_3\Software\BLE cycling_power_sensor\trunk\ble_cps.c 396 Error[Pe020]: identifier "C1_required" is undefined C:\SVN_3\Software\BLE cycling_power_sensor\trunk\ble_cps.c 400 Error[Pe020]: identifier "C2_required" is undefined C:\SVN_3\Software\BLE cycling_power_sensor\trunk\ble_cps.c 404 Error[Pe177]: function "server_characteristic_configuration_encode" was declared but never referenced C:\SVN_3\Software\BLE cycling_power_sensor\trunk\ble_cps.c 131 Error[Pe177]: function "server_characteristic_configuration_decode" was declared but never referenced C:\SVN_3\Software\BLE cycling_power_sensor\trunk\ble_cps.c 163

Parents Reply Children
No Data
Related