Skip to content

Commit 172fabf

Browse files
committed
[stm32] Add support for STM32L562E-DK board
- Included new board configuration in README.md - Updated boards.txt with STM32L562E-DK details - Added variant files for STM32L562E-DK - Modified generic_clock.c for compatibility with STM32L562E-DK
1 parent 7ef0723 commit 172fabf

File tree

7 files changed

+1351
-1
lines changed

7 files changed

+1351
-1
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ User can add a STM32 based board following this [wiki](https://github.com/stm32d
192192
| :green_heart: | STM32H573IIKxQ | [STM32H573I-DK](https://www.st.com/en/evaluation-tools/stm32h573i-dk.html) | *2.6.0* | |
193193
| :green_heart: | STM32H747XIHx | [STM32H747I-DISCO](https://www.st.com/en/evaluation-tools/stm32h747i-disco.html) | *2.7.0* | |
194194
| :green_heart: | STM32L4S5VI | [B-L4S5I-IOT01A](https://www.st.com/en/evaluation-tools/b-l4s5i-iot01a.html) | *2.0.0* | |
195+
| :yellow_heart: | STM32L562QEIxQ | [STM32L562E-DK](https://www.st.com/en/evaluation-tools/stm32l562e-dk.html) | *2.0.0* | |
195196
| :green_heart: | STM32U585AIIxQ | [B-U585I-IOT02A](https://www.st.com/en/evaluation-tools/b-u585i-iot02a.html) | *2.1.0* | |
196197
| :green_heart: | STM32WB5MMG | [STM32WB5MM-DK](https://www.st.com/en/evaluation-tools/stm32wb5mm-dk.html) | *2.1.0* | |
197198

@@ -744,6 +745,7 @@ User can add a STM32 based board following this [wiki](https://github.com/stm32d
744745
| :----: | :-------: | ---- | :-----: | :---- |
745746
| :green_heart: | STM32L552ZC-Q<br>STM32L552ZE-Q | Generic Board | *2.0.0* | |
746747
| :green_heart: | STM32L562ZE-Q | Generic Board | *2.0.0* | |
748+
| :yellow_heart: | STM32L562QEIxQ | Generic Board | *2.0.0* | |
747749

748750
### Generic STM32U0 boards
749751

boards.txt

+25
Original file line numberDiff line numberDiff line change
@@ -1231,6 +1231,22 @@ Disco.menu.pnum.B_L4S5I_IOT01A.build.peripheral_pins=-DCUSTOM_PERIPHERAL_PINS
12311231
Disco.menu.pnum.B_L4S5I_IOT01A.openocd.target=stm32l4x
12321232
Disco.menu.pnum.B_L4S5I_IOT01A.debug.svd_file={runtime.tools.STM32_SVD.path}/svd/STM32L4xx/STM32L4S5.svd
12331233

1234+
# STM32L562E-DK
1235+
Disco.menu.pnum.STM32L562E_DK=STM32L562E-DK
1236+
Disco.menu.pnum.STM32L562E_DK.node="DIS_L4IOT,DIS_L4S5VI"
1237+
Disco.menu.pnum.STM32L562E_DK.upload.maximum_size=524288
1238+
Disco.menu.pnum.STM32L562E_DK.upload.maximum_data_size=196608
1239+
Disco.menu.pnum.STM32L562E_DK.build.mcu=cortex-m33
1240+
Disco.menu.pnum.STM32L562E_DK.build.fpu=-mfpu=fpv4-sp-d16
1241+
Disco.menu.pnum.STM32L562E_DK.build.float-abi=-mfloat-abi=hard
1242+
Disco.menu.pnum.STM32L562E_DK.build.board=STM32L562E_DK
1243+
Disco.menu.pnum.STM32L562E_DK.build.series=STM32L5xx
1244+
Disco.menu.pnum.STM32L562E_DK.build.product_line=STM32L562xx
1245+
Disco.menu.pnum.STM32L562E_DK.build.variant=STM32L5xx/L552Q(C-E)IxQ_L562QEIxQ
1246+
Disco.menu.pnum.STM32L562E_DK.build.peripheral_pins=-DCUSTOM_PERIPHERAL_PINS
1247+
Disco.menu.pnum.STM32L562E_DK.openocd.target=stm32l5x
1248+
Disco.menu.pnum.STM32L562E_DK.debug.svd_file={runtime.tools.STM32_SVD.path}/svd/STM32L5xx/STM32L562.svd
1249+
12341250
# B_U585I_IOT02A board
12351251
Disco.menu.pnum.B_U585I_IOT02A=B-U585I-IOT02A
12361252
Disco.menu.pnum.B_U585I_IOT02A.node="NOD_U585AI,DIS_U585AI"
@@ -12253,6 +12269,15 @@ GenL5.menu.pnum.GENERIC_L562ZETXQ.build.product_line=STM32L562xx
1225312269
GenL5.menu.pnum.GENERIC_L562ZETXQ.build.variant=STM32L5xx/L552Z(C-E)TxQ_L562ZETxQ
1225412270
GenL5.menu.pnum.GENERIC_L562ZETXQ.debug.svd_file={runtime.tools.STM32_SVD.path}/svd/STM32L5xx/STM32L562.svd
1225512271

12272+
# Generic L562QEIxQ
12273+
GenL5.menu.pnum.GENERIC_L562QEIXQ=Generic L562QEIxQ
12274+
GenL5.menu.pnum.GENERIC_L562QEIXQ.upload.maximum_size=524288
12275+
GenL5.menu.pnum.GENERIC_L562QEIXQ.upload.maximum_data_size=196608
12276+
GenL5.menu.pnum.GENERIC_L562QEIXQ.build.board=GENERIC_L562QEIXQ
12277+
GenL5.menu.pnum.GENERIC_L562QEIXQ.build.product_line=STM32L562xx
12278+
GenL5.menu.pnum.GENERIC_L562QEIXQ.build.variant=STM32L5xx/L552Q(C-E)IxQ_L562QEIxQ
12279+
GenL5.menu.pnum.GENERIC_L562QEIXQ.debug.svd_file={runtime.tools.STM32_SVD.path}/svd/STM32L5xx/STM32L562.svd
12280+
1225612281
# Upload menu
1225712282
GenL5.menu.upload_method.swdMethod=STM32CubeProgrammer (SWD)
1225812283
GenL5.menu.upload_method.swdMethod.upload.protocol=swd

0 commit comments

Comments
 (0)