Search found 4 matches

by plain
Sat Jan 11, 2014 4:40 pm
Forum: Development and Feedback
Topic: [DONE] Can not compile chprintf.c
Replies: 5
Views: 4643

Re: Can not compile chprintf.c

Giovanni wrote:Hi,

It is a bug, that declaration uses a C99 keywork while the project is compiled in C90 mode.

Replace "inline" with "INLINE", the fix will be present in version 2.6.3.

Giovanni


Thank you so much. I can compile it now :D
by plain
Fri Jan 10, 2014 10:44 am
Forum: Development and Feedback
Topic: [DONE] Can not compile chprintf.c
Replies: 5
Views: 4643

Re: Can not compile chprintf.c

Giovanni wrote:Hi,

I will try it over the weekend.

Giovanni


Thanks for your reply. I look forward hearing from you.
by plain
Fri Jan 10, 2014 5:22 am
Forum: Development and Feedback
Topic: [DONE] Can not compile chprintf.c
Replies: 5
Views: 4643

[DONE] Can not compile chprintf.c

I am trying ChibiOS for a few day. I got the demo project compiled, but when I try to compile my project with chprintf.h included, the compiler reported some errors

compiling chprintf.c...
..\..\..\os\various\chprintf.h(69): warning: #260-D&#58 ...
by plain
Thu Jan 09, 2014 11:52 am
Forum: User Projects
Topic: Arduino I2Cdev & MPU-6050 code conversion to ChibiOS
Replies: 7
Views: 11857

Re: Arduino I2Cdev & MPU-6050 code conversion to ChibiOS

Hi Jevermeister,
I am trying to using your code for my project. I use STM32F103RC. Now I can compile it successfully but when after I download it to the chip, when i try to init MPU6050 chip

MPU6050(0x68);
chThdSleepMilliseconds(100);
MPUinitialize();

It reports some error

I2C ERROR: 4 ...