http://chibios.sourceforge.net/html/gro ... boxes.html
The return msg_t in mailbox functions should be MSG_OK, MSG_RESET, MSG_TIMEOUT, not RDY_OK, RDY_RESET, RDY_TIMEOUT.
Return value in Mailbox Doc Topic is solved
Re: Return value in Mailbox Doc
and in the main function of the demo code
should be
Code: Select all
for (i == 0; i < NUM_BUFFERS; i++)
(void)chMBPost(&free_buffers, (msg_t)&buffers[i]);
should be
Code: Select all
for (i = 0; i < NUM_BUFFERS; i++)
(void)chMBPost(&free_buffers, (msg_t)&buffers[i]);
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: Return value in Mailbox Doc
aGuegu wrote:and in the main function of the demo codeCode: Select all
for (i == 0; i < NUM_BUFFERS; i++)
(void)chMBPost(&free_buffers, (msg_t)&buffers[i]);
should beCode: Select all
for (i = 0; i < NUM_BUFFERS; i++)
(void)chMBPost(&free_buffers, (msg_t)&buffers[i]);
The demo code at the guide book: http://www.chibios.org/dokuwiki/doku.ph ... _mailboxes
Re: Return value in Mailbox Doc
aGuegu wrote:http://chibios.sourceforge.net/html/group__mailboxes.html
The return msg_t in mailbox functions should be MSG_OK, MSG_RESET, MSG_TIMEOUT, not RDY_OK, RDY_RESET, RDY_TIMEOUT.
There are several RDY_XXX in the reference:
http://chibios.sourceforge.net/html/group___i2_c.html
http://chibios.sourceforge.net/html/gro ... boxes.html
Maybe should do a find all search, as they are no more defined in headers.
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: Return value in Mailbox Doc
Ah, you mean in the web book, fixed thanks.
You are looking at the 2.6.9 documentation, this is why you find those RDY_, it is the old name.
Giovanni
You are looking at the 2.6.9 documentation, this is why you find those RDY_, it is the old name.
Giovanni
Re: Return value in Mailbox Doc
Oh, I thought the online doc is always the latest stable release.
Would you please update it?
I managed to build the doc locally and served with http-server.
The new Doxygen 1.8.13, would suggest upgrade the config file
Would you please update it?
I managed to build the doc locally and served with http-server.
The new Doxygen 1.8.13, would suggest upgrade the config file
Code: Select all
ChibiOS_17.6.3/doc/hal $ doxygen Doxyfile_html
warning: Tag `CLANG_ASSISTED_PARSING' at line 1082 of file `Doxyfile_html' belongs to an option that was not enabled at compile time.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u", or recompile doxygen with this feature enabled.
warning: Tag `CLANG_OPTIONS' at line 1090 of file `Doxyfile_html' belongs to an option that was not enabled at compile time.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u", or recompile doxygen with this feature enabled.
Warning: node 'complete', graph 'example' size too small for label
Warning: node 'complete', graph 'example' size too small for label
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: Return value in Mailbox Doc
Hi,
The documentation is accessible from here: http://chibios.org/dokuwiki/doku.php?id ... tion:start
From where are you accessing it? perhaps an old link somewhere.
Giovanni
The documentation is accessible from here: http://chibios.org/dokuwiki/doku.php?id ... tion:start
From where are you accessing it? perhaps an old link somewhere.
Giovanni
Re: Return value in Mailbox Doc
Giovanni wrote:Hi,
The documentation is accessible from here: http://chibios.org/dokuwiki/doku.php?id ... tion:start
From where are you accessing it? perhaps an old link somewhere.
Giovanni
you are right. I know how I always go to the old link.
With the same hal i2c page.
The old link is http://chibios.sourceforge.net/html/group___i2_c.html
The new link is http://chibios.sourceforge.net/docs3/ha ... _i2_c.html
comparing these urls, we can see that the new one is "deeper". In the SEO words, deeper url ranks lower than higher one. So Google always guides me to the old doc.
Try google "chibios i2c", "chibios mailbox", "chibios spi", you would know what I mean. I must have been googled and stuck in the old one for quite a while...
Who is online
Users browsing this forum: No registered users and 18 guests