-#define AO_BOOT_APPLICATION_GPIO stm_gpiob
-#define AO_BOOT_APPLICATION_PIN 5
-#define AO_BOOT_APPLICATION_VALUE 0
+#define AO_BOOT_CHAIN 1
+#define AO_BOOT_PIN 1
+
+#define AO_BOOT_APPLICATION_GPIO stm_gpiod
+#define AO_BOOT_APPLICATION_PIN 2
+#define AO_BOOT_APPLICATION_VALUE 1