Skip to content

[New Variant] Discovery kit STM32L562E_DK #2694

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
haydenth opened this issue Mar 19, 2025 · 4 comments · Fixed by #2696
Closed

[New Variant] Discovery kit STM32L562E_DK #2694

haydenth opened this issue Mar 19, 2025 · 4 comments · Fixed by #2696
Labels
new variant Add support of new bard

Comments

@haydenth
Copy link
Contributor

Onboard MCU: STM32L562QEI6Q

I'm happy to try to add this variant myself, but I'm not sure where to put it

~/.arduino15/packages/STMicroelectronics/hardware/stm32/2.8.1/variants/STM32L5xx $ ll
total 68
drwxrwxr-x 17 tom tom 4096 Mar 19 09:00  ./
drwxrwxr-x 22 tom tom 4096 Mar 19 08:59  ../
drwxrwxr-x  2 tom tom 4096 Nov 27 14:22 'L552C(C-E)(T-U)_L562CE(T-U)'/
drwxrwxr-x  2 tom tom 4096 Nov 27 14:22 'L552CE(T-U)xP_L562CE(T-U)xP'/
drwxrwxr-x  2 tom tom 4096 Nov 27 14:22  L552MEYxP_L562MEYxP/
drwxrwxr-x  2 tom tom 4096 Nov 27 14:22  L552MEYxQ_L562MEYxQ/
drwxrwxr-x  2 tom tom 4096 Nov 27 14:22 'L552Q(C-E)IxQ_L562QEIxQ'/
drwxrwxr-x  2 tom tom 4096 Nov 27 14:22  L552QEI_L562QEI/
drwxrwxr-x  2 tom tom 4096 Nov 27 14:22  L552QEIxP_L562QEIxP/
drwxrwxr-x  2 tom tom 4096 Nov 27 14:22 'L552R(C-E)T_L562RET'/
drwxrwxr-x  2 tom tom 4096 Nov 27 14:22  L552RETxP_L562RETxP/
drwxrwxr-x  2 tom tom 4096 Nov 27 14:22  L552RETxQ_L562RETxQ/
drwxrwxr-x  2 tom tom 4096 Nov 27 14:22 'L552V(C-E)TxQ_L562VETxQ'/
drwxrwxr-x  2 tom tom 4096 Nov 27 14:22  L552VET_L562VET/
drwxrwxr-x  2 tom tom 4096 Jan  9 10:23 'L552Z(C-E)TxQ_L562ZETxQ'/
drwxrwxr-x  2 tom tom 4096 Nov 27 14:22  L552ZET_L562ZET/

I am guessing this is the right location: L552Q(C-E)IxQ_L562QEIxQ - but just looking for advice on this. Also, since it's a DK is there a recent DK that anyone has added I can use as a template? Thanks

@fpistm
Copy link
Member

fpistm commented Mar 19, 2025

Hi @haydenth
Yes it's the correct one as it matches the mcu.

So here:
https://github.com./stm32duino/Arduino_Core_STM32/tree/main/variants/STM32L5xx/L552Q(C-E)IxQ_L562QEIxQ

About latest DK,maybe this one: STM32H573I-DK, added in this PR #2016.
So first add the generic:
42458e0
Then add the DK:
070d0b1

@haydenth
Copy link
Contributor Author

Got it. Thank you. Most of it is straightforward but I'm having trouble getting the SystemClock_Config(void) function right, I think. Is there guidance somewhere on how to define this?

@fpistm
Copy link
Member

fpistm commented Mar 19, 2025

Got it. Thank you. Most of it is straightforward but I'm having trouble getting the SystemClock_Config(void) function right, I think. Is there guidance somewhere on how to define this?

For the generic or for the DK?
What is your problem "to get it right"?

@haydenth
Copy link
Contributor Author

Just the DK, but I think I answered my own question already - sorry!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new variant Add support of new bard
Projects
Development

Successfully merging a pull request may close this issue.

2 participants