This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BIOS RTSC platform question

I have a question about the RTSC platforms, or more specifically, how to delete old ones.

I created two different custom platforms for a C6748.  I used ${PROJECT_LOC}/Platform as my repository.  We decided on which platform we want to use, and now I'm having trouble removing the unused one.  When I delete the platform folder and recompile my code, CCS gives me an error

gmake: *** No rule to make target `C:/TFS Projects/Optimus Realtime/Source/Dev/Platform/evmc6748_optimus_wlink/config.bld', needed by `configPkg/compiler.opt'.

Luckily, since I'm using TFS, I can revert... but we would still like to get rid of the unused platform.

Does anyone know how to properly remove old platform files?

  • Chris,
    can you give more details about the directory structure and the platforms under ${PROJECT_LOC}/Platform? What are the names of the platform packages? Which one is the one to be deleted?

  • Hi Sasha,

    The two platforms I created are evmc6748_optimus_realtime and evmc6748_optimus_wlink

    I'm trying to get rid of the evmc6748_optimus_wlink

    The directory structure is a little weird because our TFS server likes things set up that way.

    ${PROJECT_LOC} corresponds to C:\TFS Projects\Optimus Realtime\Source\Dev

  • Can you clean the project first, then verify that in Project Properties->CCS General->RTSC, you entered evmc6748_optimus_realtime under Platform, and then rebuild. Please post makefile, objects.mk, sources.mk, subdir_rules.mk and subdir_vars.mk.

    I don't know how config.bld from the platform package ended up in any of the makefiles. Have you typed in anything into Project Properties->CCS Build->XDCtools->Advances Options->Build configuration file?

    Also, please post the complete console output for the build when you get the error.

  • Sashs,

    I don't remember adding this... but..Project Properties->CCS Build->XDCtools->Advances Options->Build configuration file  specifies the optimus_wlink\config.bld file

    I changed that to be the optimus_realtime.bld file, cleaned it, and it built with no errors.  Thank you very much for the assistance!

  • Are these files created by the Platform Wizard or are they created by you? In most cases, these files are there for building the platform not for building the configurations where the platforms are used. Unless you know the exact reason for using these files, you probably want to leave that field (Build configuration file) empty. 

  • The files were created by the platform wizard. I will leave it blank.  Thanks again.