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
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