Porting C++ source code for blackfin to sharc

I am trying to build "C++ project for sharc" which is currently for Blackfin.

I am getting the below error. Please help me to resolve.

C:\Program Files (x86)\Analog Devices\VisualDSP 5.1\Blackfin\include\bfrom.h", line 35: cc0035: catastrophic error:
#error directive: Unsupported processor detected in Blackfin Boot
ROM Header bfrom.h: A valid ADSP-BF52x, ADSP-BF54x, ADSP-BF51x,
ADSP-BF50x or ADSP-BF59x processor macro is not defined
#error Unsupported processor detected in Blackfin Boot ROM Header bfrom.h: A valid ADSP-BF52x, ADSP-BF54x, ADSP-BF51x, ADSP-BF50x or ADSP-BF59x processor macro is not defined

  • 0
    •  Analog Employees 
    on Sep 1, 2016 7:46 AM

    Hi Anusha,

    It looks like the errors are related to blackfin processor header files. Hence I assume that you are directly porting the Blackfin processor code to SHARC processor. I suggest that you can create a new project for SHARC processor and take a copy of application C++ code which is available in the Blackfin project.You can use that application code in the SHARC project and add a header files for the respective processor. Please check if this works in your side.

    Regards,

    Jithul.

  • 0
    •  Analog Employees 
    on Aug 2, 2018 3:34 PM
    This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.

    Thank you,
    EZ Admin