From 03d84206c0ac4a520109af8340fce8cfaa4c2141 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20NEDJAR?= Date: Tue, 1 Oct 2024 16:43:40 +0200 Subject: [PATCH] fix(wb55): remove useless `define ARDUINO_PNUCLEO_WB55RG` --- variants/STM32WBxx/WB55R(C-E-G)V/variant_P_NUCLEO_WB55RG.h | 2 +- variants/STM32WBxx/WB55R(C-E-G)V/variant_STEAM32_WB55RG.h | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/variants/STM32WBxx/WB55R(C-E-G)V/variant_P_NUCLEO_WB55RG.h b/variants/STM32WBxx/WB55R(C-E-G)V/variant_P_NUCLEO_WB55RG.h index 3e9f3a6a19..a24535b75b 100644 --- a/variants/STM32WBxx/WB55R(C-E-G)V/variant_P_NUCLEO_WB55RG.h +++ b/variants/STM32WBxx/WB55R(C-E-G)V/variant_P_NUCLEO_WB55RG.h @@ -156,4 +156,4 @@ // pins are NOT connected to anything by default. #define SERIAL_PORT_MONITOR Serial #define SERIAL_PORT_HARDWARE Serial1 -#endif +#endif \ No newline at end of file diff --git a/variants/STM32WBxx/WB55R(C-E-G)V/variant_STEAM32_WB55RG.h b/variants/STM32WBxx/WB55R(C-E-G)V/variant_STEAM32_WB55RG.h index bab1843d27..37aaf577df 100644 --- a/variants/STM32WBxx/WB55R(C-E-G)V/variant_STEAM32_WB55RG.h +++ b/variants/STM32WBxx/WB55R(C-E-G)V/variant_STEAM32_WB55RG.h @@ -67,6 +67,7 @@ #define NUM_DIGITAL_PINS 44 #define NUM_ANALOG_INPUTS 6 +// Not used by Arduino only here for documentation purpose // Upper pad #define GPIO1 44 // P28 #define GPIO2 45 // P29 @@ -207,9 +208,6 @@ #define HAL_QSPI_MODULE_ENABLED #endif -/* backward compatibility */ -#define ARDUINO_PNUCLEO_WB55RG - /*---------------------------------------------------------------------------- * Arduino objects - C++ only *----------------------------------------------------------------------------*/