Skip to content

Commit df98db2

Browse files
committed
minima: add TX/RX LEDS definitions
1 parent 3441adc commit df98db2

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Diff for: variants/MINIMA/pins_arduino.h

+2
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ static const uint8_t A5 = PIN_A5;
7474
// ----
7575
#define PIN_LED (13u)
7676
#define LED_BUILTIN PIN_LED
77+
#define LED_TX (21u)
78+
#define LED_RX (22u)
7779

7880
/****** RTC CORE DEFINES *******/
7981
#define RTC_HOWMANY 1

Diff for: variants/MINIMA/variant.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ extern "C" const PinMuxCfg_t g_pin_cfg[] = {
4646
{ BSP_IO_PORT_01_PIN_00, P100 }, /* (19) A5/SCL */
4747

4848
{ BSP_IO_PORT_05_PIN_00, P500 }, /* (20) Analog voltage measure pin */
49+
{ BSP_IO_PORT_00_PIN_12, P012 }, /* (21) TX LED */
50+
{ BSP_IO_PORT_00_PIN_13, P013 }, /* (22) RX LED */
4951
};
5052

5153
extern "C" const size_t g_pin_cfg_size = sizeof(g_pin_cfg);

0 commit comments

Comments
 (0)