Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion a153makefile.mk
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ CFLAGS_$(MCU) += \
SRC_$(MCU)_BL := $(foreach dir,$(SRC_BASE_DIR_$(MCU)),$(wildcard $(dir)/*.[cs])) \
$(wildcard $(HAL_FOLDER_$(MCU))/Src/*.c)

BOOTLOADER_PINS_$(MCU) = PB2
BOOTLOADER_PINS_$(MCU) = PB2 PC6
5 changes: 5 additions & 0 deletions bootloader/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,11 @@
#define input_port GPIOB
#define PIN_NUMBER 2
#define PORT_LETTER 1
#elif defined(USE_PC6)
#define input_pin GPIO_PIN(6)
#define input_port GPIOC
#define PIN_NUMBER 6
#define PORT_LETTER 2
#else
#error "Bootloader comms pin not defined"
#endif
Expand Down
Loading