AnsweredAssumed Answered

BF609 MSC class example does not build

Question asked by pburkert Employee on Jul 15, 2014
Latest reply on Jul 22, 2014 by CraigG


HI All

 

I successfully built and ran the BF526 USB MSC class example. Now attempting the same for the BF609 and getting build errors related to usbd_drv_adi.c

 

I'm getting many errors but here is the first in the list:

"idenitfier "ADI_USBD_DEV_API" is undefined"

 

I did follow these steps:

 

If you have the µC/OS-III Product installed you can add it to your project and remove the following from the Project Properties, for all build configurations.

  1. C/C++ Build => Settings => CrossCore Blackfin Linker => "Additional Options": -L${COM_ANALOG_MICRIUM_UCUSBD_1_0_1_LOC}/Blackfin/lib/bf609_rev_any
    libuccpu.dlb
    libuclib.dlb
    libucos3.dlb
    libosal_ucos3.dlb 
  2. C/C++ Build => Settings => CrossCore Blackfin C/C++ compiler => Preprocessor => Additional include directories and C/C++ Build => Settings => CrossCore Blackfin C/C++ Assembler => Preprocessor => Additional include directories : 

    "${COM_ANALOG_MICRIUM_UCUSBD_1_0_1_LOC}/Blackfin/include/uCOS-III"

And do the following:

  1. Add the µC/OS-III™ Real-Time Kernel for CrossCore® Embedded Studio component release 1.0.0 or 1.0.1 to your project. 
  2. Ensure the following is set under C/C++ Build => Settings => CrossCore Blackfin C/C++ compiler => Preprocessor => Preprocessor definitions:  ADI_USE_UCOS3_SOURCE  

    This variable will be set automatically by release 1.0.1 of the RTOS

 

 

Has anyone else seen this? I am running Crosscore 1.1, uCOS-III v1.0.0

 

Thanks,

 

Phil

Outcomes