Closed charlespax closed 7 years ago
In commit 27a1f19b45323987bc93ce3aed916cd97b79b456
SW_PWR, GPIO_EXTI0 SW_A, GPIO_EXTI9 SW_B, GPIO_EXTI8 SW_C, GPIO_EXTI9 SW_D, GPIO_EXTI10 SW_E, GPIO_EXTI2
There is a collision between the interrupts of SW_B and SW_D. Both PC1 and PC4 are available and are suitable for replacing one of the EXTI9 lines. PC1 is on the side of the microcontroller that faces SW_A and SW_C, so that is probably a good choice. PC1 is on the top, so I think it would route nicely over to SW_A.
Swapped WIFI_EN with SW_A to avoid interrupt sharing.
Go through all the buttons and ensure they are on individual interrupts.
See also https://github.com/PaxInstruments/PaxInstruments-LabWiz-firmware/issues/10 and https://github.com/PaxInstruments/PaxInstruments-LabWiz-firmware/issues/12