Time conversions (ST2US)

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Michail
Posts: 28
Joined: Mon Aug 04, 2014 6:55 am

Re: Time conversions (ST2US)

Post by Michail »

Hello.

I've updated to trunk and now gets a huge amount of errors :D
Don't know if this topic is right place to write, or I should create another one...

All of errors are repeated set:

Code: Select all

       [cc] C:\Work\CoIDE\ChibiOS_3.0_Test\os\hal\osal\rt/osal.h:135:1: error: unknown type name 'io_queue_t'
       [cc]  typedef io_queue_t GenericQueue;
       [cc]  ^
       [cc] C:\Work\CoIDE\ChibiOS_3.0_Test\os\hal\osal\rt/osal.h:136:1: error: unknown type name 'input_queue_t'
       [cc]  typedef input_queue_t InputQueue;
       [cc]  ^
       [cc] C:\Work\CoIDE\ChibiOS_3.0_Test\os\hal\osal\rt/osal.h:137:1: error: unknown type name 'output_queue_t'
       [cc]  typedef output_queue_t OutputQueue;
...
       [cc] C:\Work\CoIDE\ChibiOS_3.0_Test\os\hal\include/hal_queues.h:369:20: error: conflicting types for 'GenericQueue'
       [cc]  typedef io_queue_t GenericQueue;
...
       [cc] C:\Work\CoIDE\ChibiOS_3.0_Test\os\hal\osal\rt/osal.h:135:20: note: previous declaration of 'GenericQueue' was here
       [cc]  typedef io_queue_t GenericQueue;


I don't use Queues ("#define CH_CFG_USE_QUEUES FALSE" in chconf.h).
I can fix it myself, but hope this would be interesting to you...
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Time conversions (ST2US)

Post by Giovanni »

Thanks for finding, I will give it a try.

Giovanni
Michail
Posts: 28
Joined: Mon Aug 04, 2014 6:55 am

Re: Time conversions (ST2US)

Post by Michail »

I can see changes in nil/osal.h, but not in rt/osal.h. Are there any difficulties or you just forgot about it?
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Time conversions (ST2US)

Post by Giovanni »

Not finished yet, it impacted a series of other things even outside the this project, tomorrow I will commit the last changes.

Giovanni
Michail
Posts: 28
Joined: Mon Aug 04, 2014 6:55 am

Re: Time conversions (ST2US)

Post by Michail »

Oh, sorry for the impatience, did not think that everything is so serious.
Michail
Posts: 28
Joined: Mon Aug 04, 2014 6:55 am

Re: Time conversions (ST2US)

Post by Michail »

I've got all changes, now everything compiles fine.

Thank you!!!
Post Reply