Skip to main content
stmicro239955_st
Associate II
July 17, 2013
Question

Motorola srec

  • July 17, 2013
  • 3 replies
  • 3290 views
Posted on July 17, 2013 at 16:00

In the course of learning SPC5 Studio

 I modified the Makefile and rules.mk to output a Motorola srec (.mot) in addition to the regular outputs. 

This can be very useful for those of us with a Motorola/Freescale background.

The question is; How to make these changes permanent? Whenever I re-generate the application, rules.mk is overwritten.

    This topic has been closed for replies.

    3 replies

    Nickname16641_O
    Visitor II
    July 18, 2013
    Posted on July 18, 2013 at 09:47

    Hi Kevin,

    If you post the change we could include the new feature in the next release.

    The immediate workaround would be to modify the rules.mk file into the component plugin: C:\SPC5Studio\eclipse\plugins\<platform_plugin>\component\lib\rsc\rules.mk

    This way the file in the project will be overwritten by the modified version.

    Giovanni

    stmicro239955_st
    Associate II
    July 18, 2013
    Posted on July 18, 2013 at 17:49

    Hi Giovanni,

    I've attached the modified rules.mak and Makefile. They are so small that I just zipped them up and attached them. In the future, would you prefer a diff?

    Kevin

    ________________

    Attachments :

    srec_files.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006qUHV&d=%2Fa%2F0X0000000bnh%2F4VDuDuzkIpTeLLcEsEVjTEWZzCICFpYFBSSFmv5gPOk&asPdf=false
    Nickname16641_O
    Visitor II
    September 27, 2013
    Posted on September 27, 2013 at 16:32

    Sorry for the delay, had to wait a chance to work on the Makefiles. I merged the change among other improvements.

    Giovanni