summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerry Palacios <[email protected]>2024-02-08 11:55:01 -0600
committerJerry Palacios <[email protected]>2024-02-08 11:55:01 -0600
commitfa4314e0cefab8c46640ad5bf2a21eb59668449f (patch)
treea26f719877bc90f867ed7331070eb18bad8ee595
parentb9c6b22165ce1912ec40b808570e13756e8faf4e (diff)
button commented
-rw-r--r--hw/bsp/mcxa/boards/frdmmcxa153/board.h8
-rw-r--r--hw/bsp/mcxa/family.c10
2 files changed, 9 insertions, 9 deletions
diff --git a/hw/bsp/mcxa/boards/frdmmcxa153/board.h b/hw/bsp/mcxa/boards/frdmmcxa153/board.h
index d18175c3d..8ebabb328 100644
--- a/hw/bsp/mcxa/boards/frdmmcxa153/board.h
+++ b/hw/bsp/mcxa/boards/frdmmcxa153/board.h
@@ -38,10 +38,10 @@
#define LED_STATE_ON 0
// WAKE button (Dummy, use unused pin
-#define BUTTON_GPIO GPIO1
-#define BUTTON_CLK kCLOCK_GateGPIO1
-#define BUTTON_PIN 7 //sw3
-#define BUTTON_STATE_ACTIVE 0
+// #define BUTTON_GPIO GPIO1
+// #define BUTTON_CLK kCLOCK_GateGPIO1
+// #define BUTTON_PIN 7 //sw3
+// #define BUTTON_STATE_ACTIVE 0
// UART
#define UART_DEV LPUART0
diff --git a/hw/bsp/mcxa/family.c b/hw/bsp/mcxa/family.c
index 97abc1bc3..78b1676d4 100644
--- a/hw/bsp/mcxa/family.c
+++ b/hw/bsp/mcxa/family.c
@@ -80,11 +80,11 @@ void board_init(void)
board_led_write(1);
// Button
-#ifdef BUTTON_GPIO
- CLOCK_EnableClock(BUTTON_CLK);
- gpio_pin_config_t const button_config = { kGPIO_DigitalInput, 0};
- GPIO_PinInit(BUTTON_GPIO, BUTTON_PIN, &button_config);
-#endif
+//#ifdef BUTTON_GPIO
+// CLOCK_EnableClock(BUTTON_CLK);
+// gpio_pin_config_t const button_config = { kGPIO_DigitalInput, 0};
+// GPIO_PinInit(BUTTON_GPIO, BUTTON_PIN, &button_config);
+//#endif
#ifdef UART_DEV