Page 2 of 2

Re: Time conversions (ST2US)

Posted: Tue Aug 05, 2014 7:09 am
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...

Re: Time conversions (ST2US)

Posted: Tue Aug 05, 2014 8:17 am
by Giovanni
Thanks for finding, I will give it a try.

Giovanni

Re: Time conversions (ST2US)

Posted: Tue Aug 05, 2014 4:05 pm
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?

Re: Time conversions (ST2US)

Posted: Tue Aug 05, 2014 8:38 pm
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

Re: Time conversions (ST2US)

Posted: Wed Aug 06, 2014 5:20 am
by Michail
Oh, sorry for the impatience, did not think that everything is so serious.

Re: Time conversions (ST2US)

Posted: Wed Aug 06, 2014 10:26 am
by Michail
I've got all changes, now everything compiles fine.

Thank you!!!