Skip to content

Support other STM32WB target #75

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
fpistm opened this issue Apr 7, 2025 · 3 comments · Fixed by #76
Closed

Support other STM32WB target #75

fpistm opened this issue Apr 7, 2025 · 3 comments · Fixed by #76
Labels
enhancement New feature or request
Milestone

Comments

@fpistm
Copy link
Member

fpistm commented Apr 7, 2025

Same thing seems to be happening to me.

Trying to use the new version of STM32duinoBLE 1.3.7 with a Generic STM32WB55VGYx board.

Seems like the HCISharedMemTransportClass is never available?

~/Documents/Arduino/libraries/STM32duinoBLE/src/utility/HCISharedMemTransport.cpp:781:39: error: 'HCISharedMemTransport' was not declared in this scope; did you mean 'HCISharedMemTransportClass'?
  781 | HCITransportInterface& HCITransport = HCISharedMemTransport;
      |                                       ^~~~~~~~~~~~~~~~~~~~~
      |                                       HCISharedMemTransportClass

it works if I revert back to an older version (ie. 1.2.9)

Originally posted by @federica-ven in #71

@fpistm
Copy link
Member Author

fpistm commented Apr 7, 2025

Hi @federica-ven

I've created an issue based on your comment not related to other issue.
New library version changed the way a HCITransport is selected to be close ArduinoBLE way.
So, a check was done if the target is part of the supported one which is not the case of the Generic WBxxx.
I will change this to simply warn user the library was not tested with the selected board.

@fpistm fpistm added the enhancement New feature or request label Apr 7, 2025
@fpistm fpistm added this to the 1.3.x milestone Apr 7, 2025
fpistm added a commit to fpistm/STM32duinoBLE that referenced this issue Apr 7, 2025
@fpistm fpistm closed this as completed in #76 Apr 7, 2025
fpistm added a commit that referenced this issue Apr 7, 2025
Fixes #75

Signed-off-by: Frederic Pillon <[email protected]>
@github-project-automation github-project-automation bot moved this from To do to Done in STM32duino libraries Apr 7, 2025
@federica-ven
Copy link

federica-ven commented Apr 7, 2025

So, a check was done if the target is part of the supported one which is not the case of the Generic WBxxx.
I will change this to simply warn user the library was not tested with the selected board.

Thank you @fpistm , so the STM32WB55VGYx boards are not supported?

@fpistm
Copy link
Member Author

fpistm commented Apr 7, 2025

Thank you @fpistm , so the STM32WB55VGYx boards are not supported?

Generic is a basic variant to support board based on the targeted mcu. By default generic used a clock config based on internal oscillator HSI,... This library was tested for specific board with a dedicated clock config using HSE.
As the BLE for the STM32WB required to use HSE the generic cannot work by default if you do not change the clock config.
STM32WB55VGYx is know to work as the STM32WB5MM-DK is based on of this mcu. Tested using the clock config from the DK.

https://www.st.com/en/microcontrollers-microprocessors/stm32wb5mmg.html

Description
STM32WB5MMG is an ultra-low-power and small form factor certified 2.4 GHz wireless module. It supports Bluetooth® Low Energy 5.4, Zigbee® 3.0, OpenThread, dynamic, and static concurrent modes, and 802.15.4 proprietary protocols. Based on the STMicroelectronics STM32WB55VGY wireless microcontroller, STM32WB5MMG provides best-in-class RF performance thanks to its high receiver sensitivity and output power signal. Its low-power features enable extended battery life, small coin-cell batteries, and energy harvesting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging a pull request may close this issue.

2 participants