Выдает следующую ошибку
Цитата:
|
Building configuration: ei - Debug
Updating build tree...
main.c
stm32f10x_gpio.c
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_gpio.c 111
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_gpio.c 178
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_gpio.c 286
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_gpio.c 308
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_gpio.c 324
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_gpio.c 346
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_gpio.c 361
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_gpio.c 377
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_gpio.c 397
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_gpio.c 420
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_gpio.c 437
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_gpio.c 466
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_gpio.c 486
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_gpio.c 554
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_gpio.c 613
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_gpio.c 632
stm32f10x_rcc.c
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_rcc.c 273
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_rcc.c 338
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_rcc.c 357
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_rcc.c 383
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_rcc.c 404
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_rcc.c 431
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_rcc.c 568
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_rcc.c 612
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_rcc.c 638
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_rcc.c 664
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_rcc.c 703
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_rcc.c 731
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_rcc.c 770
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_rcc.c 832
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_rcc.c 865
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_rcc.c 882
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_rcc.c 896
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_rcc.c 1067
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_rcc.c 1098
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_rcc.c 1129
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_rcc.c 1188
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_rcc.c 1219
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_rcc.c 1240
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_rcc.c 1253
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_rcc.c 1285
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_rcc.c 1332
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_rcc.c 1406
Warning[Pe223]: function "assert_param" declared implicitly D:\ARM_Projects\EI2\STM\stm32f10x_rcc.c 1451
Linking
Error[Li005]: no definition for "assert_param" [referenced from D:\ARM_Projects\EI2\Debug\Obj\
stm32f10x_gpio.o]
Error while running Linker
Total number of errors: 1
Total number of warnings: 44
|
Как я понимаю проблема с ф-цией "assert_param" и её атрибутом"IS_RCC_HSE(RCC_HSE)". Но как я не пробовал рыть ничего не получается.
Вот картинки с архитектурой проекта, может я там что-то не правильно делаю.
Это папка с проектом:
Это проект в иаре:
А это подключение библиотек gpio и rcc .