How to enable and import CCS project in ASM MCAL?
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.
How to enable and import CCS project in ASM MCAL?
2. Things to NOTE:
Am263X Projectspec | Am263PX Projectspec |
1488.example.projectspec | dio.projectspec |
Create a folder 'ti-arm-clang' in 'mcal_dir/mcal/examples/Dio/soc/<am263 or am263px>/r5f0_0' directory.
Copy example.project_spec and paste it into Dio example's ti-arm-clang folder.
Folder/File
|
Description
|
Destination (CCS workspace/ MCAL)
|
---|---|---|
Drivers | Contains source of all MCAL drivers | Linked to MCAL files |
examples_config | Contains configuration files for all examples in MCAL | Copied into CCS workspace |
Include | Some headerfiles required for building examples and drivers | Linked to MCAL files |
Utils | Utils code required in examples | Copied into CCS workspace |
DioApp.c | Dio example | Copied into CCS workspace |
DioApp_Startup.h | Startup headerfile for Dio example | Copied into CCS workspace |
DioApp_Startup.c | Startup code for Dio example | Copied into CCS workspace |
lnk_r5_am263_CLANG.cmd | Linker file | Copied into CCS workspace |
sys_intvecs.asm | assembly file | Copied into CCS workspace |
sys_startup.asm | assembly file | Copied into CCS workspace |
All source files of driver are linked to MCAL source code. And users are not allowed to update code of MCAL drivers.
By default, CCS import of MCAL SDK example projects performs a copy of example, example configuration, utils files to CCS workspace. User is free to modify the example files without affecting the files in the MCAL SDK installed location. Deleting the CCS project, deletes the project files from CCS workspace. User should be careful especially when the copied example files are modified by user.
All drivers and example configuration files are already added in this projectspec, and user can use any module in this CCS project.
compilerBuildOptions_asm="-x ti-asm" is used for building MCAL assembly files in CCS.
Select "Build Project" to build it.
Regards,
Gunjan
Hi Ricky,
Thanks for informing, updated link for example.projectspec.
Please check if it works for you now.
Best Regards,
Gunjan
Hi Gunjan,
Sorry for taking so long to reply to you, because I originally hoped to get the latest am263x MCAL package first and try it out before confirming with you.
But unfortunately, I haven't been approved to download until now.
Therefore, I would like to ask for your help.
Best Regarts,
Ricky
Hello Ricky,
I am able to download 1680.example.projectspec attached in this FAQ.
Are you not able to download projectspec or MCAL package? If MCAL package then creating a new E2E will help.
Best Regards,
Gunjan