Page 3 of 3

Re: How to create a custom board project?

Posted: Wed Nov 16, 2016 8:02 pm
by Giovanni
Is that a newly created eclipse workspace? if so disable the static analyzer in Eclipse C/C++ settings, those are not compilation errors but analyzer errors caused by bad setup.

Giovanni

Re: How to create a custom board project?

Posted: Wed Nov 16, 2016 8:24 pm
by Chudik
Yes, it is there. You are probably right. Because, when I go to the source code and require to show implementation, it goes to the structure definition and those members of the structure are in place. That drives me nuts.
And why there are not such errors for the predefined boards like Nucleo? That project also prepared in the other eclipse workspace.

Could you remind me where is that static analyzer located?

Re: How to create a custom board project?

Posted: Thu Nov 17, 2016 10:28 pm
by Chudik
The interesting thing that project could be compiled and it generates output files. However, It does not communicate with PC through shell.
And I don't have a LED on board, to check, whether the whole system is working. Probably need to find place to put an LED to somewhere. :roll:

Re: How to create a custom board project?

Posted: Fri Nov 18, 2016 12:40 am
by Chudik
also got error messages

Code: Select all

Description   Resource   Path   Location   Type
Field 'chDbgAssert(tp->p_state == CH_STATE_SNDMSG, "invalid state")' could not be resolved   chmsg.c   /FW-0134_CHM3/os/os/rt/src   line 147   Semantic Error
Field 'msg_insert(ctp, &tp->p_msgqueue)' could not be resolved   chmsg.c   /FW-0134_CHM3/os/os/rt/src   line 95   Semantic Error
Field 'p_msg' could not be resolved   chmsg.c   /FW-0134_CHM3/os/os/rt/src   line 93   Semantic Error
Field 'p_msgqueue' could not be resolved   chmsg.c   /FW-0134_CHM3/os/os/rt/src   line 94   Semantic Error
Field 'p_msgqueue' could not be resolved   chmsg.c   /FW-0134_CHM3/os/os/rt/src   line 127   Semantic Error

etc, etc....

All these messages appear only when I go inside the source code during debugging.
Definitely there is some one global error in configuration. But which one, where is it?!!! :?: :roll:

Re: How to create a custom board project?

Posted: Fri Nov 18, 2016 10:37 am
by RoccoMarco
Hi Chudik,
this thread is going far away from initial topic. This create confusion for readers and It makes us hard to help. For next time please open a new topic for each single problem.
Ciao

Re: How to create a custom board project?

Posted: Sat Nov 19, 2016 2:10 am
by Chudik
Hi RoccoMarco,
I understand, but I don't know how even call the new thread :)
Besides, looks like nobody else trying to use a custom board outside of ChibiStudio and I'm trying to keep all my problems with it more compact. Hopefully, when I solve my problems with running this condiguration I can write some kind of guide