Skip to content

Commit 1139662

Browse files
committed
variant(wl3): add Nucleo-WL33CC1 support
Fixes #2643 Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 365732a commit 1139662

File tree

4 files changed

+23
-2
lines changed

4 files changed

+23
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ User can add a STM32 based board following this [wiki](https://github.com/stm32d
166166
| :green_heart: | STM32WB55RG | [P-Nucleo-WB55RG](https://www.st.com/en/evaluation-tools/p-nucleo-wb55.html) | *1.6.0* | BLE support with [STM32duinoBLE](https://github.com/stm32duino/STM32duinoBLE) |
167167
| :green_heart: | STM32WB55CG | [P-Nucleo-WB55 USB Dongle](https://www.st.com/en/evaluation-tools/p-nucleo-wb55.html) | *2.5.0* | BLE support with [STM32duinoBLE](https://github.com/stm32duino/STM32duinoBLE) |
168168
| :yellow_heart: | STM32WL3CCV | [Nucleo-WL33CC1](https://www.st.com/en/evaluation-tools/nucleo-wl33cc1.html) | **2.12.0** | |
169+
| :yellow_heart: | STM32WL3CCV | [Nucleo-WL33CC2](https://www.st.com/en/evaluation-tools/nucleo-wl33cc2.html) | **2.12.0** | |
169170
| :green_heart: | STM32WL55JC | [Nucleo WL55JC1](https://www.st.com/en/evaluation-tools/nucleo-wl55jc.html) | *2.1.0* | LoRa support not available |
170171

171172

boards.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -995,6 +995,7 @@ Nucleo_64.menu.pnum.NUCLEO_WL33CC1.build.board=NUCLEO_WL33CC1
995995
Nucleo_64.menu.pnum.NUCLEO_WL33CC1.build.series=STM32WL3x
996996
Nucleo_64.menu.pnum.NUCLEO_WL33CC1.build.product_line=STM32WL3xx
997997
Nucleo_64.menu.pnum.NUCLEO_WL33CC1.build.variant=STM32WL3x/WL33C(8-B-C)Vx(X)
998+
Nucleo_64.menu.pnum.NUCLEO_WL33CC1.build.variant_h=variant_NUCLEO_WL33CCx.h
998999
Nucleo_64.menu.pnum.NUCLEO_WL33CC1.build.st_extra_flags=-D{build.product_line} {build.xSerial} -D__CORTEX_SC=0
9991000
Nucleo_64.menu.pnum.NUCLEO_WL33CC1.openocd.target=stm32wl3x
10001001
Nucleo_64.menu.pnum.NUCLEO_WL33CC1.debug.svd_file={runtime.tools.STM32_SVD.path}/svd/STM32WL3x/STM32WL33.svd
@@ -1003,6 +1004,25 @@ Nucleo_64.menu.pnum.NUCLEO_WL33CC1.upload.mode=hwRstPulse
10031004
Nucleo_64.menu.pnum.NUCLEO_WL33CC1.upload.start=0x10000000
10041005
Nucleo_64.menu.pnum.NUCLEO_WL33CC1.upload.parity=none
10051006

1007+
# NUCLEO_WL3CC2 board
1008+
Nucleo_64.menu.pnum.NUCLEO_WL33CC2=Nucleo WL33CC2
1009+
Nucleo_64.menu.pnum.NUCLEO_WL33CC2.node="NOD_WL33CC"
1010+
Nucleo_64.menu.pnum.NUCLEO_WL33CC2.upload.maximum_size=262144
1011+
Nucleo_64.menu.pnum.NUCLEO_WL33CC2.upload.maximum_data_size=32768
1012+
Nucleo_64.menu.pnum.NUCLEO_WL33CC2.build.mcu=cortex-m0plus
1013+
Nucleo_64.menu.pnum.NUCLEO_WL33CC2.build.board=NUCLEO_WL33CC2
1014+
Nucleo_64.menu.pnum.NUCLEO_WL33CC2.build.series=STM32WL3x
1015+
Nucleo_64.menu.pnum.NUCLEO_WL33CC2.build.product_line=STM32WL3xx
1016+
Nucleo_64.menu.pnum.NUCLEO_WL33CC2.build.variant=STM32WL3x/WL33C(8-B-C)Vx(X)
1017+
Nucleo_64.menu.pnum.NUCLEO_WL33CC2.build.variant_h=variant_NUCLEO_WL33CCx.h
1018+
Nucleo_64.menu.pnum.NUCLEO_WL33CC2.build.st_extra_flags=-D{build.product_line} {build.xSerial} -D__CORTEX_SC=0
1019+
Nucleo_64.menu.pnum.NUCLEO_WL33CC2.openocd.target=stm32wl3x
1020+
Nucleo_64.menu.pnum.NUCLEO_WL33CC2.debug.svd_file={runtime.tools.STM32_SVD.path}/svd/STM32WL3x/STM32WL33.svd
1021+
Nucleo_64.menu.pnum.NUCLEO_WL33CC2.upload.address=0x10040000
1022+
Nucleo_64.menu.pnum.NUCLEO_WL33CC2.upload.mode=hwRstPulse
1023+
Nucleo_64.menu.pnum.NUCLEO_WL33CC2.upload.start=0x10000000
1024+
Nucleo_64.menu.pnum.NUCLEO_WL33CC2.upload.parity=none
1025+
10061026
# NUCLEO_WL55JC1 board
10071027
Nucleo_64.menu.pnum.NUCLEO_WL55JC1=Nucleo WL55JC1
10081028
Nucleo_64.menu.pnum.NUCLEO_WL55JC1.node="NOD_WL55JC"

variants/STM32WL3x/WL33C(8-B-C)Vx(X)/variant_NUCLEO_WL33CC1.cpp renamed to variants/STM32WL3x/WL33C(8-B-C)Vx(X)/variant_NUCLEO_WL33CCx.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*******************************************************************************
1212
*/
13-
#if defined(ARDUINO_NUCLEO_WL33CC1)
13+
#if defined(ARDUINO_NUCLEO_WL33CC1) || defined(ARDUINO_NUCLEO_WL33CC2)
1414
#include "pins_arduino.h"
1515
#include "pinmap.h"
1616

@@ -112,4 +112,4 @@ WEAK void initVariant(void)
112112
#ifdef __cplusplus
113113
}
114114
#endif
115-
#endif /* ARDUINO_NUCLEO_WL33CC1 */
115+
#endif /* ARDUINO_NUCLEO_WL33CC1 || ARDUINO_NUCLEO_WL33CC2 */

0 commit comments

Comments
 (0)