Adapted to OBCP ENSMM

Dependents:   SimpleBLE-ObCP_ENSMM_V2019_Test_BLE_S SimpleBLE-ObCp_test-BLE_envoi SimpleBLE-ObCp_test-BLE Roller_catcher_Envoi ... more

Files at this revision

API Documentation at this revision

Comitter:
dorianvoydie
Date:
Thu Feb 04 16:03:32 2021 +0000
Parent:
308:8886c0252544
Commit message:
Ce programme correspond a la cellule de depart du systeme "Laser Gate Timer" developpe par Tanguy KESSELY et Dorian VOYDIE. Il utilise une carte Nucleo F411, un shield BLE IDB05A1 et un PCB fait maison

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 8886c0252544 -r b173b83b9e64 x-nucleo-idb0xa1/x_nucleo_idb0xa1_targets.h
--- a/x-nucleo-idb0xa1/x_nucleo_idb0xa1_targets.h	Tue Dec 17 14:20:20 2019 +0000
+++ b/x-nucleo-idb0xa1/x_nucleo_idb0xa1_targets.h	Thu Feb 04 16:03:32 2021 +0000
@@ -43,11 +43,11 @@
  
 /*** SPI ***/
 /* Use Arduino I2C Connectors */
-#define IDB0XA1_PIN_SPI_MOSI   (PB_15)
-#define IDB0XA1_PIN_SPI_MISO   (PB_14)
-#define IDB0XA1_PIN_SPI_nCS    (PB_2)
-#define IDB0XA1_PIN_SPI_RESET  (PC_2)
-#define IDB0XA1_PIN_SPI_IRQ    (PB_12)
+#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)
 
 /* 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    (PB_13)
+//#define IDB0XA1_PIN_SPI_SCK    (D13)
 //#else // !defined(IDB0XA1_D13_PATCH)
-//#define IDB0XA1_PIN_SPI_SCK    (D3)
+#define IDB0XA1_PIN_SPI_SCK    (D3)
 //#endif // !defined(IDB0XA1_D13_PATCH)
 
 /* NOTE: Stack Mode 0x04 allows Simultaneous Scanning and Advertisement (SSAdv)