Skip to content

Commit 08b931e

Browse files
committed
change d10 definition to pin4 to match changes to hardware design
1 parent 1cdec3b commit 08b931e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

targets/TARGET_Ambiq_Micro/TARGET_Apollo3/TARGET_LoRa_THING_PLUS_expLoRaBLE/PinNames.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ typedef enum
4646
D7 = 24,
4747
D8 = 46,
4848
D9 = 33,
49-
D10 = 48,
49+
D10 = 4,
5050
D11 = 28,
5151
D12 = 25, //SDA2
5252
D13 = 27, //SCL2

targets/TARGET_Ambiq_Micro/TARGET_Apollo3/TARGET_LoRa_THING_PLUS_expLoRaBLE/bsp/am_bsp_pins.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ const am_hal_gpio_pincfg_t g_AM_BSP_GPIO_LED_BLUE =
9191
//*****************************************************************************
9292
const am_hal_gpio_pincfg_t g_AM_BSP_GPIO_BUTTON0 =
9393
{
94-
.uFuncSel = AM_HAL_PIN_48_GPIO,
94+
.uFuncSel = AM_HAL_PIN_4_GPIO,
9595
.ePullup = AM_HAL_GPIO_PIN_PULLUP_1_5K,
9696
.eDriveStrength = AM_HAL_GPIO_PIN_DRIVESTRENGTH_2MA,
9797
.eGPInput = AM_HAL_GPIO_PIN_INPUT_ENABLE

targets/TARGET_Ambiq_Micro/TARGET_Apollo3/TARGET_LoRa_THING_PLUS_expLoRaBLE/bsp/am_bsp_pins.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ extern const am_hal_gpio_pincfg_t g_AM_BSP_GPIO_LED_BLUE;
7777
// BUTTON0 pin: Labeled 10 on the LoRa Thing Plus.
7878
//
7979
//*****************************************************************************
80-
#define AM_BSP_GPIO_BUTTON0 48
80+
#define AM_BSP_GPIO_BUTTON0 4
8181
extern const am_hal_gpio_pincfg_t g_AM_BSP_GPIO_BUTTON0;
8282

8383
//*****************************************************************************

0 commit comments

Comments
 (0)