Hi there,
I'm using Keil MDK-Lite and uVision4 to compile C code to run on a LPC-2138 board (ARM7TDMI-S), and would like to take a look at assembled source code to use in timing analysis. I'm able to see the assembly code in the ARM disassembler view in the debug simulator, but what I'd really like is a generated file.
I understand that you can run armcc with the -S or -ASM options to generate an assembly file, and found the option "Generate Assembler SRC File" under "Options for file ---.c", checked the box, and found that the '-S' option was added to the build arguments, but I'm getting a build error when running it: "error: C3900U: Unrecognized option '-S'."
I've tried starting the armcc.exe directly without arguments and it explicitly lists a "-S" option in its help screen, but when I run it it gives me the same problem.
Any idea how I can fix this problem? Thanks!