We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dc15ee commit 3a71f86Copy full SHA for 3a71f86
targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TARGET_DISCO_L475VG_IOT01A/PeripheralPins.c
@@ -31,3 +31,23 @@
31
#include "PeripheralPins.h"
32
#include "mbed_toolchain.h"
33
#include "PeripheralPinMaps.h"
34
+
35
+// List of GPIOs with limited functionality
36
+const PinList *pinmap_gpio_restricted_pins()
37
+{
38
+ static const PinName pins[] = {
39
+ D15, // fixed pull-up (for I2C)
40
+ D14, // fixed pull-up (for I2C)
41
+ PB_10, // fixed pull-up (for I2C)
42
+ PB_11, // fixed pull-up (for I2C)
43
+ RCC_OSC32_IN, // OSC32_IN
44
+ RCC_OSC32_OUT, // OSC32_OUT
45
+ RCC_OSC_IN, // OSC_IN
46
+ RCC_OSC_OUT // OSC_OUT
47
+ };
48
+ static const PinList pin_list = {
49
+ sizeof(pins) / sizeof(pins[0]),
50
+ pins
51
52
+ return &pin_list;
53
+}
0 commit comments