variant_BLUEPILL_F103C6.h:
Code: Select all
#define PB9 0
#define PB8 1
#define PB7 2
...
Code: Select all
#define PC14 18
#define PC15 19
#define PA0 PIN_A0
#define PA1 PIN_A1
#define PA2 PIN_A2
#define PA3 PIN_A3
Code: Select all
#define PB0_ALT1 (PB0 | ALT1)
#define PB0_ALT2 (PB0 | ALT2)
#define PB1_ALT1 (PB1 | ALT1)
variant_BLUEPILL_F103C6.cpp:
Code: Select all
const PinName digitalPin[] = {
/* USB connector on the top, MCU side */
/* Left Side */
PB_9, //D0
PB_8, //D1
PB_7, //D2
PB_6, //D3
Is there a document I can read ? Or otherwise there are references to a "genpinmap" utility, but I couldn't find it, seems like it has been deprecated.
I appreciate if someone can offer me a starting point.