I have legacy assembly source files that use the "armasm" syntax.
And I find that I need to Use "armasm" to assemble legacy armasm syntax assembly code.
How can I invoke the armasm assembler in MCUXpresso IDE.
By default, an Eclipse auto-build project is tied to a certain tool chain (e.g. GNU), so won't be easy to direct certain files to a different tool like the assembler.
What I would do is to create a simple make file based project (see https://mcuoneclipse.com/2017/07/22/tutorial-makefile-projects-with-eclipse/ for a tutorial) and build your assembler files with armasm, then use the generated object files (or build an archive/library) in your other project.
I hope this helps,
Erich
where can I update the compiler options in exiting MCUxpresso IDE project (CC_OPTIONS )
Project > Properties, then C/C++ Build > Settings.
In that settings MCU C compiler where exactly i need to set cc flags, is that in miscellaneous->other flags ?
yes. But if you are using a make file project as I suggested, you simply add your options in the make file itself.
AREA REL,PIC,READONLY,ALIGN=4
EXPORT text
EXPORT txttbl
NML EQU 1
ABNRHY EQU 2
BO EQU 4
ABN EQU 8
text
base
snf DCW 1
DCB 0
DCB " ",0
DCB "",0
ALIGN 1
spedanl DCW 2
DCB 0
DCB "** * * **",0
DCB "",0
ALIGN 1
sagspami DCW 3
DCB 0
DCB "*** ***",0
DCB "",0
ALIGN 1
stwlvw DCW 6
DCB 0
DCB " ",0
DCB "",0
ALIGN 1
ssr DCW 19
DCB NML
DCB " ",0
DCB " ",0
ALIGN 1
sarat DCW 20
DCB 0
DCB " ",0
DCB "",0
ALIGN 1
ALIGN 2
txttbl
DCW spedanl-base,sagspami-base,stwlvw-base,ssr-base,sarat-base
DCW snf-base
END
This is the .src file content and I want to include it in my project , may i know how exactly this can be done. If makefile modification required may i know the correct flag for that.