AnsweredAssumed Answered

dspin discovery example project for IAR

Question asked by francia.angelique on Jun 11, 2014
Latest reply on Jun 11, 2014 by fm
Hi, I was wondering why the example program st provided for ewarm won't work. There seems to be a problem in the directories and also when i start it up i get a warning saying

Broken options were detected in the project file. A backup copy will be made (See log window for details)

The project 'fwlibraries dspin discoverykit' contains the unknown tool 'CMSISDAP_ID'

The project 'fwlibraries dspin discoverykit' contains the unknown tool 'IJET_ID



and when i try to build the project i get errors:



Building configuration: fwlibraries_dspin_discoverykit - Debug 
Updating build tree... 
clock.c  
Fatal Error[Pe1696]: cannot open source file "clock.h" C:\Program Files (x86)\STMicroelectronics\dSPIN Discovery Kit\user_motion\dspin\src\clock.c 23 
            searched: "C:\Program Files (x86)\STMicroelectronics\dSPIN Discovery Kit\user_motion\dspin\src\" 
            searched: "D:\angie\progs\IAR\arm\CMSIS\Include\" 
            searched: "D:\angie\progs\IAR\arm\inc\" 
            searched: "D:\angie\progs\IAR\arm\inc\c\" 
Error while running C/C++ Compiler 
dspin.c  
Fatal Error[Pe1696]: cannot open source file "dspin.h" C:\Program Files (x86)\STMicroelectronics\dSPIN Discovery Kit\user_motion\dspin\src\dspin.c 23 
            searched: "C:\Program Files (x86)\STMicroelectronics\dSPIN Discovery Kit\user_motion\dspin\src\" 
            searched: "D:\angie\progs\IAR\arm\CMSIS\Include\" 
            searched: "D:\angie\progs\IAR\arm\inc\" 
            searched: "D:\angie\progs\IAR\arm\inc\c\" 
Error while running C/C++ Compiler 
main.c  
Fatal Error[Pe1696]: cannot open source file "main.h" C:\Program Files (x86)\STMicroelectronics\dSPIN Discovery Kit\user_motion\dspin\src\main.c 23 
            searched: "C:\Program Files (x86)\STMicroelectronics\dSPIN Discovery Kit\user_motion\dspin\src\" 
            searched: "D:\angie\progs\IAR\arm\CMSIS\Include\" 
            searched: "D:\angie\progs\IAR\arm\inc\" 
            searched: "D:\angie\progs\IAR\arm\inc\c\" 
Error while running C/C++ Compiler 
misc.c  
Fatal Error[Pe1696]: cannot open source file "misc.h" C:\Program Files (x86)\STMicroelectronics\dSPIN Discovery Kit\stm32f10x\STM32F10x_StdPeriph_Driver\src\misc.c 24 
            searched: "C:\Program Files (x86)\STMicroelectronics\dSPIN Discovery Kit\stm32f10x\STM32F10x_StdPeriph_Driver\src\" 
            searched: "D:\angie\progs\IAR\arm\CMSIS\Include\" 
            searched: "D:\angie\progs\IAR\arm\inc\" 
            searched: "D:\angie\progs\IAR\arm\inc\c\" 
Error while running C/C++ Compiler 
startup_stm32f10x_cl.s 
stm32f10x_exti.c  
Fatal Error[Pe1696]: cannot open source file "stm32f10x_exti.h" C:\Program Files (x86)\STMicroelectronics\dSPIN Discovery Kit\stm32f10x\STM32F10x_StdPeriph_Driver\src\stm32f10x_exti.c 23 
            searched: "C:\Program Files (x86)\STMicroelectronics\dSPIN Discovery Kit\stm32f10x\STM32F10x_StdPeriph_Driver\src\" 
            searched: "D:\angie\progs\IAR\arm\CMSIS\Include\" 
            searched: "D:\angie\progs\IAR\arm\inc\" 
            searched: "D:\angie\progs\IAR\arm\inc\c\" 
Error while running C/C++ Compiler 
stm32f10x_flash.c  
Fatal Error[Pe1696]: cannot open source file "stm32f10x_flash.h" C:\Program Files (x86)\STMicroelectronics\dSPIN Discovery Kit\stm32f10x\STM32F10x_StdPeriph_Driver\src\stm32f10x_flash.c 23 
            searched: "C:\Program Files (x86)\STMicroelectronics\dSPIN Discovery Kit\stm32f10x\STM32F10x_StdPeriph_Driver\src\" 
            searched: "D:\angie\progs\IAR\arm\CMSIS\Include\" 
            searched: "D:\angie\progs\IAR\arm\inc\" 
            searched: "D:\angie\progs\IAR\arm\inc\c\" 
Error while running C/C++ Compiler 
stm32f10x_gpio.c  
Fatal Error[Pe1696]: cannot open source file "stm32f10x_gpio.h" C:\Program Files (x86)\STMicroelectronics\dSPIN Discovery Kit\stm32f10x\STM32F10x_StdPeriph_Driver\src\stm32f10x_gpio.c 23 
            searched: "C:\Program Files (x86)\STMicroelectronics\dSPIN Discovery Kit\stm32f10x\STM32F10x_StdPeriph_Driver\src\" 
            searched: "D:\angie\progs\IAR\arm\CMSIS\Include\" 
            searched: "D:\angie\progs\IAR\arm\inc\" 
            searched: "D:\angie\progs\IAR\arm\inc\c\" 
Error while running C/C++ Compiler 
stm32f10x_it.c  
Fatal Error[Pe1696]: cannot open source file "stm32f10x_it.h" C:\Program Files (x86)\STMicroelectronics\dSPIN Discovery Kit\user_motion\dspin\src\stm32f10x_it.c 25 
            searched: "C:\Program Files (x86)\STMicroelectronics\dSPIN Discovery Kit\user_motion\dspin\src\" 
            searched: "D:\angie\progs\IAR\arm\CMSIS\Include\" 
            searched: "D:\angie\progs\IAR\arm\inc\" 
            searched: "D:\angie\progs\IAR\arm\inc\c\" 
Error while running C/C++ Compiler 
stm32f10x_rcc.c  
Fatal Error[Pe1696]: cannot open source file "stm32f10x_rcc.h" C:\Program Files (x86)\STMicroelectronics\dSPIN Discovery Kit\stm32f10x\STM32F10x_StdPeriph_Driver\src\stm32f10x_rcc.c 23 
            searched: "C:\Program Files (x86)\STMicroelectronics\dSPIN Discovery Kit\stm32f10x\STM32F10x_StdPeriph_Driver\src\" 
            searched: "D:\angie\progs\IAR\arm\CMSIS\Include\" 
            searched: "D:\angie\progs\IAR\arm\inc\" 
            searched: "D:\angie\progs\IAR\arm\inc\c\" 
Error while running C/C++ Compiler 
stm32f10x_spi.c  
Fatal Error[Pe1696]: cannot open source file "stm32f10x_spi.h" C:\Program Files (x86)\STMicroelectronics\dSPIN Discovery Kit\stm32f10x\STM32F10x_StdPeriph_Driver\src\stm32f10x_spi.c 23 
            searched: "C:\Program Files (x86)\STMicroelectronics\dSPIN Discovery Kit\stm32f10x\STM32F10x_StdPeriph_Driver\src\" 
            searched: "D:\angie\progs\IAR\arm\CMSIS\Include\" 
            searched: "D:\angie\progs\IAR\arm\inc\" 
            searched: "D:\angie\progs\IAR\arm\inc\c\" 
Error while running C/C++ Compiler 
stm32f10x_tim.c  
Fatal Error[Pe1696]: cannot open source file "stm32f10x_tim.h" C:\Program Files (x86)\STMicroelectronics\dSPIN Discovery Kit\stm32f10x\STM32F10x_StdPeriph_Driver\src\stm32f10x_tim.c 23 
            searched: "C:\Program Files (x86)\STMicroelectronics\dSPIN Discovery Kit\stm32f10x\STM32F10x_StdPeriph_Driver\src\" 
            searched: "D:\angie\progs\IAR\arm\CMSIS\Include\" 
            searched: "D:\angie\progs\IAR\arm\inc\" 
            searched: "D:\angie\progs\IAR\arm\inc\c\" 
Error while running C/C++ Compiler 
system_stm32f10x.c  
Fatal Error[Pe035]: #error directive: "Please select first the target STM32F10x device used in your application (in stm32f10x.h file)" C:\Program Files (x86)\STMicroelectronics\dSPIN Discovery Kit\stm32f10x\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h 96 
Error while running C/C++ Compiler 
 
Total number of errors: 12 
Total number of warnings: 0 

Outcomes