Skip to content

Commit

Permalink
Havit KB435L successfully enters bootloader
Browse files Browse the repository at this point in the history
  • Loading branch information
humanplayer2 authored and dexter93 committed Mar 21, 2024
1 parent 2e320d9 commit b6ad456
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -241,11 +241,11 @@
#define SN32_BOOTLOADER_ADDRESS 0x1FFF0009
#define BOOT0_GPIO SN_GPIO3
#define BOOT0_PIN 5
/* Escape / PCB matrix top left. Column: A8. Row: B0. Diodes: ROW2COL. */
#define BLKEY_INPUT_GPIO SN_GPIO1 // GPIO2 = Pin B
#define BLKEY_INPUT_PIN 0 // Pin 0
#define BLKEY_OUTPUT_GPIO SN_GPIO0 // GPIO1 = Pin A
#define BLKEY_OUTPUT_PIN 8 // Pin 8
/* Escape */
#define BLKEY_INPUT_GPIO SN_GPIO1
#define BLKEY_INPUT_PIN 0
#define BLKEY_OUTPUT_GPIO SN_GPIO0
#define BLKEY_OUTPUT_PIN 8
#else
#error Not configured for this target.
#endif

0 comments on commit b6ad456

Please sign in to comment.