How to generate assembler output & map file from CW for Kinetis K60?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to generate assembler output & map file from CW for Kinetis K60?

2,032件の閲覧回数
fastwalker
Contributor I

Hi All,

 

Basic qn., how do I configure CW to give me an assembler output also of a C file and generate a map file.  I tried selecting generate listing file in the assembler options it didn't seem to have any effect.

 

Thank you,

FW

ラベル(1)
0 件の賞賛
返信
1 返信

1,030件の閲覧回数
CrasyCat
Specialist III

Hello

 

According to the MCU_Kinetis_Compiler.pdf manual you need to add the option -S to the compiler command line to get a disassembly listing of the generated code.

 

If you are building from the IDE, just open the Project property dialog and go to page C-C++ Build > Settings > ARM Compiler > Language and add option -S to the Other Flags edit box.

 

For each source file being built, this will generate a file with extension .s in the build directory.

 

The build directory is specified on page C-C++ Build in edit box Build Directory.

 

CrasyCat