Skip to main content
Visitor II
November 12, 2003
Question

compiler

  • November 12, 2003
  • 8 replies
  • 1250 views
Posted on November 12, 2003 at 06:48

compiler

    This topic has been closed for replies.

    8 replies

    seeguardAuthor
    Visitor II
    November 11, 2003
    Posted on November 11, 2003 at 13:23

    hello,

    May someone tell me how can I define the Metroworks compiler

    to compile ST7 (72F521) software package in LARGE mode.

    (by default it's create a SMALL mode project)

    thanks,

    Atz :

    Visitor II
    November 11, 2003
    Posted on November 11, 2003 at 13:29

    Have a look athe the -m compiler option in the docs.

    -ml (large memory model) - this is the default if no option specified.

    Regards

    sjo
    seeguardAuthor
    Visitor II
    November 11, 2003
    Posted on November 11, 2003 at 14:52

    thanks,

    I use the metroworks IDE. can you point me

    where I can configure the the coimpiler switshes

    as well as -ml ,optimization, ...... ?

    atz

    Visitor II
    November 12, 2003
    Posted on November 12, 2003 at 02:26

    You can configure the -ml option in the .env file.

    seeguardAuthor
    Visitor II
    November 12, 2003
    seeguardAuthor
    Visitor II
    November 12, 2003
    Posted on November 12, 2003 at 05:08

    I'm trying again.

    please see the attached file.

    atz

    ________________

    Attachments :

    hello_jatin.doc : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0Gz&d=%2Fa%2F0X0000000bWT%2FSyl9cnAMeKFXYn86SDxz6PqOg891AaUibDWzZbI8Rws&asPdf=false
    Visitor II
    November 12, 2003
    Posted on November 12, 2003 at 05:58

    The button next to drop down combo is the project settings.

    In the settings panel select Compiler for ST7.

    Select Options on the right, then the code generation tab.

    Check Memory Model - selecting the required option.

    Hope this helps

    sjo
    seeguardAuthor
    Visitor II
    November 12, 2003
    Posted on November 12, 2003 at 06:48

    Thank you.

    It's works!