µVision Build Log
Project:
E:\projects\drix\drix-bldr\projects\keil\drix-bldr.uvproj
Project File Date: 04/09/2014
Output:
Rebuild target 'drix-bldr'
Clean started - Project: 'drix-bldr'
deleting intermediate output files for target 'drix-bldr'
compiling main.c...
compiling dfu_transport_ble.c...
compiling dfu_dual_bank.c...
compiling bootloader_util_arm.c...
compiling bootloader.c...
compiling system_nrf51.c...
compiling app_timer.c...
compiling app_scheduler.c...
compiling app_gpiote.c...
compiling crc16.c...
compiling pstorage.c...
compiling softdevice_handler.c...
compiling ble_dfu.c...
compiling ble_srv_common.c...
compiling ble_advdata.c...
compiling ble_conn_params.c...
compiling hci_mem_pool.c...
assembling arm_startup_nrf51.s...
linking...
Program Size: Code=12704 RO-data=456 RW-data=232 ZI-data=6988
".\build\drix-bldr.axf" - 0 Error(s), 0 Warning(s).
*** Performing Cross-Module-Optimization:
compiling main.c...
compiling dfu_transport_ble.c...
compiling dfu_dual_bank.c...
compiling bootloader_util_arm.c...
compiling bootloader.c...
compiling system_nrf51.c...
compiling app_timer.c...
compiling app_scheduler.c...
compiling app_gpiote.c...
compiling pstorage.c...
compiling softdevice_handler.c...
compiling ble_dfu.c...
compiling ble_srv_common.c...
compiling ble_advdata.c...
compiling ble_conn_params.c...
compiling hci_mem_pool.c...
linking...
Program Size: Code=11880 RO-data=456 RW-data=232 ZI-data=6988
compiling main.c...
compiling dfu_transport_ble.c...
compiling dfu_dual_bank.c...
compiling bootloader_util_arm.c...
compiling bootloader.c...
compiling system_nrf51.c...
compiling app_timer.c...
compiling app_scheduler.c...
compiling app_gpiote.c...
compiling pstorage.c...
compiling softdevice_handler.c...
compiling ble_dfu.c...
compiling ble_srv_common.c...
compiling ble_advdata.c...
compiling ble_conn_params.c...
compiling hci_mem_pool.c...
linking...
Program Size: Code=11880 RO-data=456 RW-data=232 ZI-data=6988
FromELF: creating hex file...
".\build\drix-bldr.axf" - 0 Error(s), 0 Warning(s).
*** Completed Cross-Module-Optimization after 3 iteration(s).
ION_START;
..\..\src\dfu_dual_bank.c: 0 warnings, 3 errors
compiling bootloader_util_arm.c...
compiling bootloader.c...
..\..\src\bootloader.c(96): error: #268: declaration may not appear after executable statement in block
bool success = false;
..\..\src\bootloader.c: 0 warnings, 1 error
compiling system_nrf51.c...
compiling app_timer.c...
..\..\lib\nrf51822\sdk_nrf51822_5.2.0\Source\app_common\app_timer.c(685): error: #268: declaration may not appear after executable statement in block
uint32_t post_counter_val = rtc1_counter_get();
..\..\lib\nrf51822\sdk_nrf51822_5.2.0\Source\app_common\app_timer.c: 0 warnings, 1 error
compiling app_scheduler.c...
compiling app_gpiote.c...
compiling crc16.c...
compiling pstorage.c...
..\..\lib\nrf51822\sdk_nrf51822_5.2.0\Source\app_common\pstorage.c(471): error: #268: declaration may not appear after executable statement in block
const bool store_finished =
..\..\lib\nrf51822\sdk_nrf51822_5.2.0\Source\app_common\pstorage.c(475): error: #268: declaration may not appear after executable statement in block
const bool update_finished =
..\..\lib\nrf51822\sdk_nrf51822_5.2.0\Source\app_common\pstorage.c(479): error: #268: declaration may not appear after executable statement in block
const bool clear_block_finished =
..\..\lib\nrf51822\sdk_nrf51822_5.2.0\Source\app_common\pstorage.c(483): error: #268: declaration may not appear after executable statement in block
const bool clear_all_finished =
..\..\lib\nrf51822\sdk_nrf51822_5.2.0\Source\app_common\pstorage.c(765): error: #268: declaration may not appear after executable statement in block
uint32_t head_word_size = (
..\..\lib\nrf51822\sdk_nrf51822_5.2.0\Source\app_common\pstorage.c(770): error: #268: declaration may not appear after executable statement in block
uint32_t tail_word_size = (
..\..\lib\nrf51822\sdk_nrf51822_5.2.0\Source\app_common\pstorage.c(826): error: #254: type name is not allowed
for (uint32_t index = 0; index < PSTORAGE_MAX_APPLICATIONS; index++)
..\..\lib\nrf51822\sdk_nrf51822_5.2.0\Source\app_common\pstorage.c(826): error: #65: expected a ";"
for (uint32_t index = 0; index < PSTORAGE_MAX_APPLICATIONS; index++)
..\..\lib\nrf51822\sdk_nrf51822_5.2.0\Source\app_common\pstorage.c(826): error: #20: identifier "index" is undefined
for (uint32_t index = 0; index < PSTORAGE_MAX_APPLICATIONS; index++)
..\..\lib\nrf51822\sdk_nrf51822_5.2.0\Source\app_common\pstorage.c: 0 warnings, 9 errors
compiling softdevice_handler.c...
..\..\lib\nrf51822\sdk_nrf51822_5.2.0\Source\sd_common\softdevice_handler.c(80): error: #268: declaration may not appear after executable statement in block
bool no_more_soc_evts = (m_sys_evt_handler == NULL);
..\..\lib\nrf51822\sdk_nrf51822_5.2.0\Source\sd_common\softdevice_handler.c: 0 warnings, 1 error
compiling ble_dfu.c...
..\..\lib\nrf51822\sdk_nrf51822_5.2.0\Source\ble\ble_services\ble_dfu.c(232): error: #268: declaration may not appear after executable statement in block
ble_dfu_evt_t ble_dfu_evt;
..\..\lib\nrf51822\sdk_nrf51822_5.2.0\Source\ble\ble_services\ble_dfu.c(384): error: #268: declaration may not appear after executable statement in block
ble_uuid_t service_uuid;
..\..\lib\nrf51822\sdk_nrf51822_5.2.0\Source\ble\ble_services\ble_dfu.c(385): error: #268: declaration may not appear after executable statement in block
uint32_t err_code;
..\..\lib\nrf51822\sdk_nrf51822_5.2.0\Source\ble\ble_services\ble_dfu.c(387): error: #268: declaration may not appear after executable statement in block
const ble_uuid128_t base_uuid128 =
..\..\lib\nrf51822\sdk_nrf51822_5.2.0\Source\ble\ble_services\ble_dfu.c(485): error: #268: declaration may not appear after executable statement in block
ble_gatts_hvx_params_t hvx_params;
..\..\lib\nrf51822\sdk_nrf51822_5.2.0\Source\ble\ble_services\ble_dfu.c(486): error: #268: declaration may not appear after executable statement in block
uint16_t index = 0;
..\..\lib\nrf51822\sdk_nrf51822_5.2.0\Source\ble\ble_services\ble_dfu.c(523): error: #268: declaration may not appear after executable statement in block
ble_gatts_hvx_params_t hvx_params;
..\..\lib\nrf51822\sdk_nrf51822_5.2.0\Source\ble\ble_services\ble_dfu.c(524): error: #268: declaration may not appear after executable statement in block
uint16_t index = 0;
..\..\lib\nrf51822\sdk_nrf51822_5.2.0\Source\ble\ble_services\ble_dfu.c(556): error: #268: declaration may not appear after executable statement in block
ble_gatts_hvx_params_t hvx_params;
..\..\lib\nrf51822\sdk_nrf51822_5.2.0\Source\ble\ble_services\ble_dfu.c(557): error: #268: declaration may not appear after executable statement in block
uint16_t index = 0;
..\..\lib\nrf51822\sdk_nrf51822_5.2.0\Source\ble\ble_services\ble_dfu.c: 0 warnings, 10 errors
compiling ble_srv_common.c...
compiling ble_advdata.c...
compiling ble_conn_params.c...
compiling hci_mem_pool.c...
assembling arm_startup_nrf51.s...
".\build\drix-bldr.axf" - 32 Error(s), 1 Warning(s).
*** Performing Cross-Module-Optimization:
*** Feedback file '.\build\drix-bldr.fed' not found.
Target not created