Search found 2 matches

by haykodarb
Wed Jan 03, 2024 4:44 am
Forum: Bug Reports
Topic: Running PWMObjectInit sets channels to 0 and makes driver unusable.
Replies: 1
Views: 6008

Running PWMObjectInit sets channels to 0 and makes driver unusable.

Very minor issue, not sure if it even qualifies as a bug, but for all drivers I usually run driverObjectInit() at the start of my program just in case.

For the PWM driver, in line hal_pwm.c:73 pwmp->channels is set to 0 and never set again after that.

If you try to run pwmEnableChannel it will ...
by haykodarb
Sat Apr 01, 2023 1:15 am
Forum: ChibiOS/HAL
Topic: CAN Driver - Mailbox name confusion
Replies: 1
Views: 25735

CAN Driver - Mailbox name confusion

Hi everyone, hi Giovanni. First of all, many thanks for creating this wonderful tool. It's the first RTOS I learnt and it really simplified getting into embedded development after Arduino for me.

Now to my question, is the CAN Driver mailbox related in any way to the OSLIB Mailboxes?

I looked ...