07-13-2011 05:46 PM
Hello there, I am trying to compile a "stm32f10x" project using old generic template project found on the forums (for example, here) and I have gotten around some errors.
however I am experiencing an error when compiling which says:
"
C:\Program Files\National Instruments\LabVIEW 2010\CCodeGen\include\os\rtx\LVDefs_plat.h(98): error: #256: invalid redeclaration of type name "int8" (declared at line 157 of "C:\Program Files\National Instruments\LabVIEW 2010\CCodeGen\analysis\development\include\fundtypes.h")
Target not created
Status: Build failed.
"
I have tried commenting out the lines which declares the int8 variable, however by commenting one out it gives more errors (as the type is used within the file)
I am using
-Windows 7
-National Instruments LabView 2010
-Keil uVision 4.14
-J-tag/J-link device
-STM32F103RB chip
Any help would be appreciated. thanks
07-14-2011 02:59 PM - edited 07-14-2011 02:59 PM
Hi PongoBeer,
There was a thread a while back that discussed this issue. Have you seen this and tried the troubleshooting steps that were listed? Also, can you specify which file you commented out "int8" in?
Thanks
07-15-2011 09:21 PM
hey there, i did try some of the things mentioned in the thread, however it was still not working
and I have tried commenting the declaration in both files, but each gave erros, however just now i have removed "stm32f10x_tim1" from the targetconfig file and the program seems to not come up with that error. however a new error has appeared that says:
[2:18:33 PM] Status: Error
linking...
.\Obj\LabVIEW.axf: Error: L6406E: No space in execution regions with .ANY selector matching stm32f10x.o(HEAP).
.\Obj\LabVIEW.axf: Error: L6407E: Sections of aggregate size 0x8000 bytes could not fit into .ANY selector(s).
Target not created
Status: Build failed.
08-01-2011 08:20 AM
Hi Pongo,
Were you able to resolve this issue or are you still stuck? If you were able to figure out, what did you do?
Have a great day,
08-01-2011 05:48 PM
hey there, i am still stuck on this problem and haven't touched Labview at all ever since
11-08-2012 08:25 AM
I have got the exact build error, has anyone got a solution?