Skip to main content
angy1551
Associate
November 13, 2015
Question

How to resolve error error: ''SDIO_IRQn'' is undefined

  • November 13, 2015
  • 2 replies
  • 885 views
Posted on November 13, 2015 at 07:48

I am trying to run Micro SD card Read/Write code.But when i try to compile it in Keil  .I get the error

''\main.c(141): error:  #20: identifier ''SDIO_IRQn'' is undefined ''.

Just need help how to resolve it .I am using STm32F108 R8 in simulator  mode

    This topic has been closed for replies.

    2 replies

    Nesrine M_O
    Associate
    November 13, 2015
    Posted on November 13, 2015 at 11:10

    Hi singh.angad,

    “I am using STm32F108 R8 in simulator mode�?

    Could you please provide exactly the correct part number of your STM32F1 product?

    Refer to the  

    http://www.st.com/web/en/catalog/mmc/FM141/SC1169/SS1031?s_searchtype=reco

      for more information.

    -Syrine-

    Tesla DeLorean
    Guru
    November 13, 2015
    Posted on November 13, 2015 at 12:33

    You need to make sure your project #includes the right files, and the defines passed to the compiler are correct.

    The most critical ones are that you're using the SPL, and the specific class of part.

    USE_STDPERIPH_DRIVER, STM32F10X_HD_VL

    Review the SPL templates provided

    STM32F10x_StdPeriph_Lib_V3.5.0\Project\STM32F10x_StdPeriph_Template\MDK-ARM

    Pretty sure the simulator will be useless for SDIO work

     

     

     

    From: singh.angad

    Posted: Friday, November 13, 2015 7:48 AM

    Subject: How to resolve error error: ''SDIO_IRQn'' is undefined

    I am trying to run Micro SD card Read/Write code.But when i try to compile it in Keil  .I get the error

    ''\main.c(141): error:  #20: identifier ''SDIO_IRQn'' is undefined ''.

    Just need help how to resolve it .I am using STm32F108 R8 in simulator  mode

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..