[INFO] ChibiOS 3.0 Status

This forum is dedicated to feedback, discussions about ongoing or future developments, ideas and suggestions regarding the ChibiOS projects are welcome. This forum is NOT for support.
User avatar
Giovanni
Site Admin
Posts: 14894
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

[INFO] ChibiOS 3.0 Status

Post by Giovanni »

Hi,

A small update, the new kernel is almost done, the new HAL is progressing well. I am still meditating about some internal interfaces but nothing important should change.

Now it is mainly matter of reintegrating all the ports, the platforms and the demos in the new branch doing the necessary changes. So far STM32F0xx and STM32F30x have been reintegrated and tested. The whole operation may require months but it is progressing smoothly.

Maintainers may want to check the changes in the new branch and start planning the port of the existing platforms. Porting a driver is very simple:
1) Remove the inclusion of ch.h
2) Replace all the calls to ChibiOS/RT APIs with the equivalent APIs in the OSAL layer (almost equal with a different prefix "osal" or "OSAL_").
3) Test the ported driver, it never happened that one didn't work so far.
4) Change the references to NVIC functions, now the priority is passed directly.

Giovanni
User avatar
Giovanni
Site Admin
Posts: 14894
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: [INFO] ChibiOS 3.0 Status

Post by Giovanni »

Added initial support for the F4, drivers to be re-tested.

Giovanni
User avatar
Tectu
Posts: 1225
Joined: Thu May 10, 2012 9:50 am

Re: [INFO] ChibiOS 3.0 Status

Post by Tectu »

May one be able to help testing without needing all the deep knowledge as the platform maintainer does?


~ Tectu
User avatar
Giovanni
Site Admin
Posts: 14894
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: [INFO] ChibiOS 3.0 Status

Post by Giovanni »

Using it in some real application but that could be too early.

Giovanni
User avatar
Prof. Dr. YoMan
Posts: 57
Joined: Thu May 24, 2012 11:00 am
Been thanked: 1 time

Re: [INFO] ChibiOS 3.0 Status

Post by Prof. Dr. YoMan »

Just digging around, found this:

Code: Select all

#define STM_OK               Q_OK
#define STM_TIMEOUT          Q_RESET
#define STM_RESET            Q_TIMEOUT


in hal_streams.h. Guess not ok.
User avatar
Giovanni
Site Admin
Posts: 14894
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: [INFO] ChibiOS 3.0 Status

Post by Giovanni »

Thanks, fixed :)

I expect this kind of errors, the code is solid already.

Giovanni
User avatar
russian
Posts: 368
Joined: Mon Oct 29, 2012 3:17 am
Has thanked: 16 times
Been thanked: 14 times

Re: [INFO] ChibiOS 3.0 Status

Post by russian »

It has been some time since the 3.0 status was updated... How does it look? :)
User avatar
Giovanni
Site Admin
Posts: 14894
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: [INFO] ChibiOS 3.0 Status

Post by Giovanni »

It looks very good and already usable :)

Not all ports have been ported to 3.0 but what is there is usable. Probably there will not be a 2.7.0.

Giovanni
User avatar
russian
Posts: 368
Joined: Mon Oct 29, 2012 3:17 am
Has thanked: 16 times
Been thanked: 14 times

Re: [INFO] ChibiOS 3.0 Status

Post by russian »

Do you have any specific date, or maybe some specific month, or at least some specific year for the 3.0 release? :)
User avatar
Giovanni
Site Admin
Posts: 14894
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: [INFO] ChibiOS 3.0 Status

Post by Giovanni »

Sure, 2014 :)
Post Reply