Hello,
I was trying to get External Interrupts going, and I was looking at the example for STM32F3xx (C:\ChibiStudio\chibios161\testhal\STM32\STM32F3xx\EXT\main.c). I saw that the static const EXTConfig extcfg has 23 items. However, looking at the reference manual I saw 30+ interrupt sources. In the low level driver for STM32F3xx ( C:\ChibiStudio\chibios161\os\hal\ports\STM32\STM32F3xx\ext_lld_isr.c) there are items that do use the higher sources ( EXTD1.config->channels[33].cb(&EXTD1, 33); .
Shouldn't the example, in order to avoid future issues where 'higher index EXT' sources are called, use a initialisation table with 34 entries?
STM32F3xx Testhal has too few parameters in EXTI configuration Topic is solved
- Giovanni
- Site Admin
- Posts: 14893
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: STM32F3xx Testhal has too few parameters in EXTI configuration
Hi,
You are correct.
Fixed as bug #839.
Giovanni
You are correct.
Fixed as bug #839.
Giovanni