Skip to main content
ckim.2390
Associate II
March 29, 2023
Question

How to create ***.map file at build time?

How to create ***.map file at build time?

Or, in which file is the build information for the executable file written?

This topic has been closed for replies.

2 replies

ST Technical Moderator
March 31, 2023

@ckim.2390​ Hi,

Could you specify your toolchain?

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL
ckim.2390
ckim.2390Author
Associate II
April 4, 2023

sorry.

I don't know in detail.

I initially set the map file option in the "./cmake/st-project.cmake" file.

I added it and it worked.

But in the first line of "st-project.cmake" file

"# THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT."

is written.

If so, where should I add additional build options or include paths between "CMakeLists.txt" and "gcc-arm-none-eabi.cmake"?