From 9f7c0d8db95cc2495bb803b05b4d631b2248aad2 Mon Sep 17 00:00:00 2001
From: valeros <valeros08@gmail.com>
Date: Tue, 12 Nov 2024 14:06:15 +0200
Subject: [PATCH] Update variant names for several boards

Updated variants for the following boards:

- Electrosmith Daisy Patch SM
- Electrosmith Daisy Petal SM
- MKR Sharky
---
 boards/electrosmith_daisy_patch_sm.json | 4 ++--
 boards/electrosmith_daisy_petal_sm.json | 4 ++--
 boards/mkr_sharky.json                  | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/boards/electrosmith_daisy_patch_sm.json b/boards/electrosmith_daisy_patch_sm.json
index 50d72e66..0243161f 100644
--- a/boards/electrosmith_daisy_patch_sm.json
+++ b/boards/electrosmith_daisy_patch_sm.json
@@ -9,11 +9,11 @@
     "extra_flags": "-DSTM32H7 -DSTM32H7xx -DSTM32H750xx",
     "f_cpu": "400000000L",
     "framework_extra_flags": {
-      "arduino": "-DCUSTOM_PERIPHERAL_PINS"
+      "arduino": "-DCUSTOM_PERIPHERAL_PINS -DARDUINO_DAISY_PATCH_SM"
     },
     "mcu": "stm32h750ibk6",
     "product_line": "STM32H750xx",
-    "variant": "STM32H7xx/H742I(G-I)(K-T)_H743I(G-I)(K-T)_H750IB(K-T)_H753II(K-T)"
+    "variant": "STM32H7xx/H742I(G-I)K_H743I(G-I)K_H750IBK_H753IIK"
   },
   "connectivity": [
     "can"
diff --git a/boards/electrosmith_daisy_petal_sm.json b/boards/electrosmith_daisy_petal_sm.json
index 5ef1160b..ddf8485c 100644
--- a/boards/electrosmith_daisy_petal_sm.json
+++ b/boards/electrosmith_daisy_petal_sm.json
@@ -9,11 +9,11 @@
     "extra_flags": "-DSTM32H7 -DSTM32H7xx -DSTM32H750xx",
     "f_cpu": "400000000L",
     "framework_extra_flags": {
-      "arduino": "-DCUSTOM_PERIPHERAL_PINS"
+      "arduino": "-DCUSTOM_PERIPHERAL_PINS -DARDUINO_DAISY_PETAL_SM"
     },
     "mcu": "stm32h750ibk6",
     "product_line": "STM32H750xx",
-    "variant": "STM32H7xx/H742I(G-I)(K-T)_H743I(G-I)(K-T)_H750IB(K-T)_H753II(K-T)"
+    "variant": "STM32H7xx/H742I(G-I)K_H743I(G-I)K_H750IBK_H753IIK"
   },
   "connectivity": [
     "can"
diff --git a/boards/mkr_sharky.json b/boards/mkr_sharky.json
index 0440c3a5..8ebd64c5 100644
--- a/boards/mkr_sharky.json
+++ b/boards/mkr_sharky.json
@@ -5,7 +5,7 @@
     "extra_flags": "-DSTM32WB -DSTM32WBxx -DSTM32WB55xx",
     "f_cpu": "64000000L",
     "mcu": "stm32wb55cg",
-    "variant": "STM32WBxx/WB55C(C-E-G)U"
+    "variant": "STM32WBxx/WB35C(C-E)UxA_WB55C(C-E-G)U"
   },
   "connectivity": [
     "bluetooth"