Search found 264 matches

by faisal
Mon Aug 05, 2019 5:40 pm
Forum: ChibiOS/HAL
Topic: Doubt regarding drivers implementation
Replies: 23
Views: 4724

Re: Doubt regarding drivers implementation

Hi! Sorry to dig up this post, but I started creating the driver for the software serial after finally made it work. I created a pseudo-driver in my app, that uses PAL and GPT to create multiple software serials. I use PAL line events to detect start bit(PAL_EVENT_MODE_FALLING_EDGE) and GPT in cont...
by faisal
Mon Aug 05, 2019 5:38 pm
Forum: Development and Feedback
Topic: [INFO] ChibiStudio P2 preinstalled into Linux Mint 19.2 VM
Replies: 11
Views: 2185

Re: [INFO] ChibiStudio P2 preinstalled into Linux Mint 19.2 VM

Hey Giovanni, how about including the required debugging setup for Segger devices? You can include the Segger GDB server support in your preinstalled Eclipse. The GNU MCU Eclipse plugin is useful in that regard, as it has a configuration page for Segger devices as well. You could also preinstall Seg...
by faisal
Tue May 28, 2019 11:07 am
Forum: Bug Reports
Topic: Virtual timer overflow Topic is solved
Replies: 12
Views: 1961

Re: Virtual timer overflow Topic is solved

Probably but it will be "conditional", executed only when the kernel is configured in the right mode: tickless and (sizeof(interval) > sizeof(time)) and no other timers active and systick frequency high enough to not take ages to complete. So you will not see it executed in default demos,...
by faisal
Mon May 27, 2019 5:00 pm
Forum: Bug Reports
Topic: Virtual timer overflow Topic is solved
Replies: 12
Views: 1961

Re: Virtual timer overflow Topic is solved

Will a test case be added to test for this?
by faisal
Thu May 23, 2019 5:30 pm
Forum: Development and Feedback
Topic: GitHub Sponsors
Replies: 2
Views: 724

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: 724

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: 1395

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: 4724

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: 13453

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: Bug Reports
Topic: ch.rlist initialization with CH_CFG_NO_IDLE_THREAD Topic is solved
Replies: 6
Views: 1805

Re: ch.rlist initialization with CH_CFG_NO_IDLE_THREAD Topic is solved

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...

Go to advanced search