Skip to content

Commit f5e86b9

Browse files
committed
chore: moved to STM32duinoBLE
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 3fd5a50 commit f5e86b9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+53
-25834
lines changed

.github/dependabot.yml

-13
This file was deleted.

.github/workflows/compile-examples.yml

-98
Original file line numberDiff line numberDiff line change
@@ -12,104 +12,6 @@ on:
1212
- ".github/workflows/compile-examples.yml"
1313
- "examples/**"
1414
- "src/**"
15-
schedule:
16-
# Run every Tuesday at 8 AM UTC to catch breakage caused by changes to external resources (libraries, platforms).
17-
- cron: "0 8 * * TUE"
1815
workflow_dispatch:
19-
repository_dispatch:
2016

2117
jobs:
22-
build:
23-
name: ${{ matrix.board.fqbn }}
24-
runs-on: ubuntu-latest
25-
26-
env:
27-
SKETCHES_REPORTS_PATH: sketches-reports
28-
29-
strategy:
30-
fail-fast: false
31-
32-
matrix:
33-
board:
34-
- fqbn: arduino:samd:mkrwifi1010
35-
platforms: |
36-
- name: arduino:samd
37-
artifact-name-suffix: arduino-samd-mkrwifi1010
38-
- fqbn: arduino:samd:nano_33_iot
39-
platforms: |
40-
- name: arduino:samd
41-
artifact-name-suffix: arduino-samd-nano_33_iot
42-
- fqbn: arduino:megaavr:uno2018:mode=on
43-
platforms: |
44-
- name: arduino:megaavr
45-
artifact-name-suffix: arduino-megaavr-uno2018
46-
- fqbn: arduino:mbed_nano:nano33ble
47-
platforms: |
48-
- name: arduino:mbed_nano
49-
artifact-name-suffix: arduino-mbed_nano-nano33ble
50-
- fqbn: arduino:mbed_nano:nanorp2040connect
51-
platforms: |
52-
- name: arduino:mbed_nano
53-
artifact-name-suffix: arduino-mbed_nano-nanorp2040connect
54-
- fqbn: arduino:renesas_uno:unor4wifi
55-
platforms: |
56-
- name: arduino:renesas_uno
57-
artifact-name-suffix: arduino-renesas_uno-unor4wifi
58-
59-
steps:
60-
- name: Checkout repository
61-
uses: actions/checkout@v4
62-
63-
- name: Compile examples
64-
uses: arduino/compile-sketches@v1
65-
with:
66-
github-token: ${{ secrets.GITHUB_TOKEN }}
67-
fqbn: ${{ matrix.board.fqbn }}
68-
platforms: ${{ matrix.board.platforms }}
69-
libraries: |
70-
# Install the library from the local path.
71-
- source-path: ./
72-
sketch-paths: |
73-
- examples
74-
enable-deltas-report: true
75-
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
76-
77-
- name: Save sketches report as workflow artifact
78-
uses: actions/upload-artifact@v4
79-
with:
80-
if-no-files-found: error
81-
path: ${{ env.SKETCHES_REPORTS_PATH }}
82-
name: sketches-report-${{ matrix.board.artifact-name-suffix }}
83-
84-
build-for-esp32:
85-
runs-on: ubuntu-latest
86-
87-
strategy:
88-
matrix:
89-
fqbn:
90-
- esp32:esp32:esp32
91-
- esp32:esp32:esp32s3
92-
- esp32:esp32:esp32c3
93-
# future bluetooth chips
94-
#- esp32:esp32:esp32c2
95-
#- esp32:esp32:esp32c6
96-
#- esp32:esp32:esp32h2
97-
98-
steps:
99-
- uses: actions/checkout@v4
100-
- uses: arduino/compile-sketches@v1
101-
with:
102-
github-token: ${{ secrets.GITHUB_TOKEN }}
103-
fqbn: ${{ matrix.fqbn }}
104-
platforms: |
105-
- name: esp32:esp32
106-
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
107-
sketch-paths: |
108-
- examples/Central/Scan
109-
- examples/Central/PeripheralExplorer
110-
- examples/Central/ScanCallback
111-
- examples/Central/SensorTagButton
112-
- examples/Peripheral/Advertising/EnhancedAdvertising
113-
- examples/Peripheral/Advertising/RawDataAdvertising
114-
cli-compile-flags: |
115-
- --warnings="none"

.github/workflows/report-size-deltas.yml

-24
This file was deleted.

.github/workflows/sync-labels.yml

-138
This file was deleted.

README.md

+21-7
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
1-
# ArduinoBLE
1+
# STM32duinoBLE
22

3-
[![Compile Examples Status](https://github.com/arduino-libraries/ArduinoBLE/workflows/Compile%20Examples/badge.svg)](https://github.com/arduino-libraries/ArduinoBLE/actions?workflow=Compile+Examples) [![Spell Check Status](https://github.com/arduino-libraries/ArduinoBLE/workflows/Spell%20Check/badge.svg)](https://github.com/arduino-libraries/ArduinoBLE/actions?workflow=Spell+Check)
3+
This library is a fork of ArduinoBLE library to add the support of SPBTLE-RF, SPBTLE-1S, BLUENRG-M2SP, BLUENRG-LP and BLUENRG-M0 BLE modules.
44

5-
Enables Bluetooth® Low Energy connectivity on the Arduino MKR WiFi 1010, Arduino UNO WiFi Rev2, Arduino Nano 33 IoT, Arduino Nano 33 BLE, Arduino Portenta H7, Arduino Giga R1 and Arduino UNO R4 WiFi.
5+
It was successfully tested with the [X-NUCLEO-IDB05A2] or [X-NUCLEO-IDB05A1] or [X-NUCLEO-BNRG2A1] expansion board and a [NUCLEO-F401RE] or [NUCLEO-L476RG] or [NUCLEO-L053R8], with [B-L475E-IOT01A], [B-L4S5I-IOT01A], [STEVAL-MKSBOX1V1], [STEVAL-MKBOXPRO] and with [STM32L562E-DK].
66

7-
This library supports creating a Bluetooth® Low Energy peripheral & central mode.
7+
- In order to use this library with [STEVAL-MKSBOX1V1], you need to update the firmware of the SPBTLE-1S BLE module mounted on that board as described in the following wiki page:
88

9-
For the Arduino MKR WiFi 1010, Arduino UNO WiFi Rev2, and Arduino Nano 33 IoT boards, it requires the NINA module to be running [Arduino NINA-W102 firmware](https://github.com/arduino/nina-fw) v1.2.0 or later.
9+
https://github.com/stm32duino/Arduino_Core_STM32/wiki/STM32duinoBLE#stm32duinoble-with-steval_mksbox1v1
1010

11-
For the Arduino UNO R4 WiFi, it requires the ESP32-S3 module to be running [firmware](https://github.com/arduino/uno-r4-wifi-usb-bridge) v0.2.0 or later.
11+
- In order to use this library with X-NUCLEO-BNRG2A1, you need to update the firmware of the BLUENRG-M2SP BLE module mounted on that expansion board as described in the following wiki page:
1212

13+
https://github.com/stm32duino/Arduino_Core_STM32/wiki/STM32duinoBLE#stm32duinoble-with-x-nucleo-bnrg2a1
1314

14-
For more information about this library please visit us at:
15+
For more information about ArduinoBLE library please visit the official web page at:
1516
https://www.arduino.cc/en/Reference/ArduinoBLE
1617

1718
## License
1819

1920
```
21+
Copyright (c) 2019 STMicroelectronics. All rights reserved.
2022
Copyright (c) 2019 Arduino SA. All rights reserved.
2123
2224
This library is free software; you can redistribute it and/or
@@ -33,3 +35,15 @@ You should have received a copy of the GNU Lesser General Public
3335
License along with this library; if not, write to the Free Software
3436
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
3537
```
38+
39+
B-L475E-IOT01A: https://www.st.com/en/evaluation-tools/b-l475e-iot01a.html
40+
B-L4S5I-IOT01A: https://www.st.com/en/evaluation-tools/b-l4s5i-iot01a.html
41+
NUCLEO-F401RE: https://www.st.com/en/evaluation-tools/nucleo-f401re.html
42+
NUCLEO-L053R8: https://www.st.com/en/evaluation-tools/nucleo-l053r8.html
43+
NUCLEO-L476RG: https://www.st.com/en/evaluation-tools/nucleo-l476rg.html
44+
STEVAL-MKSBOX1V1: https://www.st.com/en/evaluation-tools/steval-mksbox1v1.html
45+
STEVAL-MKBOXPRO: https://www.st.com/en/evaluation-tools/steval-mkboxpro.html
46+
STM32L562E-DK: https://www.st.com/en/evaluation-tools/stm32l562e-dk.html
47+
X-NUCLEO-BNRG2A1: https://www.st.com/en/ecosystems/x-nucleo-bnrg2a1.html
48+
X-NUCLEO-IDB05A2: https://www.st.com/en/ecosystems/x-nucleo-idb05a2.html
49+
X-NUCLEO-IDB05A1: https://www.st.com/en/ecosystems/x-nucleo-idb05a1.html

0 commit comments

Comments
 (0)