This is with regards to trunk@12906, on the STM32L4xx series. It's only a possible bug due to an observed discrepancy between the Reference Manual and ChibiOS configuration code. I'm just bringing it up to hopefully determine if it really is an issue.
When I was adding L452 support to ChibiOS, I noticed in STM32L4xx/stm32_registry.h that all the L4xx series (including L4xx+) have the following definitions for EXTI Line0 handlers:
Code: Select all
#define STM32_EXTI_LINE0_HANDLER Vector58
#define STM32_EXTI_LINE1_HANDLER Vector5C
However, while reading through the STM32L4xx Reference Manual, in particular Section 12.3 where a table of these values are enumerated, I noticed that the manual specifies Line0 and Line1 should both be set to 0x0000005C (AKA Vector5C).
I haven't noticed anything yet to indicate this is causing a problem, but I noticed the discrepancy and I thought I would bring it up just in case it has the potential to cause problems. I'm not sure if the Reference Manual has a typo (should they be identical?) or if ChibiOS has a bug that simply hasn't manifested yet due to no one having used that subsystem yet. Or perhaps this isn't even an issue and nothing bad would happen if someone did.
Anyway, I was thinking maybe there is some way we can conclusively determine if this is an issue. I personally haven't worked with that subsystem directly, so I'm not sure I understand the ins and outs of it well enough to test it thoroughly, but I could try if needed. Anyone else have a thought or some insight?