The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

mbed 2

This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.

Revision:
172:65be27845400
Parent:
171:3a7713b1edbc
--- a/TARGET_NUCLEO_F030R8/TOOLCHAIN_ARM_MICRO/PeripheralPins.h	Thu Nov 08 11:45:42 2018 +0000
+++ b/TARGET_NUCLEO_F030R8/TOOLCHAIN_ARM_MICRO/PeripheralPins.h	Wed Feb 20 20:53:29 2019 +0000
@@ -35,13 +35,13 @@
 #include "PeripheralNames.h"
 
 //*** ADC ***
-#ifdef DEVICE_ANALOGIN
+#if DEVICE_ANALOGIN
 extern const PinMap PinMap_ADC[];
 extern const PinMap PinMap_ADC_Internal[];
 #endif
 
 //*** DAC ***
-#ifdef DEVICE_ANALOGOUT
+#if DEVICE_ANALOGOUT
 extern const PinMap PinMap_DAC[];
 #endif
 
@@ -57,17 +57,17 @@
 #endif
 
 //*** SERIAL ***
-#ifdef DEVICE_SERIAL
+#if DEVICE_SERIAL
 extern const PinMap PinMap_UART_TX[];
 extern const PinMap PinMap_UART_RX[];
-#ifdef DEVICE_SERIAL_FC
+#if DEVICE_SERIAL_FC
 extern const PinMap PinMap_UART_RTS[];
 extern const PinMap PinMap_UART_CTS[];
 #endif
 #endif
 
 //*** SPI ***
-#ifdef DEVICE_SPI
+#if DEVICE_SPI
 extern const PinMap PinMap_SPI_MOSI[];
 extern const PinMap PinMap_SPI_MISO[];
 extern const PinMap PinMap_SPI_SCLK[];
@@ -75,12 +75,12 @@
 #endif
 
 //*** CAN ***
-#ifdef DEVICE_CAN
+#if DEVICE_CAN
 extern const PinMap PinMap_CAN_RD[];
 extern const PinMap PinMap_CAN_TD[];
 #endif
 
-#ifdef DEVICE_QSPI
+#if DEVICE_QSPI
 extern const PinMap PinMap_QSPI_DATA[];
 extern const PinMap PinMap_QSPI_SCLK[];
 extern const PinMap PinMap_QSPI_SSEL[];