User forums > Using Code::Blocks

Parsing of IAR Build Output

<< < (3/3)

Alatar:
Yes, sure. Here is it.
BTW there are another several things to do to be able to use IAR for ARM CortexM development out of the box:
* remove toolchain directory from linker path list by default
* add assembler compiler

For second point currently I use workaround with redefinition of resources compiler but I think it would be good idea to add separated toolchain executable for assembler compiler.

oBFusCATed:
Patch applied sorry for the delay.


--- Quote from: Alatar on May 11, 2018, 06:13:07 am ---* remove toolchain directory from linker path list by default

--- End quote ---
What do you mean by this?


--- Quote from: Alatar on May 11, 2018, 06:13:07 am ---* add assembler compiler

--- End quote ---
This would be hard. Might be useful, but not too much. The build system of C::B is probably easily overwhelmed by the the requirements of embedded projects.

Alatar:
Thank you =)


--- Quote from: oBFusCATed on October 18, 2020, 12:54:18 am ---
--- Quote from: Alatar on May 11, 2018, 06:13:07 am ---* remove toolchain directory from linker path list by default

--- End quote ---
What do you mean by this?

--- End quote ---

Well that was some time ago, not sure I remember what it was exactly, but guess there were some problems with default value for "Compiler Settings -> Search directories -> Linker"
Can't test since I don't work with IAR anymore.


--- Quote from: oBFusCATed on October 18, 2020, 12:54:18 am ---
--- Quote from: Alatar on May 11, 2018, 06:13:07 am ---* add assembler compiler

--- End quote ---
This would be hard. Might be useful, but not too much. The build system of C::B is probably easily overwhelmed by the the requirements of embedded projects.

--- End quote ---

In embedded world it is common case where you mix C and ASM in one project. I'm fine with using "Advanced compiler option -> Commands" to compile non-c files but I don't want to hardcode executables there. I used to use $rescomp instead of asm compiler since I didn't know else I can pass there executable path. If we can define custom variables in "Compiler settings -> Toolchain executables -> Program files" that solves my issue. I don't thing it's really so hard.
BTW currently there are several predefined rules to auto generate sources from files like y, pyx and so on, but there are just calls to harcoded binaries by name. That may be very hard to find how to set them for one who doesn't know about =).

Navigation

[0] Message Index

[*] Previous page

Go to full version