Skip to main content
jipidi13
Associate
May 24, 2013
Question

STM32F0Dicovery : 4 compilation errors with TASKING IDE

  • May 24, 2013
  • 3 replies
  • 806 views
Posted on May 24, 2013 at 16:11

Hi

I meet 4 compilation errors (see picture below) when running STM32F0discovery FW demo on TASKING IDE !

can you help

    This topic has been closed for replies.

    3 replies

    jipidi13
    jipidi13Author
    Associate
    May 24, 2013
    Posted on May 24, 2013 at 16:15

    with the picture in attached file

    ________________

    Attachments :

    errors_with_TASKING_IDE.jpg : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hzqc&d=%2Fa%2F0X0000000bQI%2FaVcko1fvVdJiZN0h2cIKcqPwynawq924qNoHPSpkkOU&asPdf=false
    frankmeyer9
    Associate III
    May 24, 2013
    Posted on May 24, 2013 at 16:43

    with the picture in attached file

     

    With the shaky forum software, attaching pictures is the second best solution.

    I don't know the Tasking toolchain, but the label name ''__START'' suggests you omitted to add the startup code to your project. This code provides all the ''hidden'' features between MCU startup and entry to main. Most toolchains provide it as assembler file (*.s file), and include it automatically when creating a project with their ''wizard''.

    Nickname306_O
    Visitor II
    May 29, 2013
    Posted on May 29, 2013 at 11:27

    Hello,

    The symbol ''_START'' is called from the vector table in the linker file '' stm32f0xx.lsl '' . In the last versions of TASKING toolchain , this label is replaced by ''Reset_Handler''. Please change this line in your linker file as follows :

                              vector ( id = 1, fill = ''_START'' ); // Reset Handler

                               -->  vector ( id = 1, fill = ''Reset_Handler'' ); // Reset Handler

    Best Regards,

    Nouha