Skip to content

Commit 0e93139

Browse files
authored
Merge pull request #67 from facchinm/minima_leds
minima: add TX/RX LEDS definitions
2 parents cda972e + df98db2 commit 0e93139

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
@@ -91,6 +91,8 @@ static const uint8_t D15 = PIN_D15;
9191
// ----
9292
#define PIN_LED (13u)
9393
#define LED_BUILTIN PIN_LED
94+
#define LED_TX (21u)
95+
#define LED_RX (22u)
9496

9597
/****** RTC CORE DEFINES *******/
9698
#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)