BLE Driver for specific board Mheuve sensor ENSMM CROC

Dependents:   BLE_Meuhve_Sensor

Files at this revision

API Documentation at this revision

Comitter:
jimbaud
Date:
Wed Jan 27 09:56:48 2021 +0000
Parent:
307:fa98703ece8e
Commit message:
BLE Driver for specific board Mheuve sensor ENSMM CROC

Changed in this revision

x-nucleo-idb0xa1/x_nucleo_idb0xa1_targets.h Show annotated file Show diff for this revision Revisions of this file
diff -r fa98703ece8e -r 281329434366 x-nucleo-idb0xa1/x_nucleo_idb0xa1_targets.h
--- a/x-nucleo-idb0xa1/x_nucleo_idb0xa1_targets.h	Fri Sep 16 12:03:25 2016 +0200
+++ b/x-nucleo-idb0xa1/x_nucleo_idb0xa1_targets.h	Wed Jan 27 09:56:48 2021 +0000
@@ -43,11 +43,11 @@
  
 /*** SPI ***/
 /* Use Arduino I2C Connectors */
-#define IDB0XA1_PIN_SPI_MOSI   (D11)
-#define IDB0XA1_PIN_SPI_MISO   (D12)
-#define IDB0XA1_PIN_SPI_nCS    (A1)
-#define IDB0XA1_PIN_SPI_RESET  (D7)
-#define IDB0XA1_PIN_SPI_IRQ    (A0)
+#define IDB0XA1_PIN_SPI_MOSI   (PB_15)
+#define IDB0XA1_PIN_SPI_MISO   (PB_14)
+#define IDB0XA1_PIN_SPI_nCS    (PC_6)
+#define IDB0XA1_PIN_SPI_RESET  (PC_7)
+#define IDB0XA1_PIN_SPI_IRQ    (PB_12)
 
 /* NOTE: Define macro 'IDB0XA1_D13_PATCH' if you want to compile for a specifically
          modified version of the X_NUCLEO_IDB0XA1 expansion board in
@@ -57,9 +57,9 @@
 	 any Arduino-compliant base board.
 */
 #if defined(IDB0XA1_D13_PATCH)
-#define IDB0XA1_PIN_SPI_SCK    (D13)
+#define IDB0XA1_PIN_SPI_SCK    (PB_13)
 #else // !defined(IDB0XA1_D13_PATCH)
-#define IDB0XA1_PIN_SPI_SCK    (D3)
+#define IDB0XA1_PIN_SPI_SCK    (PB_13)
 #endif // !defined(IDB0XA1_D13_PATCH)
 
 /* NOTE: Stack Mode 0x04 allows Simultaneous Scanning and Advertisement (SSAdv)