From 79a7c05b56db4aed41452b9975b5b569047aba14 Mon Sep 17 00:00:00 2001
From: Valerii Koval <valeros08@gmail.com>
Date: Wed, 22 Mar 2023 20:26:58 +0200
Subject: [PATCH 1/2] Update Arduino core to v4.0.2

---
 builder/frameworks/arduino/mbed-core | 2 +-
 platform.json                        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/builder/frameworks/arduino/mbed-core b/builder/frameworks/arduino/mbed-core
index ed9a345..6174f76 160000
--- a/builder/frameworks/arduino/mbed-core
+++ b/builder/frameworks/arduino/mbed-core
@@ -1 +1 @@
-Subproject commit ed9a3458e336660fdf2b1d4a4c828a2ddfd214ad
+Subproject commit 6174f769bfc8610a397ed0c912cd059246e547cd
diff --git a/platform.json b/platform.json
index 2fcc5cb..ce6d9e4 100644
--- a/platform.json
+++ b/platform.json
@@ -35,7 +35,7 @@
       "type": "framework",
       "optional": true,
       "owner": "platformio",
-      "version": "~3.5.4"
+      "version": "~4.0.2"
     },
     "tool-rp2040tools": {
       "type": "uploader",

From d3b88746db25ae9b09e3535ab75d674a3f4b42ab Mon Sep 17 00:00:00 2001
From: Valerii Koval <valeros08@gmail.com>
Date: Tue, 28 Mar 2023 14:36:19 +0300
Subject: [PATCH 2/2] Bump version to 1.9.0

---
 platform.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/platform.json b/platform.json
index ce6d9e4..ef6f648 100644
--- a/platform.json
+++ b/platform.json
@@ -18,7 +18,7 @@
     "type": "git",
     "url": "https://github.com/platformio/platform-raspberrypi.git"
   },
-  "version": "1.8.0",
+  "version": "1.9.0",
   "frameworks": {
     "arduino": {
       "package": "framework-arduino-mbed",