Forums - Problem with IAR linker QCA4020

2 posts / 0 new
Last post
Problem with IAR linker QCA4020
scarfys
Join Date: 11 Oct 17
Posts: 7
Posted: Mon, 2019-04-01 06:05

Hi,

I am following "QCA402x Programmers Guide 80-Y9381-2 Rev. F November 16, 2018" for IAR and I want to compile the Quartz_4020_V2-ThreadX demo. At this point I am having problems for compiling it.

This is my configuration:

  1. Python 2.7.16
  2. IAR Embedded Workbench for ARM: 8.11.1.13272
  3. IAR Embedded Workbench shared components: 8.0.6.4851
  4. SDK QCA4020.OR.3.0_00011.1
  5. prepare.bat 4020 Compiles well
  6. prepare_linker_script.bat Generates the linker for ThreadX correctly.
  7. When I open the IAR project for first time I get the following message: "Broken options were detected in the project file. A backup copy will be made. (See log window for details)"
  8. When I try to compile the project I get several warnings like: Warning[Pe301]: typedef name has already been declared (with same type) D:\Projectes_codis\7_QCA4020\SDK\quartz\demo\QCLI_demo\src\zigbee\zcl_demo.h 91  zdp_demo.c
  9. Finally I get an error Linker:  Error[Lt006]: Incompatible object(s): fpinit_M.o(m7M_tlv.a) and 5 other objects use VFP instructions incompatible with VFPv2 (derived from attributes in mom_patch_table_ARNTRI_qcm.o and 674 other objects use)
    Error while running Linker

In QCA402x Programmers Guide it seems that are using the IAR version 7 but they supporting the 8.11.2

Do you have any suggestion?

Thank you

 

 

  • Up0
  • Down0
scarfys
Join Date: 11 Oct 17
Posts: 7
Posted: Tue, 2019-04-02 08:47

We have asked to IAR people the version 8.11.2 and now it compiles fine.

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.