/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Comiler Failed...

Username:     
Password:     
             

Forum

# 1   2009-05-31 03:36:38 Comiler Failed... (project: ECG Primer 1.0)

chienchun
New member
Registered: 2009-04-25
Posts: 1

Comiler Failed... (project: ECG Primer 1.0)

I have trouble compile ECG_Acquisition.c using Ride7 (7.20.09.0139)
How can I fix them? Are they related to new STM32F10xxx firmware library (FWLib) V2.0 compatibility issues?

Building C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\src\ECG_Acquisition.c
Running: GCC
\"C:\Program Files\Raisonance\Ride\arm-gcc\bin\arm-none-eabi-gcc.exe" -MD -D_STM32F103RBT6_ -D_STM3x_ -D_STM32x_ -mthumb   -mcpu=cortex-m3 "C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\src\ECG_Acquisition.c" -o "C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\objdebug\ECG_Acquisition.o" -I "." -I "C:\Program Files\Raisonance\Ride\Lib\ARM\include" -I "C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\Include" -I "C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\USBLIB" -c     -fsigned-char  -g       -Os   -ffunction-sections         -mlittle-endian
C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\src\ECG_Acquisition.c: In function 'InitTIM1': 
C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\src\ECG_Acquisition.c:50: error: 'TIM1_TimeBaseInitTypeDef' undeclared (first use in this function) 
C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\src\ECG_Acquisition.c:50: error: (Each undeclared identifier is reported only once 
C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\src\ECG_Acquisition.c:50: error: for each function it appears in.) 
C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\src\ECG_Acquisition.c:50: error: expected ';' before 'TIM1_TimeBaseStructure' 
C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\src\ECG_Acquisition.c:51: error: 'TIM1_OCInitTypeDef' undeclared (first use in this function) 
C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\src\ECG_Acquisition.c:51: error: expected ';' before 'TIM1_OCInitStructure' 
C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\src\ECG_Acquisition.c: In function 'InitDMA1': 
C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\src\ECG_Acquisition.c:128: error: 'DMA_Channel1' undeclared (first use in this function) 
C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\src\ECG_Acquisition.c:129: error: 'DMA' undeclared (first use in this function) 
C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\src\ECG_Acquisition.c:133: warning: passing argument 2 of '(u32 (*)(u32,  u32))(*ptrCircle_API)[185]' makes integer from pointer without a cast 
C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\src\ECG_Acquisition.c: In function 'ResetDMA1': 
C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\src\ECG_Acquisition.c:173: error: 'DMA_Channel1' undeclared (first use in this function) 
C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\src\ECG_Acquisition.c:174: error: 'DMA' undeclared (first use in this function) 
C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\src\ECG_Acquisition.c:177: warning: passing argument 2 of '(u32 (*)(u32,  u32))(*ptrCircle_API)[185]' makes integer from pointer without a cast 
C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\src\ECG_Acquisition.c: In function 'ECG_NVIC_Configuration': 
C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\src\ECG_Acquisition.c:277: error: 'DMAChannel1_IRQChannel' undeclared (first use in this function) 
C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\src\ECG_Acquisition.c:283: error: 'SCB_TypeDef' has no member named 'AIRC' 
C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\src\ECG_Acquisition.c:293: error: 'NVIC_TypeDef' has no member named 'Priority' 
C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\src\ECG_Acquisition.c:299: error: 'NVIC_TypeDef' has no member named 'Priority' 
C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\src\ECG_Acquisition.c:302: error: 'NVIC_TypeDef' has no member named 'Enable' 
C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\src\ECG_Acquisition.c: In function 'DMA1_Interrupts_Stop': 
C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\src\ECG_Acquisition.c:324: error: 'DMAChannel1_IRQChannel' undeclared (first use in this function) 
C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\src\ECG_Acquisition.c: In function 'DMA1_ISR': 
C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\src\ECG_Acquisition.c:336: error: 'DMA' undeclared (first use in this function) 
C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\src\ECG_Acquisition.c:336: error: 'DMA_FLAG_HT1' undeclared (first use in this function) 
C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\src\ECG_Acquisition.c:341: error: 'DMA_FLAG_TC1' undeclared (first use in this function) 
C:\Documents and Settings\Jingxi\My Documents\My Projects\STM32Primer\Projects\STM32ECG\src\ECG_Acquisition.c:347: error: 'DMA_FLAG_GL1' undeclared (first use in this function)

Offline

 

# 2   2009-06-03 09:35:12 Comiler Failed... (project: ECG Primer 1.0)

matloub
Member
Registered: 2008-02-21
Posts: 98

Re: Comiler Failed... (project: ECG Primer 1.0)

Hi

Some projects such as ECG Fatfryer and RB-Primer1 are not compiling anymore due to
library version compatibility.

Regards,
Matloub

Offline

 

# 3   2009-06-28 13:58:19 Comiler Failed... (project: ECG Primer 1.0)

toni1000
New member
Registered: 2008-07-30
Posts: 4

Re: Comiler Failed... (project: ECG Primer 1.0)

I upload a new version of ECG Primer, (version 1.1) on Projects section that it works for Circle OS 3.8, and new libraries.

Toni Martinez

Last edited by toni1000 (2010-01-19 20:38:25)

Offline

 

# 4   2009-09-13 03:14:21 Comiler Failed... (project: ECG Primer 1.0)

yemingxp
New member
Registered: 2009-01-08
Posts: 2

Re: Comiler Failed... (project: ECG Primer 1.0)

toni1000 :

I upload a new version of ECG Primer, (version 1.1) on Projects section that it works for Circle OS 3.7, and new libraries.

Toni Martinez

i met the same qustion as chienchun,so where's your uploaded new version? thx a lot

Offline

 

# 5   2009-12-20 13:43:27 Comiler Failed... (project: ECG Primer 1.0)

guille36
New member
Registered: 2009-05-31
Posts: 8

Re: Comiler Failed... (project: ECG Primer 1.0)

How do I do to compile right? where is the 1.1 version of ECG primer? do I have to replace the lib folder with older st libraries? where do I get it from? pls answer this question because the most loaded project just don't work! thanks a lot!

Offline

 

# 6   2009-12-22 09:35:25 Comiler Failed... (project: ECG Primer 1.0)

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Comiler Failed... (project: ECG Primer 1.0)

The new ST libraries are not 100% compatible with previous versions. We adapted all the project posted by Raisonance (and most of the projects that do not require any hardware), but some projects (such as ECG) that require a specific hardware extension have not been modified.

Offline

 

# 7   2010-01-19 20:43:42 Comiler Failed... (project: ECG Primer 1.0)

toni1000
New member
Registered: 2008-07-30
Posts: 4

Re: Comiler Failed... (project: ECG Primer 1.0)

try ECG-Primer-1.1, it should works.

Offline

 

# 8   2010-02-04 22:37:46 Comiler Failed... (project: ECG Primer 1.0)

rfarrow2010
Member
From: FL. USA
Registered: 2010-02-04
Posts: 14

Re: Comiler Failed... (project: ECG Primer 1.0)

What would be required to make your software run on a Primer2?

Offline

 

Board footer