Skip to main content
canbu22
Associate III
April 6, 2018
Question

X-CUBE-AVS-v1.0.0 project compilation errors in IAR Tools(STAVS Demo)

  • April 6, 2018
  • 1 reply
  • 654 views
Posted on April 07, 2018 at 01:11

Anyone tried to compile the STAVS (STM32F769I-Alexa Voice Service Demo) project? (on IAR Toolchain)

Unable to compile the X-CUBE-AVS-v1.0.0 project (Alexa Voice Service Demo for STM32F769 Discovery Board) using the IAR Toolchain (ver 8.20)

It gives the following error :

Warning[Lt009]: Inconsistent wchar_t size

http2_client_stream.o(http2_lwip_CM7_wc16_ot.a) and 12 other objects in 2 different libraries have wchar_t size 16 bits

aes.o and 440 other objects, some of them in dl7M_tlf.a and 93 other libraries have wchar_t size 32 bits

Error[Li005]: no definition for '__aeabi_read_tp' [referenced from errno.o(dl7M_tlf.a)]

Error while running Linker
    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    April 7, 2018
    Posted on April 07, 2018 at 03:56

    IAR messed with wchar moving from 7.80 to 8.20, they might have info on their site about how to mitigate or resolve this issue. You might try using an older version of the tools.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..