From 0e6806d490e0fc2f99a66569e06021b886f17d7d Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Mon, 27 Feb 2023 22:56:34 +0100 Subject: [PATCH 1/2] Makefile.features: output board on error --- Makefile.features | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.features b/Makefile.features index 426933bf77..05b5df0c51 100644 --- a/Makefile.features +++ b/Makefile.features @@ -13,7 +13,7 @@ include $(BOARDDIR)/Makefile.features # Sanity check ifeq (,$(CPU)) - $(error CPU must be defined by board / board_common Makefile.features) + $(error $(BOARD): CPU must be defined by board / board_common Makefile.features) endif include $(RIOTCPU)/$(CPU)/Makefile.features From 8a4b4fb8dda78a52c62f03ce689173d3f7f4bbcc Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Tue, 28 Feb 2023 08:35:17 +0100 Subject: [PATCH 2/2] boards/common/blxxxpill: Update pinout Also document the OSC32 connection of PC14/PC15 in the pinout. --- boards/common/blxxxpill/doc/pinout-bluepill.csv | 4 ++-- doc/doxygen/src/pinouts/pinout-bluepill.svg | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/boards/common/blxxxpill/doc/pinout-bluepill.csv b/boards/common/blxxxpill/doc/pinout-bluepill.csv index 296691f55c..4271aee8a9 100644 --- a/boards/common/blxxxpill/doc/pinout-bluepill.csv +++ b/boards/common/blxxxpill/doc/pinout-bluepill.csv @@ -77,8 +77,8 @@ PINSET, LEFT, PACKED, CENTER, CENTER, 74.75, 30, 45, 60, 10, 0 # wire, type, group, pin-name, comment, analog, PWM, SPI, I2C, POWER, UART, QDEC PIN, ANALOG, INPUT, NONE, , "VAT" PIN, DIGITAL, OUTPUT, NONE, "PC 13", "LED1" -PIN, DIGITAL, IO, NONE, "PC 14" -PIN, DIGITAL, IO, NONE, "PC 15" +PIN, DIGITAL, IO, NONE, "PC 14", "OSC32" +PIN, DIGITAL, IO, NONE, "PC 15", "OSC32" PIN, ANALOG, IO, NONE, "PA 0", , "A0" PIN, DIGITAL, IO, NONE, "PA 1", , "A1" PIN, DIGITAL, OUTPUT, NONE, "PA 2", , , , , , , "TX1" diff --git a/doc/doxygen/src/pinouts/pinout-bluepill.svg b/doc/doxygen/src/pinouts/pinout-bluepill.svg index 6733bf394d..0fd5116185 100644 --- a/doc/doxygen/src/pinouts/pinout-bluepill.svg +++ b/doc/doxygen/src/pinouts/pinout-bluepill.svg @@ -1 +1 @@ -LegendInputOutputI/OAnalogPWMSPII2CUARTPowerInternally Connected to ADCNTCA6VREFA7Default Interface for STDIOVATPC 13LED1PC 14PC 15PA 0A0PA 1A1PA 2TX1PA 3RX1PA 4A2CS1PA 5A3SCLK1PA 6A4MISO1PA 7A5MOSI1PB 0A8PWM2PB 1A9PWM3PB 10SCL1TX2PB 11SDA1RX2RESET+3.3VGNDGND+3.3VGND+5VPB 9SDA0PB 8SCL0PB 7QDEC0-BPB 6QDEC0-APB 5PWM1PB 4PWM0QDEC1-APB 3QDEC1-BPA 15PA 12USB D+stdioPA 11USB D-stdioPA 10stdioRX0PA 9stdioTX0QDEC2-APA 8QDEC2-BPB 15MOSI0PB 14MISO0PB 13SCLK0PB 12CS0UART for STM32F103C8 (64 KiB flash)USB for STM32F103CB (128 KiB flash) \ No newline at end of file +LegendInputOutputI/OAnalogPWMSPII2CUARTPowerInternally Connected to ADCNTCA6VREFA7Default Interface for STDIOVATPC 13LED1PC 14OSC32PC 15OSC32PA 0A0PA 1A1PA 2TX1PA 3RX1PA 4A2CS1PA 5A3SCLK1PA 6A4MISO1PA 7A5MOSI1PB 0A8PWM2PB 1A9PWM3PB 10SCL1TX2PB 11SDA1RX2RESET+3.3VGNDGND+3.3VGND+5VPB 9SDA0PB 8SCL0PB 7QDEC0-BPB 6QDEC0-APB 5PWM1PB 4PWM0QDEC1-APB 3QDEC1-BPA 15PA 12USB D+stdioPA 11USB D-stdioPA 10stdioRX0PA 9stdioTX0QDEC2-APA 8QDEC2-BPB 15MOSI0PB 14MISO0PB 13SCLK0PB 12CS0UART for STM32F103C8 (64 KiB flash)USB for STM32F103CB (128 KiB flash) \ No newline at end of file