реклама на сайте
подробности

 
 
> не компилится под IAR 6.21, STboard
MK2
сообщение Oct 1 2011, 11:29
Сообщение #1


Местный
***

Группа: Свой
Сообщений: 202
Регистрация: 30-10-10
Пользователь №: 60 535



Установил последний IAR 6.21. Перестало все компилироваться. Даже стандартные примеры из StdPeriph_Lib
пишет:
Код
Error[Pe147]: declaration is incompatible with "__interwork __softfp unsigned long __get_PSP(void)" (declared at line 52 of "E:\PRODJECT\Embedded Workbench 6.0\arm\ E:\My Document\STM32F207\stm32vldiscovery_package\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h 1084
inc\c\intrinsics.h")
Error[Pe147]: declaration is incompatible with "__interwork __softfp void __set_PSP(unsigned long)" (declared at line 53 of "E:\PRODJECT\Embedded Workbench 6.0\arm\ E:\My Document\STM32F207\stm32vldiscovery_package\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h 1094
inc\c\intrinsics.h")
Error[Pe147]: declaration is incompatible with "__interwork __softfp unsigned long __get_MSP(void)" (declared at line 50 of "E:\PRODJECT\Embedded Workbench 6.0\arm\ E:\My Document\STM32F207\stm32vldiscovery_package\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h 1104
inc\c\intrinsics.h")
Error[Pe147]: declaration is incompatible with "__interwork __softfp void __set_MSP(unsigned long)" (declared at line 51 of "E:\PRODJECT\Embedded Workbench 6.0\arm\ E:\My Document\STM32F207\stm32vldiscovery_package\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h 1114
inc\c\intrinsics.h")
Error[Pe147]: declaration is incompatible with "__interwork __softfp unsigned long __REV16(unsigned long)" (declared at line 173 of "E:\PRODJECT\Embedded Workbench  E:\My Document\STM32F207\stm32vldiscovery_package\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h 1124
6.0\arm\inc\c\intrinsics.h")
Error[Pe147]: declaration is incompatible with "__interwork __softfp unsigned long __RBIT(unsigned long)" (declared at line 174 of "E:\PRODJECT\Embedded Workbench 6.0\ E:\My Document\STM32F207\stm32vldiscovery_package\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h 1134
arm\inc\c\intrinsics.h")
Error[Pe147]: declaration is incompatible with "__interwork __softfp unsigned long __STREXB(unsigned char, unsigned char *)" (declared at line 181 of "E:\PRODJECT\ E:\My Document\STM32F207\stm32vldiscovery_package\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h 1175
Embedded Workbench 6.0\arm\inc\c\intrinsics.h")
Error[Pe147]: declaration is incompatible with "__interwork __softfp unsigned long __STREXH(unsigned short, unsigned short *)" (declared at line 182 of "E:\PRODJECT\ E:\My Document\STM32F207\stm32vldiscovery_package\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h 1186
Embedded Workbench 6.0\arm\inc\c\intrinsics.h")
Error while running C/C++ Compiler
startup_stm32f10x_md_vl.s
stm32f10x_flash.c  
.................................. ну и остальное в таком же духе что то ему CMSISкие файлы не нравятся


облазил всю справку но нигде не нашел эту ошибку "Error[Pe147]: declaration is incompatible with"
может надо что-то в настройках проекта поменять?
Go to the top of the page
 
+Quote Post



Reply to this topicStart new topic
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 


RSS Текстовая версия Сейчас: 18th July 2025 - 15:18
Рейтинг@Mail.ru


Страница сгенерированна за 0.01385 секунд с 7
ELECTRONIX ©2004-2016