summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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