Hi ADI support,
we have had problems trying to build the default app for ADSP21569 from < Software Modules folder > \SigmaStudioForSHARC-SH-Rel4.5.0\Target\Examples\Demo\”.
following instruction from AE_42_SS4G_QuickStartGuide.pdfWe are using CCES 2.9.1 and we have latest SigmaStudioForSHARC software module version 4.5.0.We import the project into our workspace, we clean it before start, but some errors occours.The build it's ok but the linking fail with this error :
[Error li1021] The following symbols referenced in processor '21569_CORE0_SHARC0' could not be resolved:
'adi_sport_GetBuffer [adi_sport_GetBuffer.]' referenced from 'Source\Framework\adi_ss_fw_sport.doj'
Linker finished with 1 error and 3 warnings
cc3089: fatal error: Link failed (code:1)
make: *** [SS_App_Core1.dxe] Error 1The adi_sport_GetBuffer seem to be missing and cannot be linked correctly.
Searching for adi_sport_GetBuffer we found it in the "adi_sport_2156x.c" from cces folder C:\Analog Devices\CrossCore Embedded Studio 2.9.1\SHARC\lib\src\drivers\Source\sport the file is referenced by adi_sporc.c included in the SS_App_Core1 project but something wrong.We think that we are doing something wrong because the ready to use ldr work fine.What we wrong?Thank you.
You can compile ADSP-21569 demo application with following update to the CCES SHARC SPORT driver file,
C:\Analog Devices\CrossCore Embedded Studio 2.9.1\SHARC\include\drivers\sport\adi_sport_2156x.h
#define ADI_SPORT_BLOCKING_MODE 1u
It work Thanks!!