Skip to content

Commit 40dd5bd

Browse files
committed
chore: update examples to support Nucleo WB15CC
Will be available within stm32 core version higher than 2.4.0. Signed-off-by: Frederic Pillon <[email protected]>
1 parent 0fe8e71 commit 40dd5bd

File tree

9 files changed

+11
-11
lines changed

9 files changed

+11
-11
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# STM32duinoBLE
22

33
This library is a fork of ArduinoBLE library to add the support of STM32WBxx, SPBTLE-RF and SPBTLE-1S BLE modules.
4-
It was successfully tested with the P-NUCELO_WB55RG, STM32WB5MM-DK, X-NUCLEO-IDB05A2 or X-NUCLEO-IDB05A1 or
5-
X-NUCLEO-BNRG2A1 expansion board and a NUCLEO-F401RE or NUCLEO-L476RG or NUCLEO-L053R8, with B-L475E-IOT01A
6-
and with STEVAL-MKSBOX1V1.
4+
It was successfully tested with the NUCLEO-WB15CC, P-NUCELO_WB55RG, STM32WB5MM-DK, X-NUCLEO-IDB05A2 or
5+
X-NUCLEO-IDB05A1 or X-NUCLEO-BNRG2A1 expansion board and a NUCLEO-F401RE or NUCLEO-L476RG or NUCLEO-L053R8,
6+
with B-L475E-IOT01A and with STEVAL-MKSBOX1V1.
77

88
- In order to use this library with SM32WBxx series, you need to update the STM32WB Copro Wireless Binaries
99
with stm32wbxx_BLE_HCILayer_fw.bin depending of your mcu:

examples/Central/LedControl/LedControl.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ BLELocalDevice BLEObj(&HCISpiTransport);
4343
BLELocalDevice& BLE = BLEObj;
4444
#endif
4545
const int buttonPin = PC13; // set buttonPin to digital pin PC13
46-
#elif defined(ARDUINO_P_NUCLEO_WB55RG) || defined(ARDUINO_STM32WB5MM_DK)
46+
#elif defined(ARDUINO_NUCLEO_WB15CC) || defined(ARDUINO_P_NUCLEO_WB55RG) || defined(ARDUINO_STM32WB5MM_DK)
4747
HCISharedMemTransportClass HCISharedMemTransport;
4848
#if !defined(FAKE_BLELOCALDEVICE)
4949
BLELocalDevice BLEObj(&HCISharedMemTransport);

examples/Central/PeripheralExplorer/PeripheralExplorer.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ HCISpiTransportClass HCISpiTransport(SpiHCI, SPBTLE_RF, PD13, PE6, PA8, 8000000,
4040
BLELocalDevice BLEObj(&HCISpiTransport);
4141
BLELocalDevice& BLE = BLEObj;
4242
#endif
43-
#elif defined(ARDUINO_P_NUCLEO_WB55RG) || defined(ARDUINO_STM32WB5MM_DK)
43+
#elif defined(ARDUINO_NUCLEO_WB15CC) || defined(ARDUINO_P_NUCLEO_WB55RG) || defined(ARDUINO_STM32WB5MM_DK)
4444
HCISharedMemTransportClass HCISharedMemTransport;
4545
#if !defined(FAKE_BLELOCALDEVICE)
4646
BLELocalDevice BLEObj(&HCISharedMemTransport);

examples/Central/Scan/Scan.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ HCISpiTransportClass HCISpiTransport(SpiHCI, SPBTLE_RF, PD13, PE6, PA8, 8000000,
3737
BLELocalDevice BLEObj(&HCISpiTransport);
3838
BLELocalDevice& BLE = BLEObj;
3939
#endif
40-
#elif defined(ARDUINO_P_NUCLEO_WB55RG) || defined(ARDUINO_STM32WB5MM_DK)
40+
#elif defined(ARDUINO_NUCLEO_WB15CC) || defined(ARDUINO_P_NUCLEO_WB55RG) || defined(ARDUINO_STM32WB5MM_DK)
4141
HCISharedMemTransportClass HCISharedMemTransport;
4242
#if !defined(FAKE_BLELOCALDEVICE)
4343
BLELocalDevice BLEObj(&HCISharedMemTransport);

examples/Central/ScanCallback/ScanCallback.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ HCISpiTransportClass HCISpiTransport(SpiHCI, SPBTLE_RF, PD13, PE6, PA8, 8000000,
3939
BLELocalDevice BLEObj(&HCISpiTransport);
4040
BLELocalDevice& BLE = BLEObj;
4141
#endif
42-
#elif defined(ARDUINO_P_NUCLEO_WB55RG) || defined(ARDUINO_STM32WB5MM_DK)
42+
#elif defined(ARDUINO_NUCLEO_WB15CC) || defined(ARDUINO_P_NUCLEO_WB55RG) || defined(ARDUINO_STM32WB5MM_DK)
4343
HCISharedMemTransportClass HCISharedMemTransport;
4444
#if !defined(FAKE_BLELOCALDEVICE)
4545
BLELocalDevice BLEObj(&HCISharedMemTransport);

examples/Central/SensorTagButton/SensorTagButton.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ HCISpiTransportClass HCISpiTransport(SpiHCI, SPBTLE_RF, PD13, PE6, PA8, 8000000,
4141
BLELocalDevice BLEObj(&HCISpiTransport);
4242
BLELocalDevice& BLE = BLEObj;
4343
#endif
44-
#elif defined(ARDUINO_P_NUCLEO_WB55RG) || defined(ARDUINO_STM32WB5MM_DK)
44+
#elif defined(ARDUINO_NUCLEO_WB15CC) || defined(ARDUINO_P_NUCLEO_WB55RG) || defined(ARDUINO_STM32WB5MM_DK)
4545
HCISharedMemTransportClass HCISharedMemTransport;
4646
#if !defined(FAKE_BLELOCALDEVICE)
4747
BLELocalDevice BLEObj(&HCISharedMemTransport);

examples/Peripheral/ButtonLED/ButtonLED.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ BLELocalDevice BLEObj(&HCISpiTransport);
4444
BLELocalDevice& BLE = BLEObj;
4545
#endif
4646
const int buttonPin = PC13; // set buttonPin to digital pin PC13
47-
#elif defined(ARDUINO_P_NUCLEO_WB55RG) || defined(ARDUINO_STM32WB5MM_DK)
47+
#elif defined(ARDUINO_NUCLEO_WB15CC) || defined(ARDUINO_P_NUCLEO_WB55RG) || defined(ARDUINO_STM32WB5MM_DK)
4848
HCISharedMemTransportClass HCISharedMemTransport;
4949
#if !defined(FAKE_BLELOCALDEVICE)
5050
BLELocalDevice BLEObj(&HCISharedMemTransport);

examples/Peripheral/CallbackLED/CallbackLED.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ HCISpiTransportClass HCISpiTransport(SpiHCI, SPBTLE_RF, PD13, PE6, PA8, 8000000,
4242
BLELocalDevice BLEObj(&HCISpiTransport);
4343
BLELocalDevice& BLE = BLEObj;
4444
#endif
45-
#elif defined(ARDUINO_P_NUCLEO_WB55RG) || defined(ARDUINO_STM32WB5MM_DK)
45+
#elif defined(ARDUINO_NUCLEO_WB15CC) || defined(ARDUINO_P_NUCLEO_WB55RG) || defined(ARDUINO_STM32WB5MM_DK)
4646
HCISharedMemTransportClass HCISharedMemTransport;
4747
#if !defined(FAKE_BLELOCALDEVICE)
4848
BLELocalDevice BLEObj(&HCISharedMemTransport);

examples/Peripheral/LED/LED.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ HCISpiTransportClass HCISpiTransport(SpiHCI, SPBTLE_RF, PD13, PE6, PA8, 8000000,
4040
BLELocalDevice BLEObj(&HCISpiTransport);
4141
BLELocalDevice& BLE = BLEObj;
4242
#endif
43-
#elif defined(ARDUINO_P_NUCLEO_WB55RG) || defined(ARDUINO_STM32WB5MM_DK)
43+
#elif defined(ARDUINO_NUCLEO_WB15CC) || defined(ARDUINO_P_NUCLEO_WB55RG) || defined(ARDUINO_STM32WB5MM_DK)
4444
HCISharedMemTransportClass HCISharedMemTransport;
4545
#if !defined(FAKE_BLELOCALDEVICE)
4646
BLELocalDevice BLEObj(&HCISharedMemTransport);

0 commit comments

Comments
 (0)