removed X-NUCLEO-COMMON and ST-INTERFACES

Dependents:   unh-hackathon-example unh-hackathon-example-raw

Fork of X_NUCLEO_IKS01A1 by ST

Files at this revision

API Documentation at this revision

Comitter:
Wolfgang Betz
Date:
Mon Apr 20 11:42:38 2015 +0200
Parent:
8:d49db2c9d9c1
Child:
10:cdf47a4b3f2f
Commit message:
Make X_NUCLEO_IKS01A1 compatible with all Arduino base boards

Changed in this revision

x_nucleo_iks01a1_targets.h Show annotated file Show diff for this revision Revisions of this file
--- a/x_nucleo_iks01a1_targets.h	Wed Apr 15 15:56:11 2015 +0200
+++ b/x_nucleo_iks01a1_targets.h	Mon Apr 20 11:42:38 2015 +0200
@@ -41,14 +41,9 @@
 #ifndef _X_NUCLEO_IKS01A1_TARGETS_H_
 #define _X_NUCLEO_IKS01A1_TARGETS_H_
 
-#if defined(TARGET_STM) // STM Nucleo Boards (use ST Morpho headers)
-
 /*** I2C ***/
+/* Use Arduino I2C Connectors */
 #define IKS01A1_PIN_I2C_SCL         (D15)
 #define IKS01A1_PIN_I2C_SDA         (D14)
 
-#else // !defined(TARGET_STM)
-#error "Platform not supported!"
-#endif // !defined(TARGET_STM)
-
 #endif // _X_NUCLEO_IKS01A1_TARGETS_H_