-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Get rid of boolean
type; use bool
instead
#4673
Comments
I agree fully with your idea and down want to repeat them, cause they are exactly what I think too. |
Sounds like a good plan. Might be good to do this at a 1.7/1.8 release, not in a point release, though. I guess this also ties in with #4525 a bit. |
Sounds like a good plan. Might be good to do this at a 1.7/1.8 release, not in a point release, though. I guess this also ties in with #4525 a bit. Also, using the deprecated attribute is a good plan (we should consider doing that more often) and apparently it actually works on typedefs too. |
Yo we should also use the depreciated thing for SerialEvent. |
In the Arduino IDE, boolean is an alias for bool. The Arduino IDE might deprecate boolean in the future, see arduino/Arduino#4673 for details.
In the Arduino IDE, boolean is an alias for bool. The Arduino IDE might deprecate boolean in the future, see arduino/Arduino#4673 for details.
Is anyone against changing all usage of If that's considered too abrupt a change we could ease into it by first adding a note to https://www.arduino.cc/en/Reference/BooleanVariables and removing I'm against ever actually removing the |
Just do the full switch and add a depreciated pragma so users start switching their code. It really causes less errors and confusion. |
In the Arduino IDE, boolean is an alias for bool. The Arduino IDE might deprecate boolean in the future. See arduino/Arduino#4673 for details. Command: find drivers -type f | xargs sed -i 's/boolean/bool/g'
@NicoHood that link is for VisualStudio though; not sure if that pragma works for GCC as well. GCC uses |
In case there's any confusion of how deprecating things works in either compiler, there's an example here of someone marking type aliases as deprecated with both GCC and MSVC (Visual Studio). (Sadly had we been at the stage where most compilers were C++14 compliant it would have been as simple as For now it's probably alright to just have the compiler detection boilerplate around where @per1234 If people opt for the 'ease it in' option, I think the examples should still be changed along with the library code. Users should be given warning that the change is going to happen, but it should be made clear that it's going to happen and there's no backing out of it. Plus any new users who learn from those examples should be being taught the newly preferred approach, not the soon-to-be-deprecated approach (which will soon be giving them 'scary' warnings). |
This replaces teh arduino-typedef "boolean" with the standard "bool" type. The standard type makes sure that the value is always true or false. Also there is some discussion in arguino itdelf to get rid of boolean: arduino/Arduino#4673 Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
This replaces teh arduino-typedef "boolean" with the standard "bool" type. The standard type makes sure that the value is always true or false. Also there is some discussion in arguino itdelf to get rid of boolean: arduino/Arduino#4673 Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
This replaces teh arduino-typedef "boolean" with the standard "bool" type. The standard type makes sure that the value is always true or false. Also there is some discussion in arguino itdelf to get rid of boolean: arduino/Arduino#4673 Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
This replaces the arduino-typedef "boolean" with the standard "bool" type. The standard type makes sure that the value is always true or false. Also there is some discussion in arduino itself to get rid of boolean: arduino/Arduino#4673 Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
more information: arduino/Arduino#4673
arduino/Arduino#4673 Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
arduino/Arduino#4673 Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
arduino/Arduino#4673 Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
boolean type now marked as deprecated arduino/Arduino#4673 Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
boolean type now marked as deprecated arduino/Arduino#4673 Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
arduino/Arduino#4673 Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
commit f9e5019 Merge: 2017ab4 2a070fa Author: Frederic Pillon <frederic.pillon@st.com> Date: Mon Jul 24 15:43:42 2023 +0200 Merge pull request stm32duino#60 from fpistm/payload_reset fix: TL_Evt_t payload size for reset commit 2a070fa Author: Frederic Pillon <frederic.pillon@st.com> Date: Mon Jul 24 11:19:27 2023 +0200 fix: regenerate STM32Cube_FW patches Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit 819cebd Author: Frederic Pillon <frederic.pillon@st.com> Date: Mon Jul 24 10:55:20 2023 +0200 fix: TL_Evt_t payload size for reset Within last CubeWB update TL_Evt_t payload size was reduced. This produce a warning -Warray-bounds due to the reset management which require 4 bytes. Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit 2017ab4 Merge: eab1891 370e108 Author: Frederic Pillon <frederic.pillon@st.com> Date: Tue Jul 18 11:25:24 2023 +0200 Merge pull request stm32duino#59 from fpistm/stm32CubeWB_1.17.0 chore: update to STM32Cube_FW v1.17.0 commit 370e108 Author: Frederic Pillon <frederic.pillon@st.com> Date: Mon Dec 12 17:29:27 2022 +0100 chore: add support for customize app_conf_default.h Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit 5d07a0e Author: Frederic Pillon <frederic.pillon@st.com> Date: Thu Jul 13 17:16:40 2023 +0200 fix: include a timeout when waiting for the cmd_resp Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit 542e007 Author: Frederic Pillon <frederic.pillon@st.com> Date: Thu Jul 13 17:08:05 2023 +0200 chore: adapt STM32Cube_FW sources Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit 61b8a3b Author: Frederic Pillon <frederic.pillon@st.com> Date: Mon Jul 17 11:34:26 2023 +0200 chore: update STM32Cube_FW from Cube version v1.17.0 Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit eab1891 Author: Frederic Pillon <frederic.pillon@st.com> Date: Mon Jul 17 11:30:41 2023 +0200 fix(doc): wrong version Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit 98e8e3f Author: Frederic Pillon <frederic.pillon@st.com> Date: Thu Jul 13 18:28:25 2023 +0200 fix: regenerate STM32Cube_FW patches Prepare update to version 1.17.0 Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit a93bdad Author: Frederic Pillon <frederic.pillon@st.com> Date: Thu Jul 13 16:49:37 2023 +0200 chore(editorconfig): do not apply change to patch files Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit bc085c1 Author: Frederic Pillon <frederic.pillon@st.com> Date: Thu Jul 13 15:45:56 2023 +0200 chore: bump library version to 1.2.5 Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit cf77ef0 Merge: df96671 a9bef0c Author: Frederic Pillon <frederic.pillon@st.com> Date: Wed Apr 5 15:28:50 2023 +0200 Merge pull request stm32duino#55 from fpistm/CubeWB_v1.16.0 chore: update to STM32Cube_FW v1.16.0 commit a9bef0c Author: Frederic Pillon <frederic.pillon@st.com> Date: Wed Apr 5 11:40:47 2023 +0200 chore: add new field initalizer for SHCI_C2_Ble_Init_Cmd_Packet_t Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit 1ec4563 Author: Frederic Pillon <frederic.pillon@st.com> Date: Wed Feb 8 16:50:46 2023 +0100 fix: warning outside array bounds array subscript 'TL_CcEvt_t[0]' is partly outside array bounds Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit 9b421c2 Author: Frederic Pillon <frederic.pillon@st.com> Date: Mon Dec 12 17:29:27 2022 +0100 chore: add support for customize app_conf_default.h Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit 7512953 Author: Frederic Pillon <frederic.pillon@st.com> Date: Mon Dec 12 17:17:48 2022 +0100 fix: include a timeout when waiting for the cmd_resp Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit d758a66 Author: Frederic Pillon <frederic.pillon@st.com> Date: Wed Apr 5 10:18:52 2023 +0200 chore: adapt STM32Cube_FW sources Compare to previous patch, do the minimum changes required to ease further update. Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit a903124 Author: Frederic Pillon <frederic.pillon@st.com> Date: Wed Apr 5 14:37:41 2023 +0200 chore: update STM32Cube_FW from Cube version v1.16.0 Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit df96671 Author: Frederic Pillon <frederic.pillon@st.com> Date: Wed Apr 5 14:32:40 2023 +0200 fix: regenerate STM32Cube_FW patches Prepare update to version 1.16.0 Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit bd27383 Author: Carlo Parata <carlo.parata@st.com> Date: Thu Mar 30 16:15:07 2023 +0200 Update library.properties Signed-off-by: Carlo Parata <carlo.parata@st.com> commit 1356fac Merge: a5e0fed 902a770 Author: Carlo Parata <carlo.parata@st.com> Date: Thu Mar 30 16:14:41 2023 +0200 Merge pull request stm32duino#54 from elle-bi/main Add support for latest firmware in BLUENRG-M2SP chips. commit 902a770 Author: Lorenzo Bini <lorenzo.bini.97@proton.me> Date: Thu Mar 30 12:03:37 2023 +0200 Add support for latest firmware in BLUENRG-M2SP chips. This requires changing the SPI dummy package to 0x00 due to signaling over the MOSI pin commit a5e0fed Author: Frederic Pillon <frederic.pillon@st.com> Date: Wed Mar 29 10:05:59 2023 +0200 examples: add P_NUCLEO_WB55_USB_DONGLE support Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit 929b540 Author: Frederic Pillon <frederic.pillon@st.com> Date: Wed Feb 8 16:50:46 2023 +0100 fix: warning outside array bounds array subscript 'TL_CcEvt_t[0]' is partly outside array bounds Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit b0a1849 Author: Carlo Parata <carlo.parata@st.com> Date: Fri Mar 17 09:57:50 2023 +0100 Update library.properties Signed-off-by: Carlo Parata <carlo.parata@st.com> commit 02fd64f Merge: 616f2fb 240590a Author: Carlo Parata <carlo.parata@st.com> Date: Wed Mar 15 09:17:32 2023 +0100 Merge pull request stm32duino#52 from elle-bi/main Add API to get random address commit 240590a Author: Lorenzo Bini <lorenzo.bini@studenti.unimi.it> Date: Tue Mar 14 17:19:12 2023 +0100 Add API to get random address commit 616f2fb Author: Frederic Pillon <frederic.pillon@st.com> Date: Mon Jan 9 11:54:49 2023 +0100 chore: bump library version Warning: not aligned with ArduinoBLE one Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit b5a70eb Author: Frederic Pillon <frederic.pillon@st.com> Date: Mon Jan 9 11:49:52 2023 +0100 chore(examples): update circuit description Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit ce6cc8f Author: Frederic Pillon <frederic.pillon@st.com> Date: Mon Jan 9 11:31:16 2023 +0100 fix: regenerate STM32Cube_FW patches due to STM32WB15xx support addition Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit ceb1e62 Author: Frederic Pillon <frederic.pillon@st.com> Date: Mon Jan 9 11:12:06 2023 +0100 fix(examples): aligned comments between all examples Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit 3a11616 Author: Frederic Pillon <frederic.pillon@st.com> Date: Mon Jan 9 11:04:22 2023 +0100 chore(examples): use USER_BTN if defined Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit 40dd5bd Author: Frederic Pillon <frederic.pillon@st.com> Date: Mon Jan 9 10:36:33 2023 +0100 chore: update examples to support Nucleo WB15CC Will be available within stm32 core version higher than 2.4.0. Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit 0fe8e71 Author: Frederic Pillon <frederic.pillon@st.com> Date: Mon Jan 9 10:33:24 2023 +0100 chore: update app_conf default for STM32WB15xx Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit b232c9a Merge: 777b4a4 daa8475 Author: Frederic Pillon <frederic.pillon@st.com> Date: Thu Dec 15 11:48:47 2022 +0100 Merge pull request stm32duino#48 from fpistm/updateWB chore: update STM32Cube_FW from Cube version v1.15.0 commit daa8475 Author: Frederic Pillon <frederic.pillon@st.com> Date: Thu Dec 15 11:01:08 2022 +0100 ci(codespell): skip STM32Cube_FW directory Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit 9b49cd6 Author: Frederic Pillon <frederic.pillon@st.com> Date: Thu Dec 15 10:52:49 2022 +0100 fix: allows space at the end of line of markdown files Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit 731440b Author: Frederic Pillon <frederic.pillon@st.com> Date: Thu Dec 15 10:51:31 2022 +0100 doc: reference STM32WBxx Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit 23e7407 Author: Frederic Pillon <frederic.pillon@st.com> Date: Tue Dec 13 10:48:35 2022 +0100 chore: add new field initalizer for SHCI_C2_Ble_Init_Cmd_Packet_t Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit 45e49a6 Author: Frederic Pillon <frederic.pillon@st.com> Date: Tue Dec 13 10:16:08 2022 +0100 chore: rename CFG_BLE_LSE_SOURCE to CFG_BLE_LS_SOURCE Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit fb82a69 Author: Frederic Pillon <frederic.pillon@st.com> Date: Mon Dec 12 17:29:27 2022 +0100 chore: add support for customize app_conf_default.h Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit a3c689a Author: Frederic Pillon <frederic.pillon@st.com> Date: Mon Dec 12 17:17:48 2022 +0100 fix: include a timeout when waiting for the cmd_resp Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit 70812b4 Author: Frederic Pillon <frederic.pillon@st.com> Date: Mon Dec 12 17:15:26 2022 +0100 chore: clean up and adapt STM32Cube_FW sources for STM32duino Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit 2d60f45 Author: Frederic Pillon <frederic.pillon@st.com> Date: Tue Dec 13 15:34:50 2022 +0100 chore: update STM32Cube_FW from Cube version v1.15.0 Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit 777b4a4 Author: Frederic Pillon <frederic.pillon@st.com> Date: Tue Dec 13 15:20:56 2022 +0100 fix: regenerate STM32Cube_FW patches Prepare update to version 1.15.0 Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit ec0d568 Author: Frederic Pillon <frederic.pillon@st.com> Date: Tue Dec 13 11:15:53 2022 +0100 feat: adding gitattributes and editor config files Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit 6ecff2b Author: Frederic Pillon <frederic.pillon@st.com> Date: Fri Dec 9 17:28:57 2022 +0100 fix: wrong release version Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit 75ea6f4 Author: Frederic Pillon <frederic.pillon@st.com> Date: Thu Nov 24 10:01:39 2022 +0100 ci: replace deprecated spellcheck by codespell commit 1b61aa7 Merge: f8d947b 8f40c2f Author: Frederic Pillon <frederic.pillon@st.com> Date: Mon Nov 21 16:19:25 2022 +0100 Merge pull request stm32duino#47 from ABOSTM/WB_FIX_HCI_ONLY_FW_COMPATIBILITY fix: HCI only Firmware not supporting ACI_GAP_INIT ACI_GATT_INIT commit 8f40c2f Author: Alexandre Bourdiol <alexandre.bourdiol@st.com> Date: Tue Oct 25 18:28:48 2022 +0200 fix: CI spell check Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com> commit 1c8974d Author: Alexandre Bourdiol <alexandre.bourdiol@st.com> Date: Mon Oct 24 11:35:21 2022 +0200 fix: HCI only Firmware not supporting ACI_GAP_INIT ACI_GATT_INIT On STM32WB, Cube FW version 1.14.1, messages ACI_GATT_INIT and ACI_GAP_INIT are not available on HCI only BLE firmware (stm32wb5x_BLE_HCILayer_fw.bin) This imply to move Random Address to host instead of relying on controller Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com> commit f8d947b Merge: 543f6a5 93af438 Author: Carlo Parata <carlo.parata@st.com> Date: Mon Oct 17 10:45:30 2022 +0200 Merge pull request stm32duino#45 from grobx/bluenrg-lp-pr BlueNRG-LP Support commit 543f6a5 Merge: 54af742 f4c2607 Author: Frederic Pillon <frederic.pillon@st.com> Date: Tue Oct 11 17:15:44 2022 +0200 Merge pull request stm32duino#46 from ABOSTM/UPDATE_BLE_1.14.1 Update BLE to Cube version 1.14.1 commit f4c2607 Author: Alexandre Bourdiol <alexandre.bourdiol@st.com> Date: Tue Aug 30 13:32:30 2022 +0200 fix: implement BLE debug based on core_debug() Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com> commit f77db6b Author: Alexandre Bourdiol <alexandre.bourdiol@st.com> Date: Fri Sep 2 14:59:07 2022 +0200 Fix: Move EvtPool array from MB_MEM2 to MB_MEM1 MB_MEM1 and MB_MEM2 ae now respectively in SRAM2a and SRAM2b SRAM2a being too small to put all shared memory variables Warning depends on split made on core: variants/STM32WBxx/WB55R(C-E-G)V/ldscript.ld Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com> commit 3f23425 Author: Alexandre Bourdiol <alexandre.bourdiol@st.com> Date: Wed Aug 31 17:18:16 2022 +0200 Fix: Remove compilation warning about uninitialized struct field Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com> commit 4eb33a1 Author: Alexandre Bourdiol <alexandre.bourdiol@st.com> Date: Tue Aug 30 13:31:31 2022 +0200 Added support for custom app_conf.h Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com> commit 882adda Author: Alexandre Bourdiol <alexandre.bourdiol@st.com> Date: Tue Aug 30 13:19:36 2022 +0200 fix: include a timeout when waiting for the cmd_resp Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com> commit 4a9f4ae Author: Alexandre Bourdiol <alexandre.bourdiol@st.com> Date: Tue Aug 30 11:28:41 2022 +0200 chore: clean up and adapt STM32Cube_FW sources for STM32duino Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com> commit 2cc9f0f Author: Alexandre Bourdiol <alexandre.bourdiol@st.com> Date: Tue Aug 30 10:56:46 2022 +0200 Update STM32Cube_FW from Cube version 1.14.1 Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com> commit 69a6b5f Author: Alexandre Bourdiol <alexandre.bourdiol@st.com> Date: Tue Aug 30 13:50:51 2022 +0200 fix: Regenrate BLE patches prepare Update STM32Cube_FW Prepare update to version 1.14.0 Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com> commit 93af438 Author: Giuseppe Roberti <giuseppe.roberti@ieee.org> Date: Tue Aug 30 14:51:20 2022 +0200 Enable STEVAL-MKBOXPRO support in examples commit 831e996 Author: Giuseppe Roberti <giuseppe.roberti@ieee.org> Date: Tue Aug 9 16:32:20 2022 +0200 LP only differ in cmd, not procedure commit 9cf284f Author: Giuseppe Roberti <giuseppe.roberti@ieee.org> Date: Tue Aug 9 13:34:06 2022 +0200 Ugly fix delay commit 6e95133 Author: Giuseppe Roberti <giuseppe.roberti@ieee.org> Date: Tue Aug 9 10:17:09 2022 +0200 Support BlueNRG-LP commit 54af742 Merge: 061ec8e 381c3ca Author: Carlo Parata <carlo.parata@st.com> Date: Wed Aug 31 08:33:07 2022 +0200 Merge pull request stm32duino#44 from grobx/main Fix hard fault when str is NULL commit 381c3ca Author: Giuseppe Roberti <giuseppe.roberti@ieee.org> Date: Tue Aug 30 11:55:17 2022 +0200 Fix hard fault when str is NULL commit 061ec8e Author: Alexandre Bourdiol <alexandre.bourdiol@st.com> Date: Fri Apr 8 15:01:59 2022 +0200 Update STM32Cube_FW from Cube version v1.13.3 Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com> commit 1f3c876 Merge: 331c39a abeaf9a Author: Frederic Pillon <frederic.pillon@st.com> Date: Fri Dec 10 10:02:28 2021 +0100 Merge pull request stm32duino#39 from ABOSTM/BLE_PATCHES Update BLE library with STM32WB Cube version v1.13.0 commit abeaf9a Author: Alexandre Bourdiol <alexandre.bourdiol@st.com> Date: Tue Dec 7 14:27:27 2021 +0100 Stub OutputDbgTrace() function Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com> commit 55aa462 Author: Alexandre Bourdiol <alexandre.bourdiol@st.com> Date: Mon Dec 6 18:59:38 2021 +0100 Added support for custom app_conf.h (stm32duino#35) commit 0d821e8 Author: Alexandre Bourdiol <alexandre.bourdiol@st.com> Date: Mon Dec 6 11:18:02 2021 +0100 fix: include a timeout when waiting for the cmd_resp Signed-off-by: Francois Ramu <francois.ramu@st.com> Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com> commit 6eb25bc Author: Alexandre Bourdiol <alexandre.bourdiol@st.com> Date: Mon Dec 6 11:08:32 2021 +0100 chore: clean up and adapt STM32Cube_FW sources for STM32duino Signed-off-by: Frederic Pillon <frederic.pillon@st.com> Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com> commit ab9e2f9 Author: Alexandre Bourdiol <alexandre.bourdiol@st.com> Date: Mon Dec 6 19:17:44 2021 +0100 Update STM32Cube_FW from Cube version v1.13.0 Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com> commit 8ce1025 Author: Alexandre Bourdiol <alexandre.bourdiol@st.com> Date: Thu Dec 2 10:23:30 2021 +0100 Add patch files to be applied on stm32wb Cube update Patches correspond to somes commits of PR stm32duino#38 Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com> commit 331c39a Author: Frederic Pillon <frederic.pillon@st.com> Date: Wed Dec 8 11:14:45 2021 +0100 Update spell-check.yml commit a36ed33 Author: Frederic Pillon <frederic.pillon@st.com> Date: Wed Dec 8 11:03:29 2021 +0100 Update spell-check.yml commit e1a92dd Merge: 095fe18 14c0f73 Author: Frederic Pillon <frederic.pillon@st.com> Date: Mon Dec 6 17:45:05 2021 +0100 Merge pull request stm32duino#38 Rework the STM32CubeWB FW files to ease update commit 14c0f73 Author: KMeldgaard <36625114+KMeldgaard@users.noreply.github.com> Date: Mon Nov 15 14:54:07 2021 +0100 Added support for custom app_conf.h (stm32duino#35) commit 09680e7 Author: Frederic Pillon <frederic.pillon@st.com> Date: Wed Dec 1 18:42:57 2021 +0100 fix: include a timeout when waiting for the cmd_resp Signed-off-by: Francois Ramu <francois.ramu@st.com> commit 108f46f Author: Frederic Pillon <frederic.pillon@st.com> Date: Wed Dec 1 18:38:39 2021 +0100 fix: [-Waddress-of-packed-member] warning Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit 4d9fd31 Author: Francois Ramu <francois.ramu@st.com> Date: Thu Nov 12 13:21:31 2020 +0100 fix: missing IPCC enable for C2 in several examples from stm32CubeWB This fix is coming from STMicroelectronics/STM32CubeWB#19 Signed-off-by: Francois Ramu <francois.ramu@st.com> commit ac3469e Author: Frederic Pillon <frederic.pillon@st.com> Date: Wed Dec 1 15:13:05 2021 +0100 chore: clean up and adapt STM32Cube_FW sources for STM32duino Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit 370b06d Author: Frederic Pillon <frederic.pillon@st.com> Date: Wed Dec 1 11:15:00 2021 +0100 chore: include STM32Cube_FW to support the BLE of the stm32wb55 Orignal file from the v1.8.0: https://github.com/STMicroelectronics/STM32CubeWB/releases/tag/v1.8.0 Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit ce7cb45 Author: Frederic Pillon <frederic.pillon@st.com> Date: Wed Dec 1 10:38:58 2021 +0100 Revert "Include the STM32Cube_FW to support the BLE of the stm32wb55" This reverts commit 3019930. commit 9895272 Author: Frederic Pillon <frederic.pillon@st.com> Date: Wed Dec 1 10:38:36 2021 +0100 Revert "This BLE RF configuration has many unused define values" This reverts commit 732ffed. commit 643daea Author: Frederic Pillon <frederic.pillon@st.com> Date: Wed Dec 1 10:29:17 2021 +0100 Revert "Missing IPCC enable for C2 in several examples from stm32CubeWB" This reverts commit 163bd85. commit a526067 Author: Francois Ramu <francois.ramu@st.com> Date: Thu Nov 19 19:07:13 2020 +0100 Revert "Fix [-Waddress-of-packed-member] warning" commit b64df41 Author: Frederic Pillon <frederic.pillon@st.com> Date: Wed Dec 1 10:22:00 2021 +0100 Revert "Include a timeout when waiting for the cmd_resp" This reverts commit 3a063df. commit 6a6c550 Author: Frederic Pillon <frederic.pillon@st.com> Date: Wed Dec 1 10:21:53 2021 +0100 Revert "Added support for custom app_conf.h (stm32duino#35)" This reverts commit 095fe18. commit 095fe18 Author: KMeldgaard <36625114+KMeldgaard@users.noreply.github.com> Date: Mon Nov 15 14:54:07 2021 +0100 Added support for custom app_conf.h (stm32duino#35) commit 1cf1da0 Author: Frederic Pillon <frederic.pillon@st.com> Date: Tue Oct 5 16:04:46 2021 +0200 ci: change to main branch Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit 4350cf0 Merge: ee4927f b22266f Author: Frederic Pillon <frederic.pillon@st.com> Date: Thu Jul 8 15:21:22 2021 +0200 Merge tag '1.2.1' Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit ee4927f Merge: 23053fb faffc11 Author: Frederic Pillon <frederic.pillon@st.com> Date: Thu Jul 8 14:44:31 2021 +0200 Merge pull request stm32duino#32 from fpistm/STM32WB5MM_DK examples: add STM32WB5MM-DK support commit faffc11 Author: Frederic Pillon <frederic.pillon@st.com> Date: Thu Jul 8 14:33:34 2021 +0200 examples: add STM32WB5MM-DK support Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit ac6431e Author: Frederic Pillon <frederic.pillon@st.com> Date: Thu Jul 8 14:31:58 2021 +0200 fix: remove specific include Correct CMSIS devide header already included by the core. Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit 23053fb Author: Frederic Pillon <frederic.pillon@st.com> Date: Wed May 5 15:17:35 2021 +0200 Update library.properties commit 9b7107b Merge: b7a5d16 4031a6a Author: Frederic Pillon <frederic.pillon@st.com> Date: Tue May 4 17:33:55 2021 +0200 Merge pull request stm32duino#29 from fpistm/ci Update CI with new maintainer name Workflow also synced with upstream repo. commit 4031a6a Author: Frederic Pillon <frederic.pillon@st.com> Date: Tue May 4 17:20:49 2021 +0200 fix: ci: update with new maintainer name Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit e3bdb38 Author: Frederic Pillon <frederic.pillon@st.com> Date: Tue May 4 16:06:31 2021 +0200 Use consistent indent size in Compile Examples workflow The initial single space indent made the workflow difficult to edit and harmed readability. commit 4342fe8 Author: per1234 <accounts@perglass.com> Date: Sat Sep 26 16:18:05 2020 -0700 Use consistent formatting style in Compile Examples CI action The previous inconsistent markup style, although perfectly valid, made the workflow harder to understand. commit 04bcd68 Author: per1234 <accounts@perglass.com> Date: Sat Sep 26 16:15:51 2020 -0700 Update name of action used to compile examples in CI workflow The action has been moved to a dedicated repository, where all future development work will happen. commit f03924f Author: per1234 <accounts@perglass.com> Date: Sat Sep 26 16:13:57 2020 -0700 Update version of actions/checkout action used in Compile Examples CI workflow The action now has a default fetch-depth value of 1, so there is no need to specify this input. commit b7a5d16 Merge: ee32ef2 4c149a2 Author: Frederic Pillon <frederic.pillon@st.com> Date: Tue May 4 15:27:40 2021 +0200 Merge tag '1.2.0' Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit ee32ef2 Merge: 5512049 fc7c4c6 Author: Frederic Pillon <frederic.pillon@st.com> Date: Tue Mar 30 17:16:19 2021 +0200 Merge pull request stm32duino#21 from fpistm/B_L475E_IOT01A Use B_L475E_IOT01A official name and fix P_NUCLEO_WB55RG commit fc7c4c6 Author: Frederic Pillon <frederic.pillon@st.com> Date: Tue Mar 30 16:47:42 2021 +0200 Fix P_NUCLEO_WB55RG official name Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit becff9e Author: Frederic Pillon <frederic.pillon@st.com> Date: Thu Jan 14 14:24:16 2021 +0100 Use B_L475E_IOT01A official name Since STM32 core version 2.0.0, the board name has been updated from DISCO_L475VG_IOT to B_L475E_IOT01A. Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit 5512049 Merge: 9297570 15e8789 Author: Carlo Parata <carlo.parata@st.com> Date: Thu Feb 11 15:07:20 2021 +0100 Merge pull request stm32duino#28 from FRASTM/mbox_write mbox_write returns the nb of bytes actually written commit 15e8789 Author: Francois Ramu <francois.ramu@st.com> Date: Thu Feb 11 10:16:50 2021 +0100 mbox_write returns the nb of bytes actually written Check the value which is returned by the mbox_write function, if it differs from the len of data to be sent, this is an error Signed-off-by: Francois Ramu <francois.ramu@st.com> commit 9297570 Merge: ed10763 ec6547b Author: Carlo Parata <carlo.parata@st.com> Date: Wed Feb 10 15:56:34 2021 +0100 Merge pull request stm32duino#27 from cparata/master Add static random address support for all ST BLE chips commit ec6547b Author: Carlo Parata <carlo.parata@st.com> Date: Tue Feb 9 16:34:29 2021 +0100 Fix button issue on WB55 commit c1c7d1a Author: Carlo Parata <carlo.parata@st.com> Date: Tue Feb 9 15:35:13 2021 +0100 Add the possibility to choose the ownAddressType in the Arduino stack commit d1535a0 Author: Carlo Parata <carlo.parata@st.com> Date: Mon Feb 8 16:42:53 2021 +0100 Fix typo commit 9ec4d79 Author: Carlo Parata <carlo.parata@st.com> Date: Mon Feb 8 16:25:43 2021 +0100 Fix code spelling issues commit 439eca0 Author: Carlo Parata <carlo.parata@st.com> Date: Mon Feb 8 16:11:26 2021 +0100 Add static random address support for all ST BLE chips commit ed10763 Merge: 39406aa afeccd3 Author: Carlo Parata <carlo.parata@st.com> Date: Mon Feb 8 15:49:43 2021 +0100 Merge pull request stm32duino#25 from FRASTM/wb55_sem Activate default clocks on the stm32wb commit 39406aa Merge: 5ceaf45 870c91e Author: Carlo Parata <carlo.parata@st.com> Date: Mon Feb 8 15:49:01 2021 +0100 Merge pull request stm32duino#26 from FRASTM/wb55_otp Set a bd address from OTP for the BLE device stm32wb55 commit 870c91e Author: Francois Ramu <francois.ramu@st.com> Date: Thu Feb 4 10:38:12 2021 +0100 Set a new bd address for the BLE device In case the bd address cannot be computed from the flash then the otp is read to provide a valid one in a OTP_BT_t Signed-off-by: Francois Ramu <francois.ramu@st.com> commit afeccd3 Author: Francois Ramu <francois.ramu@st.com> Date: Tue Feb 2 12:36:53 2021 +0100 Activate default clocks on the STM32WB Signed-off-by: Francois Ramu <francois.ramu@st.com> commit 5ceaf45 Merge: 4867274 3a063df Author: Carlo Parata <carlo.parata@st.com> Date: Wed Feb 3 17:19:16 2021 +0100 Merge pull request stm32duino#23 from FRASTM/wb55_ble Timeout returned when configuring BLE stack for SharedMem transport commit 3a063df Author: Francois Ramu <francois.ramu@st.com> Date: Thu Jan 28 16:40:56 2021 +0100 Include a timeout when waiting for the cmd_resp Signed-off-by: Francois Ramu <francois.ramu@st.com> commit 4867274 Merge: 60d2609 fc7162e Author: Carlo Parata <carlo.parata@st.com> Date: Tue Feb 2 13:26:01 2021 +0100 Merge pull request stm32duino#24 from cparata/master Sync with official ArduinoBLE repo commit fc7162e Merge: 60d2609 be365c9 Author: Carlo Parata <carlo.parata@st.com> Date: Fri Jan 29 15:41:24 2021 +0100 Synch with ArduinoBLE official repo commit 60d2609 Merge: 3813996 8f0e116 Author: Carlo Parata <carlo.parata@st.com> Date: Tue Dec 1 09:54:14 2020 +0100 Merge pull request stm32duino#17 from FRASTM/wb55_BLE BLE on the stm32wb55 commit 8f0e116 Author: Francois Ramu <francois.ramu@st.com> Date: Fri Sep 25 13:39:19 2020 +0200 Modify the examples to run on the nucleo_wb55rg board Signed-off-by: Francois Ramu <francois.ramu@st.com> commit 0660a94 Author: Francois Ramu <francois.ramu@st.com> Date: Thu Nov 19 19:07:13 2020 +0100 Fix [-Waddress-of-packed-member] warning Signed-off-by: Francois Ramu <francois.ramu@st.com> commit 19df1cb Author: Francois Ramu <francois.ramu@st.com> Date: Thu Nov 5 18:41:53 2020 +0100 Add shared memory transport layer for the stm32wb55 to use connection and services the BLE RF through IPM SharedMem The Rx data are stored in a fifo to manage connection, and ACL packets with context section to protect index when receiving data. The BLE init set the device address and power settings just after the HCI_RESET command sent The LSE clock is used for the RF and WakeUp capability by the variant. There is no BLEChip enum as only one chip at this time. Debug is activated with CONFIG_DEBUG enabled Signed-off-by: Francois Ramu <francois.ramu@st.com> commit 163bd85 Author: Francois Ramu <francois.ramu@st.com> Date: Thu Nov 12 13:21:31 2020 +0100 Missing IPCC enable for C2 in several examples from stm32CubeWB This fix is coming from STMicroelectronics/STM32CubeWB#19 Signed-off-by: Francois Ramu <francois.ramu@st.com> commit 732ffed Author: Francois Ramu <francois.ramu@st.com> Date: Thu Nov 12 12:25:50 2020 +0100 This BLE RF configuration has many unused define values which are removed there Signed-off-by: Francois Ramu <francois.ramu@st.com> commit 3019930 Author: Francois Ramu <francois.ramu@st.com> Date: Tue Oct 13 17:03:40 2020 +0200 Include the STM32Cube_FW to support the BLE of the stm32wb55 Only in case STM32WBxx device defined Signed-off-by: Francois Ramu <francois.ramu@st.com> commit f7dbf18 Author: Francois Ramu <francois.ramu@st.com> Date: Wed Nov 4 16:44:37 2020 +0100 Support of the shared memory transport layer for the stm32wb55 with STM32WB built-in chip (STM32WB_RF) It also Allows HCI SPI Transport with STM32WBxx Signed-off-by: Francois Ramu <francois.ramu@st.com> commit 3813996 Merge: d952a0f e6d0635 Author: Carlo Parata <carlo.parata@st.com> Date: Wed Sep 30 16:55:40 2020 +0200 Merge pull request stm32duino#19 from cparata/master Update comment and restore B_L4S5I_IOT01A support commit e6d0635 Author: Carlo Parata <carlo.parata@st.com> Date: Wed Sep 30 16:48:09 2020 +0200 Update comment and restore B_L4S5I_IOT01A support commit d952a0f Merge: 61138fc 0d936a4 Author: Carlo Parata <carlo.parata@st.com> Date: Wed Sep 30 15:56:53 2020 +0200 Merge pull request stm32duino#18 from cparata/master Add support to X-NUCLEO-IDB05A2 commit 0d936a4 Author: Carlo Parata <carlo.parata@st.com> Date: Wed Sep 30 15:37:58 2020 +0200 Add support to X-NUCLEO-IDB05A2 commit 61138fc Merge: e7e1bf7 14fd996 Author: Carlo Parata <carlo.parata@st.com> Date: Thu Sep 24 15:32:23 2020 +0200 Merge pull request stm32duino#16 from cparata/master Align STM32duinoBLE to current ArduinoBLE master commit 14fd996 Author: Carlo Parata <carlo.parata@st.com> Date: Thu Sep 24 15:20:31 2020 +0200 Fix compilation warning commit ec83c8a Merge: 73a4e1a 524b3a6 Author: Carlo Parata <carlo.parata@st.com> Date: Thu Sep 24 14:33:36 2020 +0200 Align to ArduinoBLE master commit e7e1bf7 Author: Francois Ramu <francois.ramu@st.com> Date: Mon Sep 7 16:16:46 2020 +0200 add stm32L4+ discovery kit for BLE access of all examples B_L4S5I_IOT01A is using same pins for Bluetooth and SPI3 as the discovery kit B-L475E-IOT01A1 Signed-off-by: Francois Ramu <francois.ramu@st.com> commit 3559592 Author: Frederic Pillon <frederic.pillon@st.com> Date: Thu Sep 10 10:18:59 2020 +0200 Fix typo commit 93c6887 Author: Frederic Pillon <frederic.pillon@st.com> Date: Thu Sep 10 10:18:19 2020 +0200 Fix Typo commit be2ed7e Merge: 3df2192 73a4e1a Author: Carlo Parata <carlo.parata@st.com> Date: Wed Mar 25 19:18:34 2020 +0100 Merge pull request stm32duino#14 from cparata/master Update README commit 73a4e1a Author: Carlo Parata <carlo.parata@st.com> Date: Wed Mar 25 19:17:06 2020 +0100 Update README commit 3df2192 Merge: dbc9cd1 3499bfa Author: Carlo Parata <carlo.parata@st.com> Date: Mon Feb 17 12:36:58 2020 +0100 Merge pull request stm32duino#13 from cparata/master Update CHANGELOG commit 3499bfa Author: Carlo Parata <carlo.parata@st.com> Date: Mon Feb 17 12:35:36 2020 +0100 Update CHANGELOG commit dbc9cd1 Merge: 04a895f 742e409 Author: Carlo Parata <carlo.parata@st.com> Date: Mon Feb 17 12:25:17 2020 +0100 Merge pull request stm32duino#12 from cparata/master Replace ArduinoBLE.h with STM32duinoBLE.h and create a new release fo… commit 742e409 Author: Carlo Parata <carlo.parata@st.com> Date: Mon Feb 17 12:23:56 2020 +0100 Replace ArduinoBLE.h with STM32duinoBLE.h and create a new release for publication commit 04a895f Merge: 495b941 bd1b0e0 Author: Carlo Parata <carlo.parata@st.com> Date: Mon Feb 17 11:40:04 2020 +0100 Merge pull request stm32duino#11 from cparata/master Improve STM32duinoBLE robustness and flexibility commit bd1b0e0 Author: Carlo Parata <carlo.parata@st.com> Date: Mon Feb 17 11:34:49 2020 +0100 Update keywords.txt with new classes, methods and constants commit 5d789c6 Author: Carlo Parata <carlo.parata@st.com> Date: Mon Feb 17 11:11:51 2020 +0100 Improve check when BLE chip is not supported commit e53282b Author: Carlo Parata <carlo.parata@st.com> Date: Mon Feb 17 10:41:21 2020 +0100 Update examples/Peripheral/LED/LED.ino Co-Authored-By: Frederic Pillon <frederic.pillon@st.com> commit d4bb5d8 Author: Carlo Parata <carlo.parata@st.com> Date: Mon Feb 17 10:41:08 2020 +0100 Update examples/Peripheral/LED/LED.ino Co-Authored-By: Frederic Pillon <frederic.pillon@st.com> commit 11bb949 Author: Carlo Parata <carlo.parata@st.com> Date: Mon Feb 17 10:40:55 2020 +0100 Update examples/Peripheral/CallbackLED/CallbackLED.ino Co-Authored-By: Frederic Pillon <frederic.pillon@st.com> commit da2c4fd Author: Carlo Parata <carlo.parata@st.com> Date: Mon Feb 17 10:40:44 2020 +0100 Update examples/Peripheral/CallbackLED/CallbackLED.ino Co-Authored-By: Frederic Pillon <frederic.pillon@st.com> commit b95942f Author: Carlo Parata <carlo.parata@st.com> Date: Mon Feb 17 10:40:33 2020 +0100 Update examples/Peripheral/ButtonLED/ButtonLED.ino Co-Authored-By: Frederic Pillon <frederic.pillon@st.com> commit fafde93 Author: Carlo Parata <carlo.parata@st.com> Date: Mon Feb 17 10:40:23 2020 +0100 Update examples/Peripheral/ButtonLED/ButtonLED.ino Co-Authored-By: Frederic Pillon <frederic.pillon@st.com> commit 18e0ca1 Author: Carlo Parata <carlo.parata@st.com> Date: Mon Feb 17 10:40:13 2020 +0100 Update examples/Central/SensorTagButton/SensorTagButton.ino Co-Authored-By: Frederic Pillon <frederic.pillon@st.com> commit aa6e1b3 Author: Carlo Parata <carlo.parata@st.com> Date: Mon Feb 17 10:40:00 2020 +0100 Update examples/Central/SensorTagButton/SensorTagButton.ino Co-Authored-By: Frederic Pillon <frederic.pillon@st.com> commit b598a3f Author: Carlo Parata <carlo.parata@st.com> Date: Mon Feb 17 10:39:48 2020 +0100 Update examples/Central/ScanCallback/ScanCallback.ino Co-Authored-By: Frederic Pillon <frederic.pillon@st.com> commit c9f4239 Author: Carlo Parata <carlo.parata@st.com> Date: Mon Feb 17 10:39:37 2020 +0100 Update examples/Central/ScanCallback/ScanCallback.ino Co-Authored-By: Frederic Pillon <frederic.pillon@st.com> commit f7d45fa Author: Carlo Parata <carlo.parata@st.com> Date: Mon Feb 17 10:39:25 2020 +0100 Update examples/Central/Scan/Scan.ino Co-Authored-By: Frederic Pillon <frederic.pillon@st.com> commit 775a60a Author: Carlo Parata <carlo.parata@st.com> Date: Mon Feb 17 10:39:13 2020 +0100 Update examples/Central/Scan/Scan.ino Co-Authored-By: Frederic Pillon <frederic.pillon@st.com> commit 9f46797 Author: Carlo Parata <carlo.parata@st.com> Date: Mon Feb 17 10:39:06 2020 +0100 Update examples/Central/LedControl/LedControl.ino Co-Authored-By: Frederic Pillon <frederic.pillon@st.com> commit 81ff00b Author: Carlo Parata <carlo.parata@st.com> Date: Mon Feb 17 10:38:57 2020 +0100 Update examples/Central/LedControl/LedControl.ino Co-Authored-By: Frederic Pillon <frederic.pillon@st.com> commit 19ce615 Author: Carlo Parata <carlo.parata@st.com> Date: Mon Feb 17 10:38:49 2020 +0100 Update examples/Central/PeripheralExplorer/PeripheralExplorer.ino Co-Authored-By: Frederic Pillon <frederic.pillon@st.com> commit ab1df57 Author: Carlo Parata <carlo.parata@st.com> Date: Mon Feb 17 10:38:38 2020 +0100 Update examples/Central/PeripheralExplorer/PeripheralExplorer.ino Co-Authored-By: Frederic Pillon <frederic.pillon@st.com> commit 94a834a Merge: c4f359a 7e7cf88 Author: Carlo Parata <carlo.parata@st.com> Date: Mon Feb 17 10:25:33 2020 +0100 Merge pull request #1 from fpistm/pr-11 STM32duinoBLE enhancement commit 7e7cf88 Author: Frederic Pillon <frederic.pillon@st.com> Date: Mon Feb 17 10:08:13 2020 +0100 Fix workflow to build ST targets Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit 2f22ce9 Author: Frederic Pillon <frederic.pillon@st.com> Date: Tue Nov 19 12:07:36 2019 +0100 Replace boolean with standard bool arduino/Arduino#4673 Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit 02ff3a6 Author: Frederic Pillon <frederic.pillon@st.com> Date: Mon Feb 17 09:00:30 2020 +0100 SPISettings managements Signed-off-by: Frederic Pillon <frederic.pillon@st.com> commit c4f359a Author: Carlo Parata <carlo.parata@st.com> Date: Fri Feb 7 11:20:49 2020 +0100 Improve STM32duinoBLE robustness and flexibility commit 495b941 Merge: 4734253 83671f4 Author: Carlo Parata <carlo.parata@st.com> Date: Tue Dec 3 13:43:51 2019 +0100 Merge pull request stm32duino#10 from cparata/master Sync with ArduinoBLE commit 83671f4 Merge: 41cf4bc 8dc4290 Author: Carlo Parata <carlo.parata@st.com> Date: Tue Dec 3 11:34:54 2019 +0100 Merge remote-tracking branch 'upstream/master' commit 4734253 Merge: 5d4475a 41cf4bc Author: Carlo Parata <carlo.parata@st.com> Date: Fri Nov 15 18:05:18 2019 +0100 Merge pull request stm32duino#9 from cparata/master Align to ArduinoBLE 1.1.2 commit 41cf4bc Merge: fa813f0 ac85dae Author: Carlo Parata <carlo.parata@st.com> Date: Fri Nov 15 18:03:05 2019 +0100 Align to ArduinoBLE 1.1.2 commit 5d4475a Merge: 33a8c3b fa813f0 Author: Carlo Parata <carlo.parata@st.com> Date: Tue Nov 12 14:04:30 2019 +0100 Merge pull request stm32duino#8 from cparata/master Replace typo STBTLE with SPBTLE commit fa813f0 Author: Carlo Parata <carlo.parata@st.com> Date: Tue Nov 12 14:00:26 2019 +0100 Replace typo STBTLE with SPBTLE commit 33a8c3b Merge: b530dec 0c59e94 Author: Carlo Parata <carlo.parata@st.com> Date: Thu Oct 10 12:32:24 2019 +0200 Merge pull request stm32duino#6 from cparata/master Sync with ArduinoBLE library commit 0c59e94 Merge: e37e3aa 226ced5 Author: Carlo Parata <carlo.parata@st.com> Date: Thu Oct 10 12:17:25 2019 +0200 Solve conflicts commit b530dec Merge: d54c075 e37e3aa Author: Carlo Parata <carlo.parata@st.com> Date: Wed Sep 25 14:53:50 2019 +0200 Merge pull request stm32duino#5 from cparata/master Update README and Library properties files commit e37e3aa Author: Carlo Parata <carlo.parata@st.com> Date: Wed Sep 25 14:51:27 2019 +0200 Update README and Library properties commit 1b0d04e Merge: d556640 d6fba6a Author: Carlo Parata <carlo.parata@st.com> Date: Fri Sep 20 15:48:48 2019 +0200 Merge remote-tracking branch 'upstream/master' commit d54c075 Merge: 7db8cef d556640 Author: Carlo Parata <carlo.parata@st.com> Date: Fri Sep 20 11:46:16 2019 +0200 Merge pull request stm32duino#4 from cparata/master Fix issue on Disconnection event commit d556640 Author: Carlo Parata <carlo.parata@st.com> Date: Fri Sep 20 11:44:53 2019 +0200 Fix issue on Disconnection event commit 7db8cef Merge: 5e44386 137c830 Author: Carlo Parata <carlo.parata@st.com> Date: Fri Sep 20 10:39:28 2019 +0200 Merge pull request stm32duino#3 from cparata/master Add support to STBTLE-RF and STBTLE-1S modules commit 137c830 Author: Carlo Parata <carlo.parata@st.com> Date: Fri Sep 20 10:29:45 2019 +0200 Update README and library properties for STM32duinoBLE commit 3474eab Merge: 8527443 5e44386 Author: Carlo Parata <carlo.parata@st.com> Date: Fri Sep 20 09:40:30 2019 +0200 Merge remote-tracking branch 'upstream/master' commit 8527443 Author: Carlo Parata <carlo.parata@st.com> Date: Thu Sep 19 10:33:53 2019 +0200 Add support to STBTLE-RF and STBTLE-1S
Is there a need for the
boolean
type at all, other than backwards compatibility?Currently, Arduino's
boolean
type is defined as an alias tobool
(thanks, Chris--A!). However I don't see the need to have a customboolean
type when C and C++ already provide one.Advantages of the
bool
type are:int
andchar
I think it would be a good idea to stop using this custom
boolean
type and instead use thebool
one; in my opinion, the fewer unneeded additions Arduino makes to the language, the better.The steps for moving would be (in this order):
boolean
from Arduino core and library functions withbool
.boolean
and replacing them withbool
(and maybe adding a note that theboolean
type is deprecated).boolean
type is deprecated. An__attribute__ ((deprecated ("use bool instead")))
on theboolean
definition could be a good idea.boolean
, consider its removal. (Or leave it there forever, just in case.)The text was updated successfully, but these errors were encountered: