*.appli file with librarian

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

*.appli file with librarian

Jump to solution
1,438 Views
s_kalop
Contributor I

Hello.

I have two projects for msc8156 in CW 10.2.1: simple library project and StarCore project using that library. Library has some large array of data which i want to place in DDR with help of *.appli file. I wrote this appli file for project, not a library, built both, but this fails and large array was placed in M2. So i wrote appli for library project, built it, than built main project without *.appli and array was successfully placed in DDR. I don't understand how it can be. I suppose that library project do not use linker and using *.appli file makes sense only for "application" project type. What is my fault? Thanks.

Labels (1)
0 Kudos
Reply
1 Solution
1,259 Views
CrasyCat
Specialist III

Hello

In fact when you place an object in a user defined section inside of a .appli file, the assignment is performed at compilation time.

So if you intend to place a variable into DDR, you need to associate the .appli file to the project which is generating the library.

The section where the variable is allocated is stored in the.eln file generated by the compiler.

CrasyCat

View solution in original post

0 Kudos
Reply
2 Replies
1,260 Views
CrasyCat
Specialist III

Hello

In fact when you place an object in a user defined section inside of a .appli file, the assignment is performed at compilation time.

So if you intend to place a variable into DDR, you need to associate the .appli file to the project which is generating the library.

The section where the variable is allocated is stored in the.eln file generated by the compiler.

CrasyCat

0 Kudos
Reply
1,259 Views
s_kalop
Contributor I

Thank you.

0 Kudos
Reply