Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 2 additions & 1 deletion boards/nucleo_wl55jc.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
},
"frameworks": [
"arduino",
"zephyr"
"zephyr",
"stm32cube"
],
"name": "ST Nucleo WL55JC",
"upload": {
Expand Down
8 changes: 8 additions & 0 deletions examples/stm32cube-hal-blink/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,11 @@ platform = ststm32
framework = stm32cube
board = nucleo_l552ze_q
build_flags = -DL5

[env:nucleo_wl55jc]
platform = ststm32
framework = stm32cube
board = nucleo_wl55jc
build_flags = -DWL
platform_packages =
platformio/framework-stm32cubewl @ https://github.com/sebastian-toepfer/STM32CubeWL.git
2 changes: 2 additions & 0 deletions examples/stm32cube-hal-blink/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
#include "stm32l4xx_hal.h"
#elif L5
#include "stm32l5xx_hal.h"
#elif WL
#include "stm32wlxx_hal.h"
#else
#error "Unsupported STM32 Family"
#endif
Expand Down
6 changes: 6 additions & 0 deletions platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,12 @@
"owner": "platformio",
"version": "~1.5.1"
},
"framework-stm32cubewl": {
"type": "framework",
"optional": true,
"owner": "platformio",
"version": "~1.4.0"
},
"framework-zephyr": {
"type": "framework",
"optional": true,
Expand Down