File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,6 +54,9 @@ const PinName digitalPin[] = {
5454 PA_10, // D10 - SDA (RX UART Header)
5555 PA_13, // D11 - SWDIO
5656 PA_14, // D12 - SWCLK
57+ // These two are only available on boards without a crystal:
58+ PF_0,
59+ PF_1,
5760 // Duplicated pins in order to be aligned with PinMap_ADC
5861 // A0 have to be greater than NUM_ANALOG_INPUTS
5962 PA_0, // D13/A0 ~ D0
Original file line number Diff line number Diff line change @@ -54,12 +54,15 @@ extern "C" {
5454#define PA10 10 //D10 - SDA (RX UART header)
5555#define PA13 11 //D11 - SWDIO
5656#define PA14 12 //D12 - SWCLK
57+ // Boards without a crystal can use these pins as well:
58+ #define PF0 13
59+ #define PF1 14
5760
5861// This must be a literal with the same value as PEND
59- #define NUM_DIGITAL_PINS 22
62+ #define NUM_DIGITAL_PINS 24
6063// This must be a literal with a value less than or equal to MAX_ANALOG_INPUTS
6164#define NUM_ANALOG_INPUTS 9
62- #define NUM_ANALOG_FIRST 13
65+ #define NUM_ANALOG_FIRST 15
6366
6467// On-board LED pin number
6568#define LED_BUILTIN PA4
You can’t perform that action at this time.
0 commit comments