How to configure internal information for mapfile generated by modus?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
JCD
Level 3
Level 3
50 sign-ins 25 sign-ins 10 replies posted

Hello,

    How to configure internal information for mapfile generated by modus?

Best wishes,

JCD

0 Likes
1 Solution
Charles_Lai
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 sign-ins

Hi,

You can't check the size of RAM/ROM occupied by each .c file only by configuration. Or you might sum up the size of each .c file manually.

Because the linker doesn't regard the .c files as individuals but as a whole. It doesn't know how many functions are in a specific .c file.

Best regards

View solution in original post

0 Likes
3 Replies
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

Could you detail you questions? 

What do you want to configure?

0 Likes

Hello @LinglingG_46 ,

    Thank you for your reply !

    Question:The information contained in the mapfile generated by modus is the RAM/ROM size occupied by each function .But what I want to check is the size of RAM/ROM occupied by each .c file .

    So how do I need to configure modus to achieve my purpose? 

    (Generate mapfile like MDK keil

Best wishes,

JCD

0 Likes
Charles_Lai
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 sign-ins

Hi,

You can't check the size of RAM/ROM occupied by each .c file only by configuration. Or you might sum up the size of each .c file manually.

Because the linker doesn't regard the .c files as individuals but as a whole. It doesn't know how many functions are in a specific .c file.

Best regards

0 Likes