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
[INFO] ChibiOS 3.0 Status
- Giovanni
- Site Admin
- Posts: 14894
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
- 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
May one be able to help testing without needing all the deep knowledge as the platform maintainer does?
~ Tectu
~ Tectu
- 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
Using it in some real application but that could be too early.
Giovanni
Giovanni
- Prof. Dr. YoMan
- Posts: 57
- Joined: Thu May 24, 2012 11:00 am
- Been thanked: 1 time
Re: [INFO] ChibiOS 3.0 Status
Just digging around, found this:
in hal_streams.h. Guess not ok.
Code: Select all
#define STM_OK Q_OK
#define STM_TIMEOUT Q_RESET
#define STM_RESET Q_TIMEOUTin hal_streams.h. Guess not ok.
- 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
Thanks, fixed 
I expect this kind of errors, the code is solid already.
Giovanni
I expect this kind of errors, the code is solid already.
Giovanni
- 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
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
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
- Giovanni
- Site Admin
- Posts: 14894
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times