看到越来越多的朋友开始学习 STM32,出于学习的目的的话,STM32确实比51能学到更多的东西, 在硬件接口这个环节上,学51单片机和学STM32都不会差太远,主要看其市场上的资料是不是足够充分,都是调用硬件的接口,控制I/O,完成相应的功能。STM32经过这几年的发展,其资料应该也是非常丰富的了,这也非常有利于大家学习STM32,所以,我在这里为大家整理了一份STM32的入门资料,希望可以帮助到刚接触STM32的朋友。
|
|
|
|
多谢楼主分享,拜谢!
|
|
|
|
|
请教各位如下问题,谢谢
..Usermainmain.c(35): warning: #223-D: function "FLASH_PrefetchBufferCmd" declared implicitly
..Usermainmain.c(35): error: #20: identifier "FLASH_PrefetchBuffer_Enable" is undefined
..Usermainmain.c(36): warning: #223-D: function "FLASH_SetLatency" declared implicitly
..Usermainmain.c(36): error: #20: identifier "FLASH_Latency_2" is undefined
compiling stm32f10x_it.c...
..Usermainstm32f10x_it.c(73): warning: #223-D: function "USART_GetITStatus" declared implicitly
..Usermainstm32f10x_it.c(73): error: #20: identifier "USART_IT_RXNE" is undefined
..Usermainstm32f10x_it.c(91): warning: #223-D: function "USART_GetITStatus" declared implicitly
..Usermainstm32f10x_it.c(91): error: #20: identifier "USART_IT_RXNE" is undefined
..Usermainstm32f10x_it.c(109): warning: #223-D: function "USART_GetITStatus" declared implicitly
..Usermainstm32f10x_it.c(109): error: #20: identifier "USART_IT_RXNE" is undefined
compiling lcd.c...
..UserLCDlcd.c(461): warning: #223-D: function "abs" declared implicitly
compiling led.c...
compiling USART.c...
..UserUSARTUSART.c(22): error: #20: identifier "USART_FLAG_TXE" is undefined
..UserUSARTUSART.c(38): error: #20: identifier "USART_InitTypeDef" is undefined
..UserUSARTUSART.c(51): error: #20: identifier "USART_WordLength_8b" is undefined
..UserUSARTUSART.c(52): error: #20: identifier "USART_StopBits_1" is undefined
..UserUSARTUSART.c(53): error: #20: identifier "USART_Parity_No" is undefined
..UserUSARTUSART.c(54): error: #20: identifier "USART_HardwareFlowControl_None" is undefined
..UserUSARTUSART.c(55): error: #20: identifier "USART_Mode_Rx" is undefined
..UserUSARTUSART.c(55): error: #20: identifier "USART_Mode_Tx" is undefined
..UserUSARTUSART.c(56): warning: #223-D: function "USART_Init" declared implicitly
..UserUSARTUSART.c(57): warning: #223-D: function "USART_ITConfig" declared implicitly
..UserUSARTUSART.c(57): error: #20: identifier "USART_IT_RXNE" is undefined
..UserUSARTUSART.c(58): warning: #223-D: function "USART_Cmd" declared implicitly
..UserUSARTUSART.c(74): error: #20: identifier "USART_InitTypeDef" is undefined
..UserUSARTUSART.c(87): error: #20: identifier "USART_WordLength_8b" is undefined
..UserUSARTUSART.c(88): error: #20: identifier "USART_StopBits_1" is undefined
..UserUSARTUSART.c(89): error: #20: identifier "USART_Parity_No" is undefined
..UserUSARTUSART.c(90): error: #20: identifier "USART_HardwareFlowControl_None" is undefined
..UserUSARTUSART.c(91): error: #20: identifier "USART_Mode_Rx" is undefined
|
|
|
|
|
哎呀!今天偶然得到一块火牛板子,正愁找不到资料呐!!!谢谢楼主!!!
|
|
|
|
|
zhaoxinghaixd 发表于 2015-8-21 16:50
请教各位如下问题,谢谢
..Usermainmain.c(35): warning: #223-D: function "FLASH_PrefetchBufferCmd" declared implicitly
..Usermainmain.c(35): error: #20: identifier "FLASH_PrefetchBuffer_Enable" is undefined
MDK版本要高于4.60才能编译
|
|
|
|
|