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
How to create a custom board project?
Moderator: RoccoMarco
- Giovanni
- Site Admin
- Posts: 14893
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: How to create a custom board project?
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?
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?
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.
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.
Re: How to create a custom board project?
also got error messages
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?!!!

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?!!!
- RoccoMarco
- Posts: 655
- Joined: Wed Apr 24, 2013 4:11 pm
- Has thanked: 83 times
- Been thanked: 67 times
Re: How to create a custom board project?
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
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?
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
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