Undefined 'asm'

Sysprogs forums Forums VisualGDB Undefined 'asm'

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #27136
    Sherlock
    Participant

    I just created a new blinker example using StdPeriph for STM32F407G-DISC1, I specified SRAM rather FLASH as the target.

    The created project won’t compile, it reports ‘asm’ as undefined in C99, this keyword appears in the file startup_stm32F407xx.c.

    Should I change the version of C that’s defined in the project’s settings or is there some other way to address this?

    Thanks

     

     

    #27137
    support
    Keymaster

    Hi,

    Thanks for pointing this out. Indeed our latest STM32 BSP didn’t work with the non-GNU version of C99. We have fixed it and updated the package. Please try reinstalling it via Tools->VisualGDB->Manage VisualGDB Packages (or alternatively change the C standard to C99 with GNU Extensions).

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.