Reply
Posts: 7
Registered: ‎11-25-2015

IAR Compiler error when trying to build sample HA project

[ Edited ]

Hello,

 

I'm getting the error msg below when I try to compile a sample HA project.  any help trying to solve this is appreciated.

regards Nick

 

Diagnostics: 'Settings 'STLINK_ID': unsupported version - '.
Options for 'STLINK_ID' will be set to default.
LOAD: Configuration 'Normal' in the project 'HaSampleGatewaySoc' contains broken options for tool 'XDS100_ID':
The format of this file is not supported by this version of the workbench. It appears to have been written by a newer version of the workbench.

Diagnostics: 'Settings 'XDS100_ID': unsupported version - '.
Options for 'XDS100_ID' will be set to default.
Changed project file will force a full rebuild: D:\SiliconLabs\SimplicityStudio\v4\developer\sdks\gecko_sdk_suite\v1.0\app\builder\HaSampleGatewaySoc\
HaSampleGatewaySoc.ewp

Highlighted
Posts: 7
Registered: ‎11-25-2015

Re: IAR Compiler error when trying to build sample HA project

Goetting a bit further with this,  I added the Compiler under build configuration,  restarted SS , then built the project in the debug config,  this time got the follwoing error message:

 

Building target: HaSampleGatewaySoc.out
Invoking: IAR Linker for ARM
ilinkarm ./simple-main/simple-main.o ./sim-eeprom2/EM357/sim-eeprom2.o ./reporting/reporting-cli.o ./reporting/reporting.o ./network-find/network-find.o ./idle-sleep/idle-sleep-cli.o ./idle-sleep/idle-sleep-soc.o ./idle-sleep/idle-sleep.o ./identify-feedback/identify-feedback.o ./identify/identify-cli.o ./identify/identify.o ./hal-library/EM357/coexistence-em3xx.o ./form-and-join/form-and-join-afv2.o ./form-and-join/form-and-join-node-adapter.o ./form-and-join/form-and-join.o ./ezmode-commissioning/ez-mode-cli.o ./ezmode-commissioning/ez-mode.o ./external-generated-files/bootloader-interface-app.o ./external-generated-files/bootloader-interface.o ./ember-minimal-printf/ember-printf.o ./em35x/assert-crash-handlers.o ./em35x/button.o ./em35x/buzzer-em3xx.o ./em35x/cstartup-common.o ./em35x/diagnostic.o ./em35x/ext-device.o ./em35x/faults.o ./em35x/isr-stubs.o ./em35x/led.o ./em35x/mfg-token.o ./em35x/micro-common.o ./em35x/micro.o ./em35x/mpu.o ./em35x/sleep.o ./em35x/spi-master.o ./em35x/token.o ./em35x/uart.o ./concentrator/concentrator-support-cli.o ./concentrator/concentrator-support.o ./concentrator/source-route-common.o ./concentrator/source-route.o ./antenna-stub/antenna-stub.o ./adc/EM357/adc-em3xx.o ./HaSampleGatewaySoc_callbacks.o ./af-event.o ./af-main-common.o ./af-main-soc.o ./af-node.o ./af-security-common.o ./af-trust-center.o ./afv2-bookkeeping.o ./attribute-size.o ./attribute-storage.o ./attribute-table.o ./call-command-handler.o ./callback-stub.o ./callbacks.o ./cli.o ./client-api.o ./command-interpreter2.o ./core-cli.o ./crc.o ./crypto-state.o ./descriptors.o ./em_usbd.o ./em_usbdch9.o ./em_usbdep.o ./em_usbhal.o ./em_usbint.o ./em_usbtimer.o ./ember-base-configuration.o ./ember-configuration.o ./endian.o ./library.o ./mem-util.o ./message.o ./multi-network.o ./network-cli.o ./option-cli.o ./plugin-cli.o ./print-formatter.o ./print.o ./process-cluster-message.o ./process-global-message.o ./random.o ./security-address-cache.o ./security-cli.o ./serial.o ./service-discovery-common.o ./service-discovery-soc.o ./stack-handler-stub.o ./time-util.o ./token-def.o ./util.o ./zcl-cli.o ./zdo-cli.o ./zigbee-device-common.o ./zigbee-device-library.o -o "HaSampleGatewaySoc.out" --config "D:/SiliconLabs/SimplicityStudio/v4/developer/sdks/gecko_sdk_suite/v1.0/platform/base/hal/micro/cortexm3/em35x/em357/iar-cfg.icf" --config_def APP_BTL=1 --config_def FLASH_SIZE=196608 --config_def RAM_SIZE=12288 --no_wrap_diagnostics "D:/SiliconLabs/SimplicityStudio/v4/developer/sdks/gecko_sdk_suite/v1.0//protocol/zigbee_5.9/build/rf4ce-stack-stub-library-cortexm3-iar-em357-em3xx/rf4ce-stack-stub-library.a" "D:/SiliconLabs/SimplicityStudio/v4/developer/sdks/gecko_sdk_suite/v1.0//protocol/zigbee_5.9/build/cbke-283k1-stub-library-cortexm3-iar-em357-em3xx/cbke-283k1-stub-library.a" "D:/SiliconLabs/SimplicityStudio/v4/developer/sdks/gecko_sdk_suite/v1.0//protocol/zigbee_5.9/build/cbke-stub-library-cortexm3-iar-em357-em3xx/cbke-stub-library.a" "D:/SiliconLabs/SimplicityStudio/v4/developer/sdks/gecko_sdk_suite/v1.0//protocol/zigbee_5.9/build/cbke-library-dsa-sign-stub-cortexm3-iar-em357-em3xx/cbke-library-dsa-sign-stub.a" "D:/SiliconLabs/SimplicityStudio/v4/developer/sdks/gecko_sdk_suite/v1.0//protocol/zigbee_5.9/build/enhanced-beacon-request-stub-library-cortexm3-iar-em357-em3xx/enhanced-beacon-request-stub-library.a" "D:/SiliconLabs/SimplicityStudio/v4/developer/sdks/gecko_sdk_suite/v1.0//protocol/zigbee_5.9/build/cbke-library-dsa-verify-stub-cortexm3-iar-em357-em3xx/cbke-library-dsa-verify-stub.a" "D:/SiliconLabs/SimplicityStudio/v4/developer/sdks/gecko_sdk_suite/v1.0//protocol/zigbee_5.9/build/sim-eeprom2-1to2-upgrade-library-cortexm3-iar-em357-em3xx/sim-eeprom2-1to2-upgrade-library.a" "D:/SiliconLabs/SimplicityStudio/v4/developer/sdks/gecko_sdk_suite/v1.0//protocol/zigbee_5.9/build/debug-basic-library-cortexm3-iar-em357-em3xx/debug-basic-library.a" "D:/SiliconLabs/SimplicityStudio/v4/developer/sdks/gecko_sdk_suite/v1.0//protocol/zigbee_5.9/build/debug-extended-stub-library-cortexm3-iar-em357-em3xx/debug-extended-stub-library.a" "D:/SiliconLabs/SimplicityStudio/v4/developer/sdks/gecko_sdk_suite/v1.0//protocol/zigbee_5.9/build/zll-stub-library-cortexm3-iar-em357-em3xx/zll-stub-library.a" "D:/SiliconLabs/SimplicityStudio/v4/developer/sdks/gecko_sdk_suite/v1.0//protocol/zigbee_5.9/build/gp-stub-library-cortexm3-iar-em357-em3xx/gp-stub-library.a" "D:/SiliconLabs/SimplicityStudio/v4/developer/sdks/gecko_sdk_suite/v1.0//protocol/zigbee_5.9/build/multi-network-stub-library-cortexm3-iar-em357-em3xx/multi-network-stub-library.a" "D:/SiliconLabs/SimplicityStudio/v4/developer/sdks/gecko_sdk_suite/v1.0//protocol/zigbee_5.9/build/install-code-library-stub-cortexm3-iar-em357-em3xx/install-code-library-stub.a" "D:/SiliconLabs/SimplicityStudio/v4/developer/sdks/gecko_sdk_suite/v1.0//protocol/zigbee_5.9/build/hal-library-cortexm3-iar-em357-em3xx/hal-library.a" "D:/SiliconLabs/SimplicityStudio/v4/developer/sdks/gecko_sdk_suite/v1.0//protocol/zigbee_5.9/build/binding-table-library-cortexm3-iar-em357-em3xx/binding-table-library.a" "D:/SiliconLabs/SimplicityStudio/v4/developer/sdks/gecko_sdk_suite/v1.0//protocol/zigbee_5.9/build/zigbee-pro-stack-cortexm3-iar-em357-em3xx/zigbee-pro-stack.a" "D:/SiliconLabs/SimplicityStudio/v4/developer/sdks/gecko_sdk_suite/v1.0//protocol/zigbee_5.9/build/end-device-bind-stub-library-cortexm3-iar-em357-em3xx/end-device-bind-stub-library.a" "D:/SiliconLabs/SimplicityStudio/v4/developer/sdks/gecko_sdk_suite/v1.0//protocol/zigbee_5.9/build/security-library-link-keys-stub-cortexm3-iar-em357-em3xx/security-library-link-keys-stub.a" "D:/SiliconLabs/SimplicityStudio/v4/developer/sdks/gecko_sdk_suite/v1.0//protocol/zigbee_5.9/build/cbke-163k1-stub-library-cortexm3-iar-em357-em3xx/cbke-163k1-stub-library.a" "D:/SiliconLabs/SimplicityStudio/v4/developer/sdks/gecko_sdk_suite/v1.0//protocol/zigbee_5.9/build/security-library-core-cortexm3-iar-em357-em3xx/security-library-core.a" "D:/SiliconLabs/SimplicityStudio/v4/developer/sdks/gecko_sdk_suite/v1.0//protocol/zigbee_5.9/build/packet-validate-library-cortexm3-iar-em357-em3xx/packet-validate-library.a" "D:/SiliconLabs/SimplicityStudio/v4/developer/sdks/gecko_sdk_suite/v1.0//protocol/zigbee_5.9/build/cbke-library-dsa-verify-283k1-stub-cortexm3-iar-em357-em3xx/cbke-library-dsa-verify-283k1-stub.a" "D:/SiliconLabs/SimplicityStudio/v4/developer/sdks/gecko_sdk_suite/v1.0//protocol/zigbee_5.9/build/sim-eeprom2-library-cortexm3-iar-em357-em3xx/sim-eeprom2-library.a" --entry halEntryPoint --map "D:/SiliconLabs/SimplicityStudio/v4/developer/sdks/gecko_sdk_suite/v1.0/app/builder/HaSampleGatewaySoc/IAR ARM - Debug/HaSampleGatewaySoc.map" --log_file "D:/SiliconLabs/SimplicityStudio/v4/developer/sdks/gecko_sdk_suite/v1.0/app/builder/HaSampleGatewaySoc/IAR ARM - Debug/HaSampleGatewaySoc.log" --log initialization,modules,sections,veneers --diag_suppress=Lp012 --diag_suppress=Lp012 --redirect _Printf=_PrintfSmall --redirect _Scanf=_ScanfFull

IAR ELF Linker V7.30.1.7746/W32 for ARM
Copyright 2007-2014 IAR Systems AB.
Internal error: [CoreUtil/General]: Illegal value for Tag_ABI_VFP_args
Fatal error detected, aborting.
make: *** [HaSampleGatewaySoc.out] Error 3

 

 

Any help solving this appreciated.

 

Nick

Posts: 5
Registered: ‎06-15-2016

Re: IAR Compiler error when trying to build sample HA project

I see that you're using IAR 7.30.  Znet stacks 5.8.0 and newer require IAR 7.80.2.  You can check IAR version compatibility for Silicon Labs mesh stacks in the following KBA: http://community.silabs.com/t5/Mesh-Knowledge-Base/Versions-of-IAR-EWARM-Compiler-Software-for-Wirel...