Skip to content

Commit

Permalink
Adding placeholder LED and push button.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-gillespie committed Dec 3, 2024
1 parent c874944 commit 45b3083
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Libraries/Boards/MAX32657/EvKit_V1/Source/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ extern uint32_t SystemCoreClock;
// clang-format off
const mxc_gpio_cfg_t pb_pin[] = {
// TODO(ME30): Add push-buttons
{ MXC_GPIO0, MXC_GPIO_PIN_0, MXC_GPIO_FUNC_IN, MXC_GPIO_PAD_PULL_UP, MXC_GPIO_VSSEL_VDDIO, MXC_GPIO_DRVSTR_0 }
};
const unsigned int num_pbs = (sizeof(pb_pin) / sizeof(mxc_gpio_cfg_t));

const mxc_gpio_cfg_t led_pin[] = {
// TODO(ME30): Add LEDs
// TODO(ME30): Add LED pins
{ MXC_GPIO0, MXC_GPIO_PIN_1, MXC_GPIO_FUNC_OUT, MXC_GPIO_PAD_NONE, MXC_GPIO_VSSEL_VDDIO, MXC_GPIO_DRVSTR_0 }
};
const unsigned int num_leds = (sizeof(led_pin) / sizeof(mxc_gpio_cfg_t));
// clang-format on
Expand Down

0 comments on commit 45b3083

Please sign in to comment.