cancel
Showing results for 
Search instead for 
Did you mean: 

spc5studio makefile modify

PLEE.2
Associate II

Hello.

i use SPC5Studio tool

i started import samples from application library / Bootloader ...

the project complie is ok.

i modified Makefile.

i know this file automatically generated

but i must modify the compile option

"HEX = $(U_GHS_PATH)gsrec -hex386" to "HEX = $(U_GHS_PATH)gsrec -hex386 -crc32"

and then, this compile is ok.

​but. If i generate it again, the additional option disappears (-crc32).

prevent the makefile from being regenerated,

I want to put an option in the place that creates the makefile.

thanks

1 ACCEPTED SOLUTION

Accepted Solutions
ODOUV.1
ST Employee

Hello,

supposing you are working on SPC58ECxx

just modify your file:

C:\SPC5Studio-6.0\eclipse\plugins\com.st.tools.spc5.components.platform.spc58ecxx_rla_1.18.0.20221220104647\component\root_wa\Makefile.ftl

It will generate your Makefile with your new parameter each time (on ALL your SPC58ECxx projects!!!)

Best regards.

View solution in original post

1 REPLY 1
ODOUV.1
ST Employee

Hello,

supposing you are working on SPC58ECxx

just modify your file:

C:\SPC5Studio-6.0\eclipse\plugins\com.st.tools.spc5.components.platform.spc58ecxx_rla_1.18.0.20221220104647\component\root_wa\Makefile.ftl

It will generate your Makefile with your new parameter each time (on ALL your SPC58ECxx projects!!!)

Best regards.