Post Go back to editing

EV-SC598-EZKIT-Audio-Starter 2.0.0 build failure with CCES 3.1.0

Thread Summary

The user encountered build errors with the EV-SC598-EZKIT-Audio-Starter project (release 2.0.0) in CCES 3.1.0. The final answer confirms that CCES 3.1.0 is not supported, and recommends using CCES 3.0.3 instead. The errors are due to changes in _GLOBAL_REENT and adi_rtl_get_tls_ptr() in CCES 3.1.0. The user can download CCES 3.0.2 from the provided link for legacy versions.
AI Generated Content
Category: Software

Hello,

I'm trying to build the official EV-SC598-EZKIT-Audio-Starter project from GitHub:

github.com/.../EV-SC598-EZKIT-Audio-Starter (branch/tag: 2.0.0-Github).

My hardware setup is:

  • EV-SOMCRR-EZKIT
  • EV-SC598-SOM
  • ADZS-AD2428MINI
  • EVAL-AD2428WC4BZ

I installed CrossCore Embedded Studio 3.1.0 and followed the README instructions on the repository to build the code, but I'm getting the following error:

Questions:

  1. Is the EV-SC598-EZKIT-Audio-Starter release 2.0.0 officially supported with CCES 3.1.0?
  2. Has the runtime API for _GLOBAL_REENT and/or adi_rtl_get_tls_ptr() changed between CCES 3.0.2 and 3.1.0?
  3. Is there a patch, updated branch, or recommended workaround for building this project with CCES 3.1.x?
  4. If CCES 3.0.2 is required, where can I obtain the installer? I was unable to find an archive download.

Any guidance would be appreciated.

Thanks,

Francesco



Parents
  • Although we currently do not support Audio Starter, The two errors in the screenshot are due to:

    • THREAD_INIT_STDIO() -  lvalue required as unary '&' operand
      _GLOBAL_REENT is no longer a mutable pointer in CCES 3.1.0. It is now a fixed address expression, so &_GLOBAL_REENT is illegal.
    • THREAD_FREE_STDIO() -  implicit declaration of adi_rtl_get_tls_ptr  Add a forward declaration near the top of cces_hacks.c:    
      extern void *adi_rtl_get_tls_ptr(void);
Reply
  • Although we currently do not support Audio Starter, The two errors in the screenshot are due to:

    • THREAD_INIT_STDIO() -  lvalue required as unary '&' operand
      _GLOBAL_REENT is no longer a mutable pointer in CCES 3.1.0. It is now a fixed address expression, so &_GLOBAL_REENT is illegal.
    • THREAD_FREE_STDIO() -  implicit declaration of adi_rtl_get_tls_ptr  Add a forward declaration near the top of cces_hacks.c:    
      extern void *adi_rtl_get_tls_ptr(void);
Children
No Data

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.