NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.
DA8xx How to remove THX from Y13 Build
Introduction[edit]
Unlike other ASPs, THX needs special care to remove. Followings are steps of it.
Procedure[edit]
- Right click pa_y13_evmda830 in C/C++ Projects
- Select Build Propaties...
- Tool Settings Tab -> Predefined Symbols
- Delete "THX" define
- Tool Settings Tab -> Command Files
- Delete "t:/pa/f/s19/thx_incl.opt"
- Open t:/pa/f/s19/y13/alpha/y13_a.h
- Delete following include headers
- #include <asa_a.h>
- #include <bc_a.h>
- #include <tm_a.h>
- #include <ad_a.h>
- #include <req_a.h>
- #include <bgc_a.h>
- #include <ass_a.h>
- Delete following files from project
- Add ipce_cus.c to the project.
- Add following lines to the end of ipce_cus.c
- asm (" .global _IPCE_PARAMS");
- asm ("_IPCE_PARAMS .set _IPCE_PARAMS_CUS");
- Edit patches.c as below
- #include <pce.h>
- #include <pce_tii.h>
- extern const IPCE_Params IPCE_PARAMS_CUS;
- //extern const IPCE_Params IPCE_PARAMS_THX_EXT; // use if extended channels needed
- //extern const IPCE_Params IPCE_PARAMS_THX; // use if 7.1 channels needed
- //extern const IPCE_Params IPCE_PARAMS_CUS_SEC;
- //extern const IPCE_Params IPCE_PARAMS_MYDEL_EXT; // use if extended channels needed
- const PAF_ASP_LinkInit encLinkInitY13[] =
- {
- PAF_ASP_LINKINITPARAMS (STD,PCE,TII,&IPCE_PARAMS_CUS),
- PAF_ASP_LINKNONE,
- };
- static const PAF_ASP_LinkInit encLinkInitY13Secondary[] =
- {
- PAF_ASP_LINKINITPARAMS(STD,PCE,TII,&IPCE_PARAMS_CUS),
- PAF_ASP_LINKNONE,
- };