by palou » Sat Sep 06, 2014 6:40 pm
by palou
Sat Sep 06, 2014 6:40 pm
Hello
I bought recently a RQ-Huno Kit in france (I am french)...
I would like to program it in C language.
Problem, I don't find any valuable document on how to configure a Development environment under windows 7.
I found this document
http://rqhuno1.blogspot.fr/search/label/Let%27s%20Learn%20C%20Programming on internet and follow instructions but this doesn't work. Examples delivered in RQ-Huno cdrom are not compiling.
(I have loaded IAR for ARM as indicated in the document)
When I launch "make" on Example,I have these errors (only firsts and last are copyed) :
- Code: Select all
Building configuration: RQ - Debug
Updating build tree...
core_cm3.c
main.c
Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned char __LDREXB(unsigned char const volatile *)" D:\robotique\RQ-HUNO\Example_Source\03_C_Programming\[2012.09.11]RQC_C_0.20\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h 1144
(declared at line 180 of "C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\arm\inc\c\intrinsics.h")
Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned short __LDREXH(unsigned short const volatile *)" D:\robotique\RQ-HUNO\Example_Source\03_C_Programming\[2012.09.11]RQC_C_0.20\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h 1154
(declared at line 181 of "C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\arm\inc\c\intrinsics.h")
Error while running C/C++ Compiler
misc.c
Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned char __LDREXB(unsigned char const volatile *)" D:\robotique\RQ-HUNO\Example_Source\03_C_Programming\[2012.09.11]RQC_C_0.20\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h 1144
(declared at line 180 of "C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\arm\inc\c\intrinsics.h")
Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned short __LDREXH(unsigned short const volatile *)" D:\robotique\RQ-HUNO\Example_Source\03_C_Programming\[2012.09.11]RQC_C_0.20\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h 1154
(declared at line 181 of "C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\arm\inc\c\intrinsics.h")
Error while running C/C++ Compiler
...
user.c
Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned char __LDREXB(unsigned char const volatile *)" D:\robotique\RQ-HUNO\Example_Source\03_C_Programming\[2012.09.11]RQC_C_0.20\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h 1144
(declared at line 180 of "C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\arm\inc\c\intrinsics.h")
Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned short __LDREXH(unsigned short const volatile *)" D:\robotique\RQ-HUNO\Example_Source\03_C_Programming\[2012.09.11]RQC_C_0.20\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h 1154
(declared at line 181 of "C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\arm\inc\c\intrinsics.h")
Error while running C/C++ Compiler
Total number of errors: 54
Total number of warnings: 0
Could you please help me to find good libraries to program the beast ?
Thanks in advance
Palou
Hello
I bought recently a RQ-Huno Kit in france (I am french)...
I would like to program it in C language.
Problem, I don't find any valuable document on how to configure a Development environment under windows 7.
I found this document
http://rqhuno1.blogspot.fr/search/label/Let%27s%20Learn%20C%20Programming on internet and follow instructions but this doesn't work. Examples delivered in RQ-Huno cdrom are not compiling.
(I have loaded IAR for ARM as indicated in the document)
When I launch "make" on Example,I have these errors (only firsts and last are copyed) :
- Code: Select all
Building configuration: RQ - Debug
Updating build tree...
core_cm3.c
main.c
Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned char __LDREXB(unsigned char const volatile *)" D:\robotique\RQ-HUNO\Example_Source\03_C_Programming\[2012.09.11]RQC_C_0.20\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h 1144
(declared at line 180 of "C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\arm\inc\c\intrinsics.h")
Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned short __LDREXH(unsigned short const volatile *)" D:\robotique\RQ-HUNO\Example_Source\03_C_Programming\[2012.09.11]RQC_C_0.20\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h 1154
(declared at line 181 of "C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\arm\inc\c\intrinsics.h")
Error while running C/C++ Compiler
misc.c
Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned char __LDREXB(unsigned char const volatile *)" D:\robotique\RQ-HUNO\Example_Source\03_C_Programming\[2012.09.11]RQC_C_0.20\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h 1144
(declared at line 180 of "C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\arm\inc\c\intrinsics.h")
Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned short __LDREXH(unsigned short const volatile *)" D:\robotique\RQ-HUNO\Example_Source\03_C_Programming\[2012.09.11]RQC_C_0.20\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h 1154
(declared at line 181 of "C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\arm\inc\c\intrinsics.h")
Error while running C/C++ Compiler
...
user.c
Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned char __LDREXB(unsigned char const volatile *)" D:\robotique\RQ-HUNO\Example_Source\03_C_Programming\[2012.09.11]RQC_C_0.20\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h 1144
(declared at line 180 of "C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\arm\inc\c\intrinsics.h")
Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned short __LDREXH(unsigned short const volatile *)" D:\robotique\RQ-HUNO\Example_Source\03_C_Programming\[2012.09.11]RQC_C_0.20\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h 1154
(declared at line 181 of "C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\arm\inc\c\intrinsics.h")
Error while running C/C++ Compiler
Total number of errors: 54
Total number of warnings: 0
Could you please help me to find good libraries to program the beast ?
Thanks in advance
Palou