Invoke armasm assembler in MCUXpresso IDE

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

Invoke armasm assembler in MCUXpresso IDE

3,198件の閲覧回数
shilpa1
Contributor I

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.

0 件の賞賛
返信
6 返答(返信)

3,186件の閲覧回数
ErichStyger
Specialist I

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

0 件の賞賛
返信

3,176件の閲覧回数
shilpa1
Contributor I

where can I update the compiler options in exiting MCUxpresso IDE project (CC_OPTIONS )

 

 

0 件の賞賛
返信

3,174件の閲覧回数
ErichStyger
Specialist I

Project > Properties, then C/C++ Build > Settings.

0 件の賞賛
返信

3,172件の閲覧回数
shilpa1
Contributor I

In that settings MCU C compiler where exactly i need to set cc flags, is that in miscellaneous->other flags ? 

0 件の賞賛
返信

3,164件の閲覧回数
ErichStyger
Specialist I

yes. But if you are using a make file project as I suggested, you simply add your options in the make file itself.

0 件の賞賛
返信

3,158件の閲覧回数
shilpa1
Contributor I

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.

0 件の賞賛
返信