cancel
Showing results for 
Search instead for 
Did you mean: 

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

angy1551
Associate II
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

2 REPLIES 2
Nesrine M_O
Lead II
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-

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
Up vote any posts that you find helpful, it shows what's working..