From 69ae1ab4e0a8673dc743a22d6bd8706429aa90ca Mon Sep 17 00:00:00 2001 From: zvecr Date: Wed, 31 Aug 2022 23:16:34 +0100 Subject: [PATCH 1/3] Remove non promicro pins from converters --- .../converters/promicro_to_bit_c_pro/_pin_defs.h | 3 --- .../converters/promicro_to_stemcell/_pin_defs.h | 10 ++-------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/platforms/chibios/converters/promicro_to_bit_c_pro/_pin_defs.h b/platforms/chibios/converters/promicro_to_bit_c_pro/_pin_defs.h index 92e8fbfa1a9b..a693e330113a 100644 --- a/platforms/chibios/converters/promicro_to_bit_c_pro/_pin_defs.h +++ b/platforms/chibios/converters/promicro_to_bit_c_pro/_pin_defs.h @@ -34,6 +34,3 @@ // LEDs (Mapped to R and G channel of the Bit-C PRO's RGB led) #define D5 16U #define B0 17U - -// Bit-C LED (mapped to B channel of the Bit-C PRO's RGB led) -#define F0 18U diff --git a/platforms/chibios/converters/promicro_to_stemcell/_pin_defs.h b/platforms/chibios/converters/promicro_to_stemcell/_pin_defs.h index f5dd55905d86..65e8169cf0e2 100644 --- a/platforms/chibios/converters/promicro_to_stemcell/_pin_defs.h +++ b/platforms/chibios/converters/promicro_to_stemcell/_pin_defs.h @@ -46,12 +46,6 @@ #define B2 PAL_LINE(GPIOA, 7) #define B6 PAL_LINE(GPIOA, 4) -// Extra elite-c compatible pinout -#define B7 PAL_LINE(GPIOC, 13) -#define D5 PAL_LINE(GPIOC, 14) -#define C7 PAL_LINE(GPIOC, 15) -#define F1 PAL_LINE(GPIOA, 0) -#define F0 PAL_LINE(GPIOA, 1) - -// TX/RX pins of promicro +// LEDs +#define D5 PAL_LINE(GPIOC, 14) // bottom row #define B0 PAL_LINE(GPIOA, 9) // unconnected pin From a733f0b4923e4efb9273eacf334ea77f7fd12b8b Mon Sep 17 00:00:00 2001 From: zvecr Date: Wed, 31 Aug 2022 23:22:19 +0100 Subject: [PATCH 2/3] format --- platforms/chibios/converters/promicro_to_stemcell/_pin_defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/chibios/converters/promicro_to_stemcell/_pin_defs.h b/platforms/chibios/converters/promicro_to_stemcell/_pin_defs.h index 65e8169cf0e2..2bdb7c5a7ba6 100644 --- a/platforms/chibios/converters/promicro_to_stemcell/_pin_defs.h +++ b/platforms/chibios/converters/promicro_to_stemcell/_pin_defs.h @@ -48,4 +48,4 @@ // LEDs #define D5 PAL_LINE(GPIOC, 14) // bottom row -#define B0 PAL_LINE(GPIOA, 9) // unconnected pin +#define B0 PAL_LINE(GPIOA, 9) // unconnected pin From 1ee3d97fda0908016c74c382d597c3bd56d4e055 Mon Sep 17 00:00:00 2001 From: zvecr Date: Thu, 1 Sep 2022 01:51:31 +0100 Subject: [PATCH 3/3] Use actual LED --- platforms/chibios/converters/promicro_to_stemcell/_pin_defs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platforms/chibios/converters/promicro_to_stemcell/_pin_defs.h b/platforms/chibios/converters/promicro_to_stemcell/_pin_defs.h index 2bdb7c5a7ba6..a7b709f8374a 100644 --- a/platforms/chibios/converters/promicro_to_stemcell/_pin_defs.h +++ b/platforms/chibios/converters/promicro_to_stemcell/_pin_defs.h @@ -47,5 +47,5 @@ #define B6 PAL_LINE(GPIOA, 4) // LEDs -#define D5 PAL_LINE(GPIOC, 14) // bottom row -#define B0 PAL_LINE(GPIOA, 9) // unconnected pin +#define D5 PAL_LINE(GPIOA, 8) // User LED +#define B0 PAL_LINE(GPIOA, 9) // unconnected pin