Skip to content

minima: add TX/RX LEDS definitions #67

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions variants/MINIMA/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ static const uint8_t A5 = PIN_A5;
// ----
#define PIN_LED (13u)
#define LED_BUILTIN PIN_LED
#define LED_TX (21u)
#define LED_RX (22u)

/****** RTC CORE DEFINES *******/
#define RTC_HOWMANY 1
Expand Down
2 changes: 2 additions & 0 deletions variants/MINIMA/variant.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ extern "C" const PinMuxCfg_t g_pin_cfg[] = {
{ BSP_IO_PORT_01_PIN_00, P100 }, /* (19) A5/SCL */

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

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