Skip to content

Commit 45b3083

Browse files
Adding placeholder LED and push button.
1 parent c874944 commit 45b3083

File tree

1 file changed

+3
-1
lines changed
  • Libraries/Boards/MAX32657/EvKit_V1/Source

1 file changed

+3
-1
lines changed

Libraries/Boards/MAX32657/EvKit_V1/Source/board.c

+3-1
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@ extern uint32_t SystemCoreClock;
3434
// clang-format off
3535
const mxc_gpio_cfg_t pb_pin[] = {
3636
// TODO(ME30): Add push-buttons
37+
{ MXC_GPIO0, MXC_GPIO_PIN_0, MXC_GPIO_FUNC_IN, MXC_GPIO_PAD_PULL_UP, MXC_GPIO_VSSEL_VDDIO, MXC_GPIO_DRVSTR_0 }
3738
};
3839
const unsigned int num_pbs = (sizeof(pb_pin) / sizeof(mxc_gpio_cfg_t));
3940

4041
const mxc_gpio_cfg_t led_pin[] = {
41-
// TODO(ME30): Add LEDs
42+
// TODO(ME30): Add LED pins
43+
{ MXC_GPIO0, MXC_GPIO_PIN_1, MXC_GPIO_FUNC_OUT, MXC_GPIO_PAD_NONE, MXC_GPIO_VSSEL_VDDIO, MXC_GPIO_DRVSTR_0 }
4244
};
4345
const unsigned int num_leds = (sizeof(led_pin) / sizeof(mxc_gpio_cfg_t));
4446
// clang-format on

0 commit comments

Comments
 (0)