Tool/software: TI C/C++ Compiler
Dear TI team,
I was trying to create some custom run time library with the latest compiler version v20.2.0.1. I have successfully created a Ram run time library, rts_TMS320F28388D_Ram_Lib which includes some memory, string, and trigonometric functions with the help of the batch files.
Following source/asm files I am using in my ram library:
sin_f32.asm |
cos_f32.asm |
atan2_f32.asm |
FPUmathTables.asm |
memcmp.c |
memcpy.c |
memset.c |
strcmp.c |
string.h |
math.h |
The following are my compiler linker options used to help me to generate ram.lib file:
SET COMPILER_FLAGS= -v28 -mt --float_support=fpu32 --include_path="./code/rts_TMS320F28388D_Flash_Lib" --include_path="./code/rts_TMS320F28388D_Ram_Lib" --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/include" -k -al -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency.
I tried to compile this library by creating a new CCS project.
Here is the screenshot of the expansion of my project in project explorer:
PS: Don't get confused with the linker file name as I am trying to flash this on the F28379D eval board. And both the controller uses the same run time library source files.
I am successfully able to compile the linker file with an empty main.c but when I am calling atan2f() function I am getting following errors:
I have also attached the list of warning I am getting while compiling the project:
I am using spru514t document for my reference to handle the customization.
I believe I am missing some dependent source files or might missing some additional process/ configuration to build it. Would you help tell me why?
Thanks!