你的浏览器版本过低,可能导致网站不能正常访问!为了你能正常使用网站功能,请使用这些浏览器。
举报
数码小叶 发表于 2015-5-28 10:56 错误这么多,果断头文件包含出错了
安 发表于 2015-5-28 10:56 很多固件库没有调用
STM32F4XX_templet.rar
2015-5-28 11:45 上传
点击文件名下载附件
4.43 MB, 下载次数: 1, 下载积分: ST金币 -1
*** Using Compiler 'V5.05 update 1 (build 106)', folder: 'E:\Keil_v5\ARM\ARMCC\Bin'
Build target 'STM32F429ZIT'
compiling stm32f4xx_rcc.c...
LIB\src\stm32f4xx_rcc.c(266): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_RCC_HSE(RCC_HSE));
LIB\src\stm32f4xx_rcc.c(297): error: #20: identifier "HSE_STARTUP_TIMEOUT" is undefined
} while((startupcounter != HSE_STARTUP_TIMEOUT) && (hsestatus == RESET));
LIB\src\stm32f4xx_rcc.c(322): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_RCC_CALIBRATION_VALUE(HSICalibrationValue));
LIB\src\stm32f4xx_rcc.c(357): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_FUNCTIONAL_STATE(NewState));
LIB\src\stm32f4xx_rcc.c(382): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_RCC_LSE(RCC_LSE));
LIB\src\stm32f4xx_rcc.c(422): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_FUNCTIONAL_STATE(NewState));
LIB\src\stm32f4xx_rcc.c(545): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_FUNCTIONAL_STATE(NewState));
LIB\src\stm32f4xx_rcc.c(714): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_FUNCTIONAL_STATE(NewState));
LIB\src\stm32f4xx_rcc.c(805): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_FUNCTIONAL_STATE(NewState));
LIB\src\stm32f4xx_rcc.c(823): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_FUNCTIONAL_STATE(NewState));
LIB\src\stm32f4xx_rcc.c(850): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_RCC_MCO1SOURCE(RCC_MCO1Source));
LIB\src\stm32f4xx_rcc.c(888): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_RCC_MCO2SOURCE(RCC_MCO2Source));
LIB\src\stm32f4xx_rcc.c(1084): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_RCC_SYSCLK_SOURCE(RCC_SYSCLKSource));
LIB\src\stm32f4xx_rcc.c(1084): warning: #223-D: function "IS_RCC_SYSCLK_SOURCE" declared implicitly
assert_param(IS_RCC_SYSCLK_SOURCE(RCC_SYSCLKSource));
LIB\src\stm32f4xx_rcc.c(1138): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_RCC_HCLK(RCC_SYSCLK));
LIB\src\stm32f4xx_rcc.c(1170): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_RCC_PCLK(RCC_HCLK));
LIB\src\stm32f4xx_rcc.c(1201): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_RCC_PCLK(RCC_HCLK));
LIB\src\stm32f4xx_rcc.c(1261): error: #20: identifier "HSI_VALUE" is undefined
RCC_Clocks->SYSCLK_Frequency = HSI_VALUE;
LIB\src\stm32f4xx_rcc.c(1264): error: #20: identifier "HSE_VALUE" is undefined
RCC_Clocks->SYSCLK_Frequency = HSE_VALUE;
LIB\src\stm32f4xx_rcc.c(1406): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_RCC_RTCCLK_SOURCE(RCC_RTCCLKSource));
LIB\src\stm32f4xx_rcc.c(1436): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_FUNCTIONAL_STATE(NewState));
LIB\src\stm32f4xx_rcc.c(1453): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_FUNCTIONAL_STATE(NewState));
LIB\src\stm32f4xx_rcc.c(1648): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_RCC_PLLI2S_DIVQ_VALUE(RCC_PLLI2SDivQ));
LIB\src\stm32f4xx_rcc.c(1680): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_RCC_PLLSAI_DIVQ_VALUE(RCC_PLLSAIDivQ));
LIB\src\stm32f4xx_rcc.c(1716): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_RCC_PLLSAI_DIVR_VALUE(RCC_PLLSAIDivR));
LIB\src\stm32f4xx_rcc.c(1751): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_RCC_TIMCLK_PRESCALER(RCC_TIMCLKPrescaler));
LIB\src\stm32f4xx_rcc.c(1793): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_RCC_AHB1_CLOCK_PERIPH(RCC_AHB1Periph));
LIB\src\stm32f4xx_rcc.c(1825): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_RCC_AHB2_PERIPH(RCC_AHB2Periph));
LIB\src\stm32f4xx_rcc.c(1911): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_RCC_APB1_PERIPH(RCC_APB1Periph));
LIB\src\stm32f4xx_rcc.c(1957): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_RCC_APB2_PERIPH(RCC_APB2Periph));
LIB\src\stm32f4xx_rcc.c(1999): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_RCC_AHB1_RESET_PERIPH(RCC_AHB1Periph));
LIB\src\stm32f4xx_rcc.c(2028): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_RCC_AHB2_PERIPH(RCC_AHB2Periph));
LIB\src\stm32f4xx_rcc.c(2108): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_RCC_APB1_PERIPH(RCC_APB1Periph));
LIB\src\stm32f4xx_rcc.c(2150): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_RCC_APB2_RESET_PERIPH(RCC_APB2Periph));
LIB\src\stm32f4xx_rcc.c(2199): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_RCC_AHB1_LPMODE_PERIPH(RCC_AHB1Periph));
LIB\src\stm32f4xx_rcc.c(2231): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_RCC_AHB2_PERIPH(RCC_AHB2Periph));
LIB\src\stm32f4xx_rcc.c(2317): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_RCC_APB1_PERIPH(RCC_APB1Periph));
LIB\src\stm32f4xx_rcc.c(2363): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_RCC_APB2_PERIPH(RCC_APB2Periph));
LIB\src\stm32f4xx_rcc.c(2387): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_RCC_LSE_MODE(RCC_Mode));
LIB\src\stm32f4xx_rcc.c(2391): error: #20: identifier "RCC_BDCR_LSEMOD" is undefined
SET_BIT(RCC->BDCR, RCC_BDCR_LSEMOD);
LIB\src\stm32f4xx_rcc.c(2395): error: #20: identifier "RCC_BDCR_LSEMOD" is undefined
CLEAR_BIT(RCC->BDCR, RCC_BDCR_LSEMOD);
LIB\src\stm32f4xx_rcc.c(2585): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_RCC_IT(RCC_IT));
LIB\src\stm32f4xx_rcc.c(2626): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_RCC_FLAG(RCC_FLAG));
LIB\src\stm32f4xx_rcc.c(2689): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_RCC_GET_IT(RCC_IT));
LIB\src\stm32f4xx_rcc.c(2721): warning: #223-D: function "assert_param" declared implicitly
assert_param(IS_RCC_CLEAR_IT(RCC_IT));
LIB\src\stm32f4xx_rcc.c: 40 warnings, 5 errors
compiling system_stm32f4xx.c...
SYSTEM\system_stm32f4xx.c(564): error: #20: identifier "HSI_VALUE" is undefined
SystemCoreClock = HSI_VALUE;
SYSTEM\system_stm32f4xx.c(567): error: #20: identifier "HSE_VALUE" is undefined
SystemCoreClock = HSE_VALUE;
SYSTEM\system_stm32f4xx.c(554): warning: #550-D: variable "pllsource" was set but never used
uint32_t tmp = 0, pllvco = 0, pllp = 2, pllsource = 0, pllm = 2;
SYSTEM\system_stm32f4xx.c(554): warning: #550-D: variable "pllm" was set but never used
uint32_t tmp = 0, pllvco = 0, pllp = 2, pllsource = 0, pllm = 2;
SYSTEM\system_stm32f4xx.c: 2 warnings, 2 errors
".\Objects\STM32F4XX_templet.axf" - 7 Error(s), 42 Warning(s).
Target not created.
Build Time Elapsed: 00:00:01
我昨天刚从st官网上下的,百度了一下,貌似没有这种情况
您是说?我掉了gpio,rcc
STM32F4XX_templet.rar
2015-5-28 11:45 上传
点击文件名下载附件
下载积分: ST金币 -14.43 MB, 下载次数: 1, 下载积分: ST金币 -1