Skip to content

Commit 38f0c9e

Browse files
committed
Add RP2040 led indication patch
1 parent 3379272 commit 38f0c9e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
From b637f776a411e6cf37f4bd258b12fb73cbe72b75 Mon Sep 17 00:00:00 2001
2+
From: Martino Facchin <[email protected]>
3+
Date: Tue, 10 Aug 2021 12:09:30 +0200
4+
Subject: [PATCH] RP2040: enable led indication on mbed_die()
5+
6+
---
7+
targets/TARGET_RASPBERRYPI/TARGET_RP2040/objects.h | 2 ++
8+
1 file changed, 2 insertions(+)
9+
10+
diff --git a/targets/TARGET_RASPBERRYPI/TARGET_RP2040/objects.h b/targets/TARGET_RASPBERRYPI/TARGET_RP2040/objects.h
11+
index 280f166d4d..f5f44a58f4 100644
12+
--- a/targets/TARGET_RASPBERRYPI/TARGET_RP2040/objects.h
13+
+++ b/targets/TARGET_RASPBERRYPI/TARGET_RP2040/objects.h
14+
@@ -129,4 +129,6 @@ typedef struct serial_s serial_t;
15+
}
16+
#endif
17+
18+
+#define LED1 LED1
19+
+
20+
#endif
21+
--
22+
2.32.0
23+

0 commit comments

Comments
 (0)