Page 1 of 1

EXT vs PAL driver for gpio interrupts

Posted: Sun Feb 11, 2018 10:47 pm
by geoffrey.brown
Sometime in the past I used the EXT driver for GPIO interrupts, but it looks like that is being replaced by things in the PAL driver. I'm unclear about the current status and what I should use today. If the PAL driver, then which ChibiOS version and is there an simple example of enabling a GPIO interrupt ? If the EXT, then I more or less remember the "big picture" if not the details.

Geoffrey

Re: EXT vs PAL driver for gpio interrupts

Posted: Mon Feb 12, 2018 8:19 am
by Giovanni
Hi,

In release 18.2.0 the EXT driver is no more provided for STM32, there is a PAL demo under /testhal/STM32/multi/PAL with examples of callbacks and synchronous API.

Giovanni

Re: EXT vs PAL driver for gpio interrupts

Posted: Mon Feb 12, 2018 11:16 pm
by geoffrey.brown
Thanks ! It took a little futzing to get my project upgraded (config files, makefile, etc), plus some deprecated calls, but is all seems to be working now. I do appreciate the simplicity of the PAL interrupt model.

Geoffrey