Developer Portal Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    Build Error with all example Projects

    leonloui
    Occasional Visitor

    Build Error with all example Projects

    Hey there,

    I get an build error for all Procets i want to compile. I tried with the 'SendDataOverMQTT' sample where i just changed MQTT and Wifi preferences. Can anyone help me with the following console output?

    15:35:20 **** Build of configuration XDK Default for project SendDataOverMQTT ****
    mingw32-make -j 2 -j4 debug
    C:\XDK-Workbench\XDK\make\mingw32-make.exe -C C:\XDK-Workbench\XDK\SDK/xdk110/Common -f application.mk debug
    new_bootloader
    mingw32-make[1]: Entering directory 'C:/XDK-Workbench/XDK/SDK/xdk110/Common'
    C:\XDK-Workbench\XDK\make\mingw32-make.exe -C ./../Platform/Essentials debug BCDS_COMMON_MAKEFILE=C:/XDK-Workbench/XDK/SDK/xdk110/Common/common.mk
    C:\XDK-Workbench\XDK\make\mingw32-make.exe -C ./../Platform/Utils debug BCDS_COMMON_MAKEFILE=C:/XDK-Workbench/XDK/SDK/xdk110/Common/common.mk
    C:\XDK-Workbench\XDK\make\mingw32-make.exe -C ./../Platform/BSP debug BCDS_COMMON_MAKEFILE=C:/XDK-Workbench/XDK/SDK/xdk110/Common/common.mk
    C:\XDK-Workbench\XDK\make\mingw32-make.exe -C ./../Platform/Drivers debug BCDS_COMMON_MAKEFILE=C:/XDK-Workbench/XDK/SDK/xdk110/Common/common.mk
    mingw32-make[2]: Entering directory 'C:/XDK-Workbench/XDK/SDK/xdk110/Platform/Essentials'
    mingw32-make[2]: Entering directory 'C:/XDK-Workbench/XDK/SDK/xdk110/Platform/Drivers'
    mingw32-make[2]: Entering directory 'C:/XDK-Workbench/XDK/SDK/xdk110/Platform/Utils'
    mingw32-make[2]: Entering directory 'C:/XDK-Workbench/XDK/SDK/xdk110/Platform/BSP'
    Build source/CriticalSection.c
    Build source/CRC.c
    Build source/BSP_SensorNode.c
    Build source/SDCard/BCDS_SDCard_Driver.c
    source/SDCard/BCDS_SDCard_Driver.c:60:15: warning: missing initializer [-Wmissing-field-initializers]
    source/SDCard/BCDS_SDCard_Driver.c:60:15: warning: (near initialization for 'SpiEvent.RxBufferHalfFull') [-Wmissing-field-initializers]
    source/SDCard/BCDS_SDCard_Driver.c:61:21: warning: missing initializer [-Wmissing-field-initializers]
    source/SDCard/BCDS_SDCard_Driver.c:61:21: warning: (near initialization for 'emptyEvent.RxBufferHalfFull') [-Wmissing-field-initializers]
    Build source/Functions.c
    Build source/XProtocol.c
    Build source/Delay.c
    Build source/NVM/BCDS_NVM.c
    Build source/LeanB2CAP.c
    Build source/Signal.c
    Build source/BSP_Button.c
    Build source/Mutex.c
    Build source/Max44009/Max44009.c
    Build source/RingBuffer.c
    Build source/BSP_LED.c
    Build source/Retcode.c
    Build source/TLV.c
    Build source/mcu/efm32/I2C.c
    Build source/BSP_LoRa_RN2xx3.c
    Build source/UartTransceiver.c
    Build source/Max31865/Max31865.c
    Build source/mcu/efm32/Gpio.c
    Build source/Max31865/SPISensorTransceiver.c
    Build source/BSP_BT_EM9301.c
    Build source/Logging/Logging.c
    Build source/ADXL372/ADXL372.c
    Build source/mcu/efm32/UART.c
    Build source/Logging/Filter.c
    source/mcu/efm32/UART.c: In function 'MCU_UART_Initialize':
    source/mcu/efm32/UART.c:232:10: warning: case value '4' not in enumerated type 'enum BCDS_HAL_TransferMode_E' [-Wswitch]
    source/mcu/efm32/UART.c:236:10: warning: case value '5' not in enumerated type 'enum BCDS_HAL_TransferMode_E' [-Wswitch]
    source/mcu/efm32/UART.c: In function 'UART_Send_Async':
    source/mcu/efm32/UART.c:426:6: warning: case value '4' not in enumerated type 'enum BCDS_HAL_TransferMode_E' [-Wswitch]
    source/mcu/efm32/UART.c: In function 'UART_Receive_Async':
    source/mcu/efm32/UART.c:482:9: warning: case value '5' not in enumerated type 'enum BCDS_HAL_TransferMode_E' [-Wswitch]
    Build source/BSP_Charger_BQ2405X.c
    Build source/Logging/Carbon/LogRecordAsyncCompact.c
    Build source/BSP_USB.c
    source/Logging/Carbon/LogRecordAsyncCompact.c: In function 'AsyncRecorder_Write':
    source/Logging/Carbon/LogRecordAsyncCompact.c:171:13: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'TickType_t' [-Wformat]
    source/Logging/Carbon/LogRecordAsyncCompact.c:171:13: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat]
    source/Logging/Carbon/LogRecordAsyncCompact.c:171:13: warning: format '%d' expects argument of type 'int', but argument 10 has type 'uint32_t' [-Wformat]
    source/Logging/Carbon/LogRecordAsyncCompact.c:171:13: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'TickType_t' [-Wformat]
    source/Logging/Carbon/LogRecordAsyncCompact.c:171:13: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat]
    source/Logging/Carbon/LogRecordAsyncCompact.c:171:13: warning: format '%d' expects argument of type 'int', but argument 10 has type 'uint32_t' [-Wformat]
    Build source/mcu/efm32/SPI.c
    Build source/Logging/Carbon/efm32/UartAppender.c
    0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
    AllocationBase 0x0, BaseAddress 0x60EA0000, RegionSize 0x320000, State 0x10000
    C:\XDK-Workbench\XDK\msys\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
    C:/XDK-Workbench/XDK/SDK/xdk110/Common/common.mk:130: recipe for target 'C:/XDK-Workbench/XDK/SDK/xdk110/Platform/BSP/debug/object/source/BSP_Charger_BQ2407X.o' failed
    mingw32-make[2]: *** [C:/XDK-Workbench/XDK/SDK/xdk110/Platform/BSP/debug/object/source/BSP_Charger_BQ2407X.o] Error 1
    mingw32-make[2]: Leaving directory 'C:/XDK-Workbench/XDK/SDK/xdk110/Platform/BSP'
    Libraries.mk:121: recipe for target '../Platform/BSP/debug/libBSP_efm32_debug.a' failed
    mingw32-make[1]: *** [../Platform/BSP/debug/libBSP_efm32_debug.a] Error 2
    mingw32-make[1]: *** Waiting for unfinished jobs....
    Build source/PT100xCVD/PT100xCVD.c
    Build source/mcu/efm32/Watchdog.c
    Build source/ErrorLogger.c
    ========================================
    Build source/Carbon/CmdProcessor.c
    Library created: C:/XDK-Workbench/XDK/SDK/xdk110/Platform/Drivers/debug/libDrivers_efm32_debug.a
    ========================================
    mingw32-make[2]: Leaving directory 'C:/XDK-Workbench/XDK/SDK/xdk110/Platform/Drivers'
    Build source/mcu/efm32/Flash.c
    Build source/Carbon/GuardedTask.c
    Build source/mcu/efm32/LEUART.c
    Build source/mcu/efm32/Timer.c
    Build source/Carbon/Queue.c
    Build source/Carbon/EventHub.c
    Build source/Carbon/I2CTransceiver.c
    Build source/mcu/efm32/Sleep.c
    ========================================
    Library created: C:/XDK-Workbench/XDK/SDK/xdk110/Platform/Utils/debug/libUtils_efm32_debug.a
    ========================================
    mingw32-make[2]: Leaving directory 'C:/XDK-Workbench/XDK/SDK/xdk110/Platform/Utils'
    ========================================
    Library created: C:/XDK-Workbench/XDK/SDK/xdk110/Platform/Essentials/debug/libEssentials_efm32_debug.a
    ========================================
    mingw32-make[2]: Leaving directory 'C:/XDK-Workbench/XDK/SDK/xdk110/Platform/Essentials'
    mingw32-make[1]: Leaving directory 'C:/XDK-Workbench/XDK/SDK/xdk110/Common'
    Makefile:59: recipe for target 'debug' failed
    mingw32-make: *** [debug] Error 2
    "mingw32-make -j 2 -j4 debug" terminated with exit code 2. Build might be incomplete.

    15:35:41 Build Failed. 7 errors, 14 warnings. (took 20s.911ms)

    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist