<div dir="ltr">Hello,<br><br>I'm trying to get the acknowledgement button feature  to work on an Olimex<br>STM32-H103 board: <a href="https://www.olimex.com/Products/ARM/ST/STM32-H103/" target="_blank">https://www.olimex.com/Products/ARM/ST/STM32-H103/</a><br>The schematic can be found on this link:<br><a href="https://www.olimex.com/Products/ARM/ST/STM32-H405/resources/STM32-H405_sch.pdf" target="_blank">https://www.olimex.com/Products/ARM/ST/STM32-H405/resources/STM32-H405_sch.pdf</a><br><br>The schematic shows that the button is connected to PA0 with a 10k<br>pull-up.  After browsing through the code and the STM32 reference manual<br>I tried to create the patch listed below.  However it doesn't work - I<br>can sign files without any problem, but it doesn't wait for<br>confirmation.  I've never programmed anything on an STM32 before, so I<br>guess I'm missing something obvious.  Can anyone help me to get on the<br>right track with this?<br><br>diff --git a/board/board-olimex-stm32-h103.h b/board/board-olimex-stm32-h103.h<br>index 348860d..05f9b8f 100644<br>--- a/board/board-olimex-stm32-h103.h<br>+++ b/board/board-olimex-stm32-h103.h<br>@@ -12,7 +12,7 @@<br> #define GPIO_LED_CLEAR_TO_EMIT          12<br> #define GPIO_USB_BASE   GPIOC_BASE<br> #define GPIO_USB_CLEAR_TO_ENABLE        11<br>-#undef  GPIO_OTHER_BASE<br>+#define GPIO_OTHER_BASE GPIOA_BASE<br><br> /*<br>  * Port C setup.<br>@@ -29,5 +29,9 @@<br> #define VAL_GPIO_LED_CRL            0x44888888      /*  PC7...PC0 */<br> #define VAL_GPIO_LED_CRH            0x88837888      /* PC15...PC8 */<br><br>+#define VAL_GPIO_OTHER_ODR          0xFFFFFFFF<br>+#define VAL_GPIO_OTHER_CRL          0x44444448      /*  PA7...PA0 */<br>+#define VAL_GPIO_OTHER_CRH          0x44444444      /* PA15...PA8 */<br>+<br> #define RCC_ENR_IOP_EN      RCC_APB2ENR_IOPCEN<br> #define RCC_RSTR_IOP_RST    RCC_APB2RSTR_IOPCRST<br>diff --git a/contrib/ackbtn-stm32f103.c b/contrib/ackbtn-stm32f103.c<br>index d06a5e2..0f3a448 100644<br>--- a/contrib/ackbtn-stm32f103.c<br>+++ b/contrib/ackbtn-stm32f103.c<br>@@ -65,6 +65,14 @@ ackbtn_init (chopstx_intr_t *intr)<br>       pin_config |= PINCFG_EDGE_RISING;<br>       break;<br><br>+    case BOARD_ID_OLIMEX_STM32_H103:<br>+      afio_exticr_index = 0;<br>+      afio_exticr_extiX_pY = AFIO_EXTICR1_EXTI0_PA;<br>+      irq_num = EXTI0_IRQ;<br>+      pin_config = 0x0001;<br>+      pin_config |= PINCFG_EDGE_RISING;<br>+      break;<br>+<br>     case BOARD_ID_FST_01SZ:<br>     default:<br>       /* PA3 is connected to a hall sensor DRV5032FA */<br></div>