Search found 260 matches

by faisal
Thu May 23, 2019 5:30 pm
Forum: Development and Feedback
Topic: GitHub Sponsors
Replies: 2
Views: 411

Re: GitHub Sponsors

Giovanni wrote:Oh wow, they now pay you to cross the black gates of Mordor?

Giovanni


Hahah, yep! This certainly isn't the Microsoft that I grew up with. Satya is bringing with him a huge culture shift.
by faisal
Thu May 23, 2019 3:47 pm
Forum: Development and Feedback
Topic: GitHub Sponsors
Replies: 2
Views: 411

GitHub Sponsors

Giovanni, does this nudge you at all in hosting ChibiOS on github :) ?

https://github.com/sponsors

I'm sure there are people out there who would contribute something.
by faisal
Thu May 23, 2019 3:44 pm
Forum: Development and Feedback
Topic: [INFO] New style checker tool
Replies: 7
Views: 853

Re: [INFO] New style checker tool

Have you had a chance to look into the various code style enforcement tools I emailed you about?
by faisal
Wed May 01, 2019 3:56 am
Forum: ChibiOS/HAL
Topic: Doubt regarding drivers implementation
Replies: 23
Views: 3177

Re: Doubt regarding drivers implementation

If you make it a buffered driver, you can use the hal_serial.h abstraction, as it uses virtual method tables for the implementation. If you need per character interrupts, that would be more like hal_uart - and that is tied to a specific lld file.
by faisal
Thu Apr 11, 2019 4:01 pm
Forum: Development and Feedback
Topic: [NOTE] Things nice to have
Replies: 15
Views: 10210

Re: [NOTE] Things nice to have

Now that the latest kernels and HAL are released, I suggest starting a new thread with ideas for the next significant releases.
by faisal
Wed Apr 10, 2019 7:08 pm
Forum: ChibiOS/RT
Topic: ch.rlist initialization with CH_CFG_NO_IDLE_THREAD
Replies: 3
Views: 1109

Re: ch.rlist initialization with CH_CFG_NO_IDLE_THREAD

Hi, When CH_CFG_NO_IDLE_THREAD is enabled then the main() function is the idle thread, you must never try to sleep in there. Doing so causes the problems you are describing. Giovanni Is this still the case? If so, there should be an assert somewhere to catch this. I think chSchGoSleepS is the right...
by faisal
Wed Apr 10, 2019 7:06 pm
Forum: ChibiOS/HAL
Topic: VMT interface between upper and lower level HAL
Replies: 9
Views: 997

Re: VMT interface between upper and lower level HAL

I'm working on a CAN driver for the MCP2515, making it look like a standard hal_can_lld . When I get that working, I'll play with some ideas we're talking about here. Now let's see who gets some code out there first lol :).
by faisal
Tue Apr 09, 2019 6:00 pm
Forum: ChibiOS/HAL
Topic: VMT interface between upper and lower level HAL
Replies: 9
Views: 997

Re: VMT interface between upper and lower level HAL

So, what do you think - should we make something like a BaseCanLLD (following the style of the other single inheritance Base* 'classes') which hal_can would then use?
by faisal
Sun Apr 07, 2019 7:25 pm
Forum: Development and Feedback
Topic: Internal Flash Driver
Replies: 27
Views: 3791

Re: Internal Flash Driver

If you're taking suggestions for the order of including device support, consider the stm32F72x next :)

Thanks for turning your attention to the internal flash driver. We may have some test/example code to contribute for testhal as well. I'll look into it if it would help.
by faisal
Thu Apr 04, 2019 6:23 pm
Forum: ChibiOS/HAL
Topic: VMT interface between upper and lower level HAL
Replies: 9
Views: 997

Re: VMT interface between upper and lower level HAL

Perhaps HAL should go full C++ but I don't know if the world is ready for this :) Giovanni Definitely not ready yet :) ... I'm guessing the VMT should just be part of the driver object. In hal_<device>.c, calls to LLD could be done thru a macro - which either uses the hal_<device>_lld calls directl...

Go to advanced search