Skip to content

Align to ArduinoBLE master #385

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 255 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
255 commits
Select commit Hold shift + click to select a range
d54c075
Merge pull request #4 from cparata/master
cparata Sep 20, 2019
1b0d04e
Merge remote-tracking branch 'upstream/master'
cparata Sep 20, 2019
e37e3aa
Update README and Library properties
cparata Sep 25, 2019
b530dec
Merge pull request #5 from cparata/master
cparata Sep 25, 2019
0c59e94
Solve conflicts
cparata Oct 10, 2019
33a8c3b
Merge pull request #6 from cparata/master
cparata Oct 10, 2019
fa813f0
Replace typo STBTLE with SPBTLE
cparata Nov 12, 2019
5d4475a
Merge pull request #8 from cparata/master
cparata Nov 12, 2019
41cf4bc
Align to ArduinoBLE 1.1.2
cparata Nov 15, 2019
4734253
Merge pull request #9 from cparata/master
cparata Nov 15, 2019
83671f4
Merge remote-tracking branch 'upstream/master'
cparata Dec 3, 2019
495b941
Merge pull request #10 from cparata/master
cparata Dec 3, 2019
c4f359a
Improve STM32duinoBLE robustness and flexibility
cparata Feb 7, 2020
02ff3a6
SPISettings managements
fpistm Feb 17, 2020
2f22ce9
Replace boolean with standard bool
fpistm Nov 19, 2019
7e7cf88
Fix workflow to build ST targets
fpistm Feb 17, 2020
94a834a
Merge pull request #1 from fpistm/pr-11
cparata Feb 17, 2020
ab1df57
Update examples/Central/PeripheralExplorer/PeripheralExplorer.ino
cparata Feb 17, 2020
19ce615
Update examples/Central/PeripheralExplorer/PeripheralExplorer.ino
cparata Feb 17, 2020
81ff00b
Update examples/Central/LedControl/LedControl.ino
cparata Feb 17, 2020
9f46797
Update examples/Central/LedControl/LedControl.ino
cparata Feb 17, 2020
775a60a
Update examples/Central/Scan/Scan.ino
cparata Feb 17, 2020
f7d45fa
Update examples/Central/Scan/Scan.ino
cparata Feb 17, 2020
c9f4239
Update examples/Central/ScanCallback/ScanCallback.ino
cparata Feb 17, 2020
b598a3f
Update examples/Central/ScanCallback/ScanCallback.ino
cparata Feb 17, 2020
aa6e1b3
Update examples/Central/SensorTagButton/SensorTagButton.ino
cparata Feb 17, 2020
18e0ca1
Update examples/Central/SensorTagButton/SensorTagButton.ino
cparata Feb 17, 2020
fafde93
Update examples/Peripheral/ButtonLED/ButtonLED.ino
cparata Feb 17, 2020
b95942f
Update examples/Peripheral/ButtonLED/ButtonLED.ino
cparata Feb 17, 2020
da2c4fd
Update examples/Peripheral/CallbackLED/CallbackLED.ino
cparata Feb 17, 2020
11bb949
Update examples/Peripheral/CallbackLED/CallbackLED.ino
cparata Feb 17, 2020
d4bb5d8
Update examples/Peripheral/LED/LED.ino
cparata Feb 17, 2020
e53282b
Update examples/Peripheral/LED/LED.ino
cparata Feb 17, 2020
5d789c6
Improve check when BLE chip is not supported
cparata Feb 17, 2020
bd1b0e0
Update keywords.txt with new classes, methods and constants
cparata Feb 17, 2020
04a895f
Merge pull request #11 from cparata/master
cparata Feb 17, 2020
742e409
Replace ArduinoBLE.h with STM32duinoBLE.h and create a new release fo…
cparata Feb 17, 2020
dbc9cd1
Merge pull request #12 from cparata/master
cparata Feb 17, 2020
3499bfa
Update CHANGELOG
cparata Feb 17, 2020
3df2192
Merge pull request #13 from cparata/master
cparata Feb 17, 2020
73a4e1a
Update README
cparata Mar 25, 2020
be2ed7e
Merge pull request #14 from cparata/master
cparata Mar 25, 2020
93c6887
Fix Typo
fpistm Sep 10, 2020
3559592
Fix typo
fpistm Sep 10, 2020
e7e1bf7
add stm32L4+ discovery kit for BLE access of all examples
FRASTM Sep 7, 2020
ec83c8a
Align to ArduinoBLE master
cparata Sep 24, 2020
14fd996
Fix compilation warning
cparata Sep 24, 2020
61138fc
Merge pull request #16 from cparata/master
cparata Sep 24, 2020
0d936a4
Add support to X-NUCLEO-IDB05A2
cparata Sep 30, 2020
d952a0f
Merge pull request #18 from cparata/master
cparata Sep 30, 2020
e6d0635
Update comment and restore B_L4S5I_IOT01A support
cparata Sep 30, 2020
3813996
Merge pull request #19 from cparata/master
cparata Sep 30, 2020
f7dbf18
Support of the shared memory transport layer for the stm32wb55
FRASTM Nov 4, 2020
3019930
Include the STM32Cube_FW to support the BLE of the stm32wb55
FRASTM Oct 13, 2020
732ffed
This BLE RF configuration has many unused define values
FRASTM Nov 12, 2020
163bd85
Missing IPCC enable for C2 in several examples from stm32CubeWB
FRASTM Nov 12, 2020
19df1cb
Add shared memory transport layer for the stm32wb55
FRASTM Nov 5, 2020
0660a94
Fix [-Waddress-of-packed-member] warning
FRASTM Nov 19, 2020
8f0e116
Modify the examples to run on the nucleo_wb55rg board
FRASTM Sep 25, 2020
60d2609
Merge pull request #17 from FRASTM/wb55_BLE
cparata Dec 1, 2020
fc7162e
Synch with ArduinoBLE official repo
cparata Jan 29, 2021
4867274
Merge pull request #24 from cparata/master
cparata Feb 2, 2021
3a063df
Include a timeout when waiting for the cmd_resp
FRASTM Jan 28, 2021
5ceaf45
Merge pull request #23 from FRASTM/wb55_ble
cparata Feb 3, 2021
afeccd3
Activate default clocks on the STM32WB
FRASTM Feb 2, 2021
870c91e
Set a new bd address for the BLE device
FRASTM Feb 4, 2021
39406aa
Merge pull request #26 from FRASTM/wb55_otp
cparata Feb 8, 2021
ed10763
Merge pull request #25 from FRASTM/wb55_sem
cparata Feb 8, 2021
439eca0
Add static random address support for all ST BLE chips
cparata Feb 8, 2021
9ec4d79
Fix code spelling issues
cparata Feb 8, 2021
d1535a0
Fix typo
cparata Feb 8, 2021
c1c7d1a
Add the possibility to choose the ownAddressType in the Arduino stack
cparata Feb 9, 2021
ec6547b
Fix button issue on WB55
cparata Feb 9, 2021
9297570
Merge pull request #27 from cparata/master
cparata Feb 10, 2021
15e8789
mbox_write returns the nb of bytes actually written
FRASTM Feb 11, 2021
5512049
Merge pull request #28 from FRASTM/mbox_write
cparata Feb 11, 2021
becff9e
Use B_L475E_IOT01A official name
fpistm Jan 14, 2021
fc7c4c6
Fix P_NUCLEO_WB55RG official name
fpistm Mar 30, 2021
ee32ef2
Merge pull request #21 from fpistm/B_L475E_IOT01A
fpistm Mar 30, 2021
b7a5d16
Merge tag '1.2.0'
fpistm May 4, 2021
f03924f
Update version of actions/checkout action used in Compile Examples CI…
per1234 Sep 26, 2020
04bcd68
Update name of action used to compile examples in CI workflow
per1234 Sep 26, 2020
4342fe8
Use consistent formatting style in Compile Examples CI action
per1234 Sep 26, 2020
e3bdb38
Use consistent indent size in Compile Examples workflow
fpistm May 4, 2021
4031a6a
fix: ci: update with new maintainer name
fpistm May 4, 2021
9b7107b
Merge pull request #29 from fpistm/ci
fpistm May 4, 2021
23053fb
Update library.properties
fpistm May 5, 2021
ac6431e
fix: remove specific include
fpistm Jul 8, 2021
faffc11
examples: add STM32WB5MM-DK support
fpistm Jul 8, 2021
ee4927f
Merge pull request #32 from fpistm/STM32WB5MM_DK
fpistm Jul 8, 2021
4350cf0
Merge tag '1.2.1'
fpistm Jul 8, 2021
1cf1da0
ci: change to main branch
fpistm Oct 5, 2021
095fe18
Added support for custom app_conf.h (#35)
KMeldgaard Nov 15, 2021
6a6c550
Revert "Added support for custom app_conf.h (#35)"
fpistm Dec 1, 2021
b64df41
Revert "Include a timeout when waiting for the cmd_resp"
fpistm Dec 1, 2021
a526067
Revert "Fix [-Waddress-of-packed-member] warning"
FRASTM Nov 19, 2020
643daea
Revert "Missing IPCC enable for C2 in several examples from stm32CubeWB"
fpistm Dec 1, 2021
9895272
Revert "This BLE RF configuration has many unused define values"
fpistm Dec 1, 2021
ce7cb45
Revert "Include the STM32Cube_FW to support the BLE of the stm32wb55"
fpistm Dec 1, 2021
370b06d
chore: include STM32Cube_FW to support the BLE of the stm32wb55
fpistm Dec 1, 2021
ac3469e
chore: clean up and adapt STM32Cube_FW sources for STM32duino
fpistm Dec 1, 2021
4d9fd31
fix: missing IPCC enable for C2 in several examples from stm32CubeWB
FRASTM Nov 12, 2020
108f46f
fix: [-Waddress-of-packed-member] warning
fpistm Dec 1, 2021
09680e7
fix: include a timeout when waiting for the cmd_resp
fpistm Dec 1, 2021
14c0f73
Added support for custom app_conf.h (#35)
KMeldgaard Nov 15, 2021
e1a92dd
Merge pull request #38
fpistm Dec 6, 2021
a36ed33
Update spell-check.yml
fpistm Dec 8, 2021
331c39a
Update spell-check.yml
fpistm Dec 8, 2021
8ce1025
Add patch files to be applied on stm32wb Cube update
ABOSTM Dec 2, 2021
ab9e2f9
Update STM32Cube_FW from Cube version v1.13.0
ABOSTM Dec 6, 2021
6eb25bc
chore: clean up and adapt STM32Cube_FW sources for STM32duino
ABOSTM Dec 6, 2021
0d821e8
fix: include a timeout when waiting for the cmd_resp
ABOSTM Dec 6, 2021
55aa462
Added support for custom app_conf.h (#35)
ABOSTM Dec 6, 2021
abeaf9a
Stub OutputDbgTrace() function
ABOSTM Dec 7, 2021
1f3c876
Merge pull request #39 from ABOSTM/BLE_PATCHES
fpistm Dec 10, 2021
061ec8e
Update STM32Cube_FW from Cube version v1.13.3
ABOSTM Apr 8, 2022
381c3ca
Fix hard fault when str is NULL
grobwrk Aug 30, 2022
54af742
Merge pull request #44 from grobx/main
cparata Aug 31, 2022
6e95133
Support BlueNRG-LP
grobwrk Aug 9, 2022
9cf284f
Ugly fix delay
grobwrk Aug 9, 2022
831e996
LP only differ in cmd, not procedure
grobwrk Aug 9, 2022
93af438
Enable STEVAL-MKBOXPRO support in examples
grobwrk Aug 30, 2022
69a6b5f
fix: Regenrate BLE patches prepare Update STM32Cube_FW
ABOSTM Aug 30, 2022
2cc9f0f
Update STM32Cube_FW from Cube version 1.14.1
ABOSTM Aug 30, 2022
4a9f4ae
chore: clean up and adapt STM32Cube_FW sources for STM32duino
ABOSTM Aug 30, 2022
882adda
fix: include a timeout when waiting for the cmd_resp
ABOSTM Aug 30, 2022
4eb33a1
Added support for custom app_conf.h
ABOSTM Aug 30, 2022
3f23425
Fix: Remove compilation warning about uninitialized struct field
ABOSTM Aug 31, 2022
f77db6b
Fix: Move EvtPool array from MB_MEM2 to MB_MEM1
ABOSTM Sep 2, 2022
f4c2607
fix: implement BLE debug based on core_debug()
ABOSTM Aug 30, 2022
543f6a5
Merge pull request #46 from ABOSTM/UPDATE_BLE_1.14.1
fpistm Oct 11, 2022
f8d947b
Merge pull request #45 from grobx/bluenrg-lp-pr
cparata Oct 17, 2022
1c8974d
fix: HCI only Firmware not supporting ACI_GAP_INIT ACI_GATT_INIT
ABOSTM Oct 24, 2022
8f40c2f
fix: CI spell check
ABOSTM Oct 25, 2022
1b61aa7
Merge pull request #47 from ABOSTM/WB_FIX_HCI_ONLY_FW_COMPATIBILITY
fpistm Nov 21, 2022
75ea6f4
ci: replace deprecated spellcheck by codespell
fpistm Nov 24, 2022
6ecff2b
fix: wrong release version
fpistm Dec 9, 2022
ec0d568
feat: adding gitattributes and editor config files
fpistm Dec 13, 2022
777b4a4
fix: regenerate STM32Cube_FW patches
fpistm Dec 13, 2022
2d60f45
chore: update STM32Cube_FW from Cube version v1.15.0
fpistm Dec 13, 2022
70812b4
chore: clean up and adapt STM32Cube_FW sources for STM32duino
fpistm Dec 12, 2022
a3c689a
fix: include a timeout when waiting for the cmd_resp
fpistm Dec 12, 2022
fb82a69
chore: add support for customize app_conf_default.h
fpistm Dec 12, 2022
45e49a6
chore: rename CFG_BLE_LSE_SOURCE to CFG_BLE_LS_SOURCE
fpistm Dec 13, 2022
23e7407
chore: add new field initalizer for SHCI_C2_Ble_Init_Cmd_Packet_t
fpistm Dec 13, 2022
731440b
doc: reference STM32WBxx
fpistm Dec 15, 2022
9b49cd6
fix: allows space at the end of line of markdown files
fpistm Dec 15, 2022
daa8475
ci(codespell): skip STM32Cube_FW directory
fpistm Dec 15, 2022
b232c9a
Merge pull request #48 from fpistm/updateWB
fpistm Dec 15, 2022
0fe8e71
chore: update app_conf default for STM32WB15xx
fpistm Jan 9, 2023
40dd5bd
chore: update examples to support Nucleo WB15CC
fpistm Jan 9, 2023
3a11616
chore(examples): use USER_BTN if defined
fpistm Jan 9, 2023
ceb1e62
fix(examples): aligned comments between all examples
fpistm Jan 9, 2023
ce6cc8f
fix: regenerate STM32Cube_FW patches
fpistm Jan 9, 2023
b5a70eb
chore(examples): update circuit description
fpistm Jan 9, 2023
616f2fb
chore: bump library version
fpistm Jan 9, 2023
240590a
Add API to get random address
Mar 14, 2023
02fd64f
Merge pull request #52 from elle-bi/main
cparata Mar 15, 2023
b0a1849
Update library.properties
cparata Mar 17, 2023
929b540
fix: warning outside array bounds
fpistm Feb 8, 2023
a5e0fed
examples: add P_NUCLEO_WB55_USB_DONGLE support
fpistm Mar 29, 2023
902a770
Add support for latest firmware in BLUENRG-M2SP chips.
elle-bi Mar 30, 2023
1356fac
Merge pull request #54 from elle-bi/main
cparata Mar 30, 2023
bd27383
Update library.properties
cparata Mar 30, 2023
df96671
fix: regenerate STM32Cube_FW patches
fpistm Apr 5, 2023
a903124
chore: update STM32Cube_FW from Cube version v1.16.0
fpistm Apr 5, 2023
d758a66
chore: adapt STM32Cube_FW sources
fpistm Apr 5, 2023
7512953
fix: include a timeout when waiting for the cmd_resp
fpistm Dec 12, 2022
9b421c2
chore: add support for customize app_conf_default.h
fpistm Dec 12, 2022
1ec4563
fix: warning outside array bounds
fpistm Feb 8, 2023
a9bef0c
chore: add new field initalizer for SHCI_C2_Ble_Init_Cmd_Packet_t
fpistm Apr 5, 2023
cf77ef0
Merge pull request #55 from fpistm/CubeWB_v1.16.0
fpistm Apr 5, 2023
bc085c1
chore: bump library version to 1.2.5
fpistm Jul 13, 2023
a93bdad
chore(editorconfig): do not apply change to patch files
fpistm Jul 13, 2023
98e8e3f
fix: regenerate STM32Cube_FW patches
fpistm Jul 13, 2023
eab1891
fix(doc): wrong version
fpistm Jul 17, 2023
61b8a3b
chore: update STM32Cube_FW from Cube version v1.17.0
fpistm Jul 17, 2023
542e007
chore: adapt STM32Cube_FW sources
fpistm Jul 13, 2023
5d07a0e
fix: include a timeout when waiting for the cmd_resp
fpistm Jul 13, 2023
370e108
chore: add support for customize app_conf_default.h
fpistm Dec 12, 2022
2017ab4
Merge pull request #59 from fpistm/stm32CubeWB_1.17.0
fpistm Jul 18, 2023
819cebd
fix: TL_Evt_t payload size for reset
fpistm Jul 24, 2023
2a070fa
fix: regenerate STM32Cube_FW patches
fpistm Jul 24, 2023
f9e5019
Merge pull request #60 from fpistm/payload_reset
fpistm Jul 24, 2023
347ff92
chore: bump library version to 1.2.6
fpistm Jan 9, 2024
b0e78ca
chore: rename STM32Cube_FW to STM32_WPAN
fpistm Jan 10, 2024
04bfd79
chore: update STM32_WPAN from Cube version v1.18.0
fpistm Jan 10, 2024
56fcc8e
chore: update CFG_BLE_*_SCA name
fpistm Jan 11, 2024
fb5d414
chore: adapt STM32_WPAN sources
fpistm Jan 10, 2024
545cd73
fix: include a timeout when waiting for the cmd_resp
fpistm Jul 13, 2023
787f3fa
chore: add support for customize app_conf_default.h
fpistm Jan 10, 2024
c8dfa1c
fix: TL_Evt_t payload size for reset
fpistm Jul 24, 2023
8a6ead5
chore: regenerate STM32_WPAN patches
fpistm Jan 10, 2024
4e02294
Merge pull request #67 from fpistm/STM32WPAN_1.18.0
fpistm Jan 11, 2024
4661771
fix(examples): wrong board name
fpistm Jan 11, 2024
ac3cb9b
ci: update deprecated checkout version
fpistm Jan 11, 2024
1c3d607
ci: add P_NUCLEO_WB55_USB_DONGLE to the build
fpistm Jan 11, 2024
fa71b3f
Update library.properties
thijses May 30, 2024
a99760c
chore: update STM32_WPAN from Cube version v1.19.0
fpistm Apr 29, 2024
5870278
chore: adapt STM32_WPAN sources
fpistm Jan 10, 2024
69c51f9
fix: include a timeout when waiting for the cmd_resp
fpistm Jul 13, 2023
414683d
chore: add support for customize app_conf_default.h
fpistm Jan 10, 2024
50bd468
fix: TL_Evt_t payload size for reset
fpistm Jul 24, 2023
d4616c6
Merge branch 'Update_CubeFW_1.19.0'
fpistm May 30, 2024
da08a10
chore: update library.properties
fpistm Jul 8, 2024
65091a9
chore: update STM32_WPAN from Cube version v1.20.0
fpistm Jul 5, 2024
8ceb243
chore: adapt STM32_WPAN sources
fpistm Jan 10, 2024
7450369
fix: include a timeout when waiting for the cmd_resp
fpistm Jul 13, 2023
dac6208
chore: add support for customize app_conf_default.h
fpistm Jan 10, 2024
c4c7874
fix: TL_Evt_t payload size for reset
fpistm Jul 24, 2023
e4e3d7c
Merge pull request #70 from fpistm/Update_CubeFW_1.20.0
fpistm Jul 23, 2024
5853f23
chore: update STM32_WPAN from Cube version v1.21.0
fpistm Jan 9, 2025
a5d5962
chore: adapt STM32_WPAN sources
fpistm Jan 10, 2024
faf4e90
fix: include a timeout when waiting for the cmd_resp
fpistm Jul 13, 2023
bae86c4
chore: add support for customize app_conf_default.h
fpistm Jan 10, 2024
bf11bf0
fix: TL_Evt_t payload size for reset
fpistm Jul 24, 2023
0cdf251
Merge pull request #72 from fpistm/update_CubeFW_1.21.0
fpistm Jan 9, 2025
4339998
chore: regenerate STM32_WPAN patches
fpistm Jan 10, 2024
f7ca0a2
chore: update STM32_WPAN from Cube version v1.22.0
fpistm Mar 5, 2025
20b8a4c
chore: adapt STM32_WPAN sources
fpistm Jan 10, 2024
974ce4c
fix: include a timeout when waiting for the cmd_resp
fpistm Jul 13, 2023
5a5dc8e
chore: add support for customize app_conf_default.h
fpistm Jan 10, 2024
6f7c381
fix: TL_Evt_t payload size for reset
fpistm Jul 24, 2023
6f16703
Merge pull request #73 from fpistm/update
fpistm Mar 5, 2025
13b3a1a
chore: update library.properties
fpistm Mar 5, 2025
fd1d28e
Merge branch 'main'
fpistm Mar 14, 2025
02a5500
chore: moved to STM32duinoBLE
fpistm Mar 18, 2025
b047607
fix: keywords.txt
fpistm Mar 18, 2025
71a464d
feat: add HCISpiTransport
cparata Sep 19, 2019
0b39979
feat: ability to define HCI SPI transport configuration
fpistm Mar 18, 2025
34ffd58
chore(ci): add build-for-stm32 step
fpistm Feb 17, 2020
a28a960
feat: add editor config
fpistm Mar 18, 2025
d57c3c3
feat: add HCISharedMemTransport
FRASTM Mar 18, 2025
c6c4c0c
feat: add the STM32Cube_FW to support stm32wb
FRASTM Mar 18, 2025
10e8a76
feat: add patch files to be applied on stm32wb Cube update
ABOSTM Mar 18, 2025
5c85f8b
chore: update with stm32wb
fpistm Mar 20, 2025
a353bea
feat: add possibility to choose the ownAddressType in the Arduino stack
cparata Feb 9, 2021
f33fea5
fix: HCI only Firmware not supporting ACI_GAP_INIT ACI_GATT_INIT
ABOSTM Oct 24, 2022
c20acc4
feat: add API to get random address
Mar 14, 2023
f9064db
chore(GAP): improve scan
cparata Feb 7, 2020
fe46407
chore(examples): enhance button support
fpistm Mar 20, 2025
be02723
chore(examples): enhance scan management
fpistm Mar 20, 2025
70bcf37
fix(HCI): SetAdvertise only if enabled
cparata Mar 19, 2025
1a8711f
fix: for pairing with Static Random Address
AresMaster Mar 18, 2025
23548e1
fix: signed and init field warnings
fpistm Mar 5, 2025
11b4b48
fix(L2CAPSignaling): undefined variables
AresMaster Mar 19, 2025
e65d9f0
fix(ATT): Find Information Response format
AresMaster Mar 19, 2025
b0da039
fix(HCI): missing LE_Event_Mask
fpistm Mar 20, 2025
c5e56ed
fix: wrong Le Event Mask set
fpistm Mar 20, 2025
4bf3efc
feat: explicitly ignore ENHANCED_CONN_COMPLETE
fpistm Mar 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[*]
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
trim_trailing_whitespace = true

[*.patch]
insert_final_newline = unset
indent_style = unset
indent_size = unset
trim_trailing_whitespace = unset

[*.md]
trim_trailing_whitespace = false

[*.sh]
# like -i=2
indent_style = space
indent_size = 2

#shell_variant = posix # like -ln=posix
#binary_next_line = true # like -bn
switch_case_indent = true # like -ci
space_redirects = true # like -sr
#keep_padding = true # like -kp
42 changes: 42 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto

# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
.editorconfig text eol=lf
.flake8 text eol=lf
.gitattributes text eol=lf
.gitignore text eol=lf

*.adoc text eol=lf
*.c text eol=lf
*.cmake text eol=lf
*.cpp text eol=lf
*.css text eol=lf
*.dtsi text eol=lf
*.gv text eol=lf
*.h text eol=lf
*.html text eol=lf
*.in text eol=lf
*.ino text eol=lf
*.json text eol=lf
*.ld text eol=lf
*.md text eol=lf
*.MD text eol=lf
*.old text eol=lf
*.patch text eol=lf
*.pde text eol=lf
*.properties text eol=lf
*.py text eol=lf
*.s text eol=lf
*.S text eol=lf
*.sh text eol=lf
*.spec text eol=lf
*.txt text eol=lf
*.yml text eol=lf

# Denote all files that are truly binary and should not be modified.
*.jpg binary
*.pdf binary
*.png binary

13 changes: 0 additions & 13 deletions .github/dependabot.yml

This file was deleted.

95 changes: 12 additions & 83 deletions .github/workflows/compile-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,88 +12,20 @@ on:
- ".github/workflows/compile-examples.yml"
- "examples/**"
- "src/**"
schedule:
# Run every Tuesday at 8 AM UTC to catch breakage caused by changes to external resources (libraries, platforms).
- cron: "0 8 * * TUE"
workflow_dispatch:
repository_dispatch:

jobs:
build:
name: ${{ matrix.board.fqbn }}
build-for-stm32:
runs-on: ubuntu-latest

env:
SKETCHES_REPORTS_PATH: sketches-reports

strategy:
fail-fast: false

matrix:
board:
- fqbn: arduino:samd:mkrwifi1010
platforms: |
- name: arduino:samd
artifact-name-suffix: arduino-samd-mkrwifi1010
- fqbn: arduino:samd:nano_33_iot
platforms: |
- name: arduino:samd
artifact-name-suffix: arduino-samd-nano_33_iot
- fqbn: arduino:megaavr:uno2018:mode=on
platforms: |
- name: arduino:megaavr
artifact-name-suffix: arduino-megaavr-uno2018
- fqbn: arduino:mbed_nano:nano33ble
platforms: |
- name: arduino:mbed_nano
artifact-name-suffix: arduino-mbed_nano-nano33ble
- fqbn: arduino:mbed_nano:nanorp2040connect
platforms: |
- name: arduino:mbed_nano
artifact-name-suffix: arduino-mbed_nano-nanorp2040connect
- fqbn: arduino:renesas_uno:unor4wifi
platforms: |
- name: arduino:renesas_uno
artifact-name-suffix: arduino-renesas_uno-unor4wifi

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Compile examples
uses: arduino/compile-sketches@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
fqbn: ${{ matrix.board.fqbn }}
platforms: ${{ matrix.board.platforms }}
libraries: |
# Install the library from the local path.
- source-path: ./
sketch-paths: |
- examples
enable-deltas-report: true
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}

- name: Save sketches report as workflow artifact
uses: actions/upload-artifact@v4
with:
if-no-files-found: error
path: ${{ env.SKETCHES_REPORTS_PATH }}
name: sketches-report-${{ matrix.board.artifact-name-suffix }}

build-for-esp32:
runs-on: ubuntu-latest

strategy:
matrix:
fqbn:
- esp32:esp32:esp32
- esp32:esp32:esp32s3
- esp32:esp32:esp32c3
# future bluetooth chips
#- esp32:esp32:esp32c2
#- esp32:esp32:esp32c6
#- esp32:esp32:esp32h2
- STMicroelectronics:stm32:Eval:pnum=STEVAL_MKSBOX1V1,usb=CDCgen
- STMicroelectronics:stm32:Nucleo_64:pnum=NUCLEO_L476RG
- STMicroelectronics:stm32:Disco:pnum=B_L475E_IOT01A
- STMicroelectronics:stm32:Nucleo_64:pnum=P_NUCLEO_WB55RG
- STMicroelectronics:stm32:Nucleo_64:pnum=P_NUCLEO_WB55_USB_DONGLE

steps:
- uses: actions/checkout@v4
Expand All @@ -102,14 +34,11 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
fqbn: ${{ matrix.fqbn }}
platforms: |
- name: esp32:esp32
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
- name: STMicroelectronics:stm32
source-url: https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json
sketch-paths: |
- examples/Central/Scan
- examples/Central/PeripheralExplorer
- examples/Central/ScanCallback
- examples/Central/SensorTagButton
- examples/Peripheral/Advertising/EnhancedAdvertising
- examples/Peripheral/Advertising/RawDataAdvertising
- examples
cli-compile-flags: |
- --warnings="none"
- --build-property
- build.extra_flags=-DIDB05A2_SPI_CLOCK_D3

24 changes: 0 additions & 24 deletions .github/workflows/report-size-deltas.yml

This file was deleted.

7 changes: 7 additions & 0 deletions .github/workflows/spell-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,10 @@ jobs:

- name: Spell check
uses: codespell-project/actions-codespell@v2
with:
check_filenames: true
check_hidden: true
# In the event of a false positive, add the word in all lower case to this file:
# ignore_words_file: ./extras/codespell-ignore-words-list.txt
skip: src/utility/STM32_WPAN
path: src
138 changes: 0 additions & 138 deletions .github/workflows/sync-labels.yml

This file was deleted.

Loading