Skip to content

Bluetooth low energy test with the STM32WB55 Nucleo board

Notifications You must be signed in to change notification settings

mica-angeli/wb55-ble

Repository files navigation

wb55-ble

Simple blinky for the STM32WB55 Nucleo board

Build instructions

macOS

Setting up development tools

  1. Download and install CLion

  2. Install the latest version of OpenOCD by executing the following command:

    brew install --HEAD openocd
  3. Download the latest ARM toolchain and extract it to ~/bin/.

  4. Add the toolchain to the path by adding the full path to the bin/ subdirectory to the /etc/paths file.

  5. Download and install the Java JDK

  6. Download STM32CubeMX. Extract it and install it by executing the following command and going though the installation steps:

    sudo java -jar SetupSTM32CubeMX-5.6.1.exe

Upgrading programmer firmware

  1. Download the STLINK firmware upgrader.

  2. Extract the zip file.

  3. Open a terminal in the extracted directory and execute the following command:

    java -jar AllPlatforms/STLinkUpgrade.jar
  4. Go through the upgrade process in the application

Configure CLion project

  1. Clone this git repository
  2. Open this project in CLion
  3. Open the Preferences window
  4. Under Build, Execution, Deployment -> Embedded Development, add the OpenOCD location: /usr/local/bin/openocd.
  5. Click OK
  6. Click File -> Reload CMake Project
  7. It should be able to process the CMake file correctly. If there are issues finding the ARM gcc compilers, double-check that the path was added correctly to the /etc/paths file.
  8. Test that the program compiles by building the wb55-blef configuration.
  9. Click Edit Configurations...
  10. Set Target and Executable to wb55-blef and set Board config file to board/st_nucleo_wb55.cfg.
  11. Click OK.
  12. Connect your Nucleo board via USB.
  13. Run the `OCD wb55-bleuild configuration. The program should get flashed to the board and the green LED should start blinking every second.

About

Bluetooth low energy test with the STM32WB55 Nucleo board

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages