Suppressed conflicting destructor function.
Dependencies: X_NUCLEO_COMMON ST_INTERFACES
Dependents: D7A_1x_TRAINING D7_MLX_AND_BAT D7A_1x_demo_sensors_v3
Fork of X_NUCLEO_IKS01A1 by
Revision 93:2f5764f0ac35, committed 2017-01-30
- Comitter:
- Jeej
- Date:
- Mon Jan 30 11:18:31 2017 +0000
- Parent:
- 92:58053538f7d7
- Child:
- 94:17ea2ea16494
- Commit message:
- Define IOs
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 Dec 21 14:21:20 2016 +0000 +++ b/x_nucleo_iks01a1_targets.h Mon Jan 30 11:18:31 2017 +0000 @@ -42,24 +42,13 @@ #define _X_NUCLEO_IKS01A1_TARGETS_H_ #if defined(TARGET_STM32L432KC) -#define IKS01A1_PIN_I2C_SDA (D0) -#define IKS01A1_PIN_I2C_SCL (D1) -#define IKS01A1_PIN_FF (NC) -#endif - -/*** I2C ***/ -/* Use Arduino I2C Connectors */ -#ifndef IKS01A1_PIN_I2C_SDA -#define IKS01A1_PIN_I2C_SDA (D14) -#endif - -#ifndef IKS01A1_PIN_I2C_SCL -#define IKS01A1_PIN_I2C_SCL (D15) -#endif - -/* Free Fall Detection IRQ */ -#ifndef IKS01A1_PIN_FF -#define IKS01A1_PIN_FF (A2) + #define IKS01A1_PIN_I2C_SDA (D0) + #define IKS01A1_PIN_I2C_SCL (D1) + #define IKS01A1_PIN_FF (NC) +#else + #define IKS01A1_PIN_I2C_SDA (D14) + #define IKS01A1_PIN_I2C_SCL (D15) + #define IKS01A1_PIN_FF (A2) #endif #endif // _X_NUCLEO_IKS01A1_TARGETS_H_