Truestudio atollic (an IDE based on eclipse) creates empty binary file despite of not empty elf file and a lot of code

Share code examples or discuss embedded software, including device drivers, interrupt handlers, middleware and application code.

Moderators: Markus Girdland, Mattias Norlander

tesla199
Posts: 2
Joined: Fri Jun 28, 2019 2:44 pm

Truestudio atollic (an IDE based on eclipse) creates empty binary file despite of not empty elf file and a lot of code

Postby tesla199 » Mon Jul 01, 2019 12:01 pm

I am trying to create a binary file for flashing a bluetooth board (Bluenrg-2). Unfortunately, there is an error in compiling, because for some reasons my binary file is empty. I've a lot of code, which is correctly linked.

Any suggestions as to why I am getting this error?

Here is the output of the compiler. As you can see there are no errors, just some warnings, which should be not dangerous:

Code: Select all

Info: Internal Builder is used for build
arm-atollic-eabi-gcc -c ..\..\..\src\hal.c -mthumb -mcpu=cortex-m0 -std=c99 -DBLUENRG2_DEVICE -DNO_SMART_POWER_MANAGEMENT -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\BLE_Application\OTA\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\CMSIS\Include -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\BlueNRG1_Periph_Driver\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\CMSIS\Device\ST\BlueNRG1\Include -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\Bluetooth_LE\library -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\BLE_Application\layers_inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\Bluetooth_LE\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\hal\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\ST_BLE_Mesh\MeshModel\Inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\ST_BLE_Mesh\PAL\BlueNRG1_2 -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\ST_BLE_Mesh\Inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\BSP\SDK_Eval_BlueNRG1\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\src -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -mcpu=cortex-m0 -specs=nano.specs -o src\hal.o
arm-atollic-eabi-gcc -c ..\..\..\src\appli_nvm.c -mthumb -mcpu=cortex-m0 -std=c99 -DBLUENRG2_DEVICE -DNO_SMART_POWER_MANAGEMENT -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\BLE_Application\OTA\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\CMSIS\Include -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\BlueNRG1_Periph_Driver\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\CMSIS\Device\ST\BlueNRG1\Include -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\Bluetooth_LE\library -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\BLE_Application\layers_inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\Bluetooth_LE\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\hal\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\ST_BLE_Mesh\MeshModel\Inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\ST_BLE_Mesh\PAL\BlueNRG1_2 -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\ST_BLE_Mesh\Inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\BSP\SDK_Eval_BlueNRG1\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\src -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -mcpu=cortex-m0 -specs=nano.specs -o src\appli_nvm.o
..\..\..\src\appli_nvm.c: In function 'AppliNvm_FlashProgram':
..\..\..\src\appli_nvm.c:117:22: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
|| (Address & 0x03 != 0))
^
arm-atollic-eabi-gcc -c ..\..\..\src\main.c -mthumb -mcpu=cortex-m0 -std=c99 -DBLUENRG2_DEVICE -DNO_SMART_POWER_MANAGEMENT -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\BLE_Application\OTA\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\CMSIS\Include -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\BlueNRG1_Periph_Driver\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\CMSIS\Device\ST\BlueNRG1\Include -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\Bluetooth_LE\library -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\BLE_Application\layers_inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\Bluetooth_LE\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\hal\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\ST_BLE_Mesh\MeshModel\Inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\ST_BLE_Mesh\PAL\BlueNRG1_2 -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\ST_BLE_Mesh\Inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\BSP\SDK_Eval_BlueNRG1\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\src -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -mcpu=cortex-m0 -specs=nano.specs -o src\main.o
arm-atollic-eabi-gcc -c ..\..\..\src\BlueNRG1_it.c -mthumb -mcpu=cortex-m0 -std=c99 -DBLUENRG2_DEVICE -DNO_SMART_POWER_MANAGEMENT -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\BLE_Application\OTA\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\CMSIS\Include -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\BlueNRG1_Periph_Driver\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\CMSIS\Device\ST\BlueNRG1\Include -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\Bluetooth_LE\library -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\BLE_Application\layers_inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\Bluetooth_LE\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\hal\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\ST_BLE_Mesh\MeshModel\Inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\ST_BLE_Mesh\PAL\BlueNRG1_2 -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\ST_BLE_Mesh\Inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\BSP\SDK_Eval_BlueNRG1\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\src -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -mcpu=cortex-m0 -specs=nano.specs -o src\BlueNRG1_it.o
arm-atollic-eabi-gcc -c ..\..\..\src\appli_light.c -mthumb -mcpu=cortex-m0 -std=c99 -DBLUENRG2_DEVICE -DNO_SMART_POWER_MANAGEMENT -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\BLE_Application\OTA\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\CMSIS\Include -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\BlueNRG1_Periph_Driver\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\CMSIS\Device\ST\BlueNRG1\Include -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\Bluetooth_LE\library -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\BLE_Application\layers_inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\Bluetooth_LE\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\hal\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\ST_BLE_Mesh\MeshModel\Inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\ST_BLE_Mesh\PAL\BlueNRG1_2 -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\ST_BLE_Mesh\Inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\BSP\SDK_Eval_BlueNRG1\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\src -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -mcpu=cortex-m0 -specs=nano.specs -o src\appli_light.o
arm-atollic-eabi-gcc -c ..\..\..\src\appli_mesh.c -mthumb -mcpu=cortex-m0 -std=c99 -DBLUENRG2_DEVICE -DNO_SMART_POWER_MANAGEMENT -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\BLE_Application\OTA\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\CMSIS\Include -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\BlueNRG1_Periph_Driver\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\CMSIS\Device\ST\BlueNRG1\Include -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\Bluetooth_LE\library -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\BLE_Application\layers_inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\Bluetooth_LE\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\hal\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\ST_BLE_Mesh\MeshModel\Inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\ST_BLE_Mesh\PAL\BlueNRG1_2 -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\ST_BLE_Mesh\Inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\BSP\SDK_Eval_BlueNRG1\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\src -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -mcpu=cortex-m0 -specs=nano.specs -o src\appli_mesh.o
arm-atollic-eabi-gcc -c ..\..\..\src\appli_sensor.c -mthumb -mcpu=cortex-m0 -std=c99 -DBLUENRG2_DEVICE -DNO_SMART_POWER_MANAGEMENT -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\BLE_Application\OTA\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\CMSIS\Include -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\BlueNRG1_Periph_Driver\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\CMSIS\Device\ST\BlueNRG1\Include -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\Bluetooth_LE\library -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\BLE_Application\layers_inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\Bluetooth_LE\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\hal\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\ST_BLE_Mesh\MeshModel\Inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\ST_BLE_Mesh\PAL\BlueNRG1_2 -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\ST_BLE_Mesh\Inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\BSP\SDK_Eval_BlueNRG1\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\src -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -mcpu=cortex-m0 -specs=nano.specs -o src\appli_sensor.o
arm-atollic-eabi-gcc -c ..\..\..\src\models_if.c -mthumb -mcpu=cortex-m0 -std=c99 -DBLUENRG2_DEVICE -DNO_SMART_POWER_MANAGEMENT -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\BLE_Application\OTA\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\CMSIS\Include -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\BlueNRG1_Periph_Driver\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\CMSIS\Device\ST\BlueNRG1\Include -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\Bluetooth_LE\library -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\BLE_Application\layers_inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\Bluetooth_LE\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\hal\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\ST_BLE_Mesh\MeshModel\Inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\ST_BLE_Mesh\PAL\BlueNRG1_2 -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\ST_BLE_Mesh\Inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\BSP\SDK_Eval_BlueNRG1\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\src -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -mcpu=cortex-m0 -specs=nano.specs -o src\models_if.o
..\..\..\src\models_if.c: In function 'BluenrgMesh_ModelsCommand':
..\..\..\src\models_if.c:324:16: warning: 'elementNumber' may be used uninitialized in this function [-Wmaybe-uninitialized]
elementIndex = elementNumber-1;
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
arm-atollic-eabi-gcc -c ..\..\..\src\appli_generic.c -mthumb -mcpu=cortex-m0 -std=c99 -DBLUENRG2_DEVICE -DNO_SMART_POWER_MANAGEMENT -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\BLE_Application\OTA\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\CMSIS\Include -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\BlueNRG1_Periph_Driver\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\CMSIS\Device\ST\BlueNRG1\Include -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\Bluetooth_LE\library -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\BLE_Application\layers_inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\Bluetooth_LE\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\hal\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\ST_BLE_Mesh\MeshModel\Inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\ST_BLE_Mesh\PAL\BlueNRG1_2 -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\ST_BLE_Mesh\Inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\BSP\SDK_Eval_BlueNRG1\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\src -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -mcpu=cortex-m0 -specs=nano.specs -o src\appli_generic.o
arm-atollic-eabi-gcc -c ..\..\..\src\appli_vendor.c -mthumb -mcpu=cortex-m0 -std=c99 -DBLUENRG2_DEVICE -DNO_SMART_POWER_MANAGEMENT -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\BLE_Application\OTA\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\CMSIS\Include -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\BlueNRG1_Periph_Driver\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\CMSIS\Device\ST\BlueNRG1\Include -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\Bluetooth_LE\library -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\BLE_Application\layers_inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\Bluetooth_LE\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\BlueNRG1\hal\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\ST_BLE_Mesh\MeshModel\Inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\ST_BLE_Mesh\PAL\BlueNRG1_2 -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Middlewares\ST\ST_BLE_Mesh\Inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\Library\Drivers\BSP\SDK_Eval_BlueNRG1\inc -IC:\Users\CA69912\Atollic\TrueSTUDIO\STM32_workspace_9.3\BLE_Mesh\src -Os -ffunction-sections -fdata-sections -g -fstack-usage -Wall -mcpu=cortex-m0 -specs=nano.specs -o src\appli_vendor.o
..\..\..\src\appli_vendor.c: In function 'Appli_Vendor_LEDControl':
..\..\..\src\appli_vendor.c:238:18: warning: unused variable 'delay_t' [-Wunused-variable]
tClockTime delay_t = Clock_Time();
^~~~~~~
..\..\..\src\appli_vendor.c:359:31: warning: 'intensityValue' may be used uninitialized in this function [-Wmaybe-uninitialized]
ResponseBuffer[2] = intensityValue ;
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
arm-atollic-eabi-gcc -o BLE_Mesh.elf src\BlueNRG1_it.o src\appli_generic.o src\appli_light.o src\appli_mesh.o src\appli_nvm.o src\appli_sensor.o src\appli_vendor.o src\hal.o src\main.o src\models_if.o -mthumb -mcpu=cortex-m0 -T../BlueNRG2.ld -specs=nosys.specs -nostartfiles -nodefaultlibs -static -Wl,-cref,-u,Reset_Handler -Wl,-Map=BLE_Mesh.map -Wl,--gc-sections -Wl,--defsym=malloc_getpagesize_P=0x80 -Wl,--start-group -lc -lm -Wl,--end-group -specs=nano.specs
c:/program files (x86)/atollic/truestudio for stm32 9.3.0/armtools/bin/../lib/gcc/arm-atollic-eabi/6.3.1/../../../../arm-atollic-eabi/bin/ld.exe: warning: cannot find entry symbol RESET_HANDLER; defaulting to 10040000
C:\Program Files (x86)\Atollic\TrueSTUDIO for STM32 9.3.0\ide\jre\bin\java -jar C:\Program Files (x86)\Atollic\TrueSTUDIO for STM32 9.3.0\Tools\arm-atollic-reports.jar convert-hex sizeinfo list BLE_Mesh.elf
Generate build reports...
Converting build output to hex
Output sent to: BLE_Mesh.hex
Converting build output to hex done
Print size information
text data bss dec hex filename
0 0 2296 2296 8f8 BLE_Mesh.elf
Print size information done
Generate listing file
Output sent to: BLE_Mesh.list
Generate listing file done
Generate build reports done
arm-atollic-eabi-objcopy -O binary BLE_Mesh.elf BLE_Mesh.bin

10:24:31 Build Finished (took 7s.235ms)

Return to “Embedded target code development discussions”

Who is online

Users browsing this forum: No registered users and 0 guests