8000 add default values for the artemis module target · sparkfun/mbed-os-ambiq-apollo3@b09aae5 · GitHub
[go: up one dir, main page]

Skip to content

Commit b09aae5

Browse files
committed
add default values for the artemis module target
1 parent dc62c5f commit b09aae5

File tree

1 file changed

+8
-1
lines changed
  • targets/TARGET_Ambiq_Micro/TARGET_Apollo3/TARGET_SFE_ARTEMIS_MODULE

1 file changed

+8
-1
lines changed

targets/TARGET_Ambiq_Micro/TARGET_Apollo3/TARGET_SFE_ARTEMIS_MODULE/PinNames.h

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ typedef enum
4444
D6 = 6,
4545
D7 = 7,
4646
D8 = 8,
47-
D9 = 9
47+
D9 = 9,
4848
D10 = 10,
4949
D11 = 11,
5050
D12 = 12,
@@ -94,9 +94,16 @@ typedef enum
9494
A34 = D34,
9595
A35 = D35,
9696

97+
// A couple default values so mbed wont complain, users are encouraged to change these.
98+
USBTX = 48,
99+
USBRX = 49,
100+
LED1 = 5,
101+
97102
// Not connected
98103
NC = NC_VAL
99104
} PinName;
105+
#define STDIO_UART_TX USBTX
106+
#define STDIO_UART_RX USBRX
100107

101108
// ADC Defaults
102109
#define ADCPIN A11

0 commit comments

Comments
 (0)
0