Skip to content
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

support nucleo-l432kc (STM32L432) #34

Closed
Jorgen-VikingGod opened this issue Jun 21, 2017 · 8 comments
Closed

support nucleo-l432kc (STM32L432) #34

Jorgen-VikingGod opened this issue Jun 21, 2017 · 8 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Jorgen-VikingGod
Copy link

Please add support for STM32L432 like the Nucleo-L432KC

Here is another arduino port of STM32L4xx core:
https://github.com/GrumpyOldPizza/arduino-STM32L4/tree/master/variants/STM32L432KC-NUCLEO

@fpistm fpistm added the enhancement New feature or request label Jun 22, 2017
@RickKimball
Copy link
Contributor

Why don't you just use that core @Jorgen-VikingGod ?

@Jorgen-VikingGod
Copy link
Author

because most of the Arduino libs are not ported.

@fpistm
Copy link
Member

fpistm commented Jun 26, 2017

Hi @Jorgen-VikingGod,
I will add it soon and take it probably as an example for the wiki page for adding a variant.

@Jorgen-VikingGod
Copy link
Author

thx @fpistm this would be awesome! Makes it a little easier for other to add new variants in future.

@fpistm fpistm added this to the next release milestone Jun 28, 2017
@fpistm fpistm self-assigned this Jun 28, 2017
@Adminius
Copy link
Contributor

Adminius commented Jul 2, 2017

wiki is a nice idea.
I need support for NUCLEO F401RE... i would try to add it :)

@Adminius
Copy link
Contributor

Adminius commented Jul 3, 2017

Assumption:
to add new board/MCU support, this files
system\Drivers\STM32F3xx_HAL_Driver\Src\
need to be checked, if those variant is available.
My understanding is: it should not be a whole name, e.g. STM32F401RE, because
F4 is family = main functions
F4xx is "specials functions" ? (like CAN?)
R is 64pins
E is ROM

Make it sense to made
"#define ROM_E" or "STM32xxxxxE" instead of STM32F303xE, STM32F302xE...
"#define ROM_8" instead of

"#if defined(STM32F303x8) || defined(STM32F334x8) || defined(STM32F328xx) || \
    defined(STM32F301x8) || defined(STM32F302x8) || defined(STM32F318xx)"

and so on for all digits?
so we don't need to edit all of driver files and "ROM_8" is defined for all families.

@fpistm
Copy link
Member

fpistm commented Jul 4, 2017

@Adminius,
It's look correct
I think you should post your request to community.st.com
This repo not aims to modify HAL only use them. I update HAL when new CubeFw is released.

@fpistm fpistm mentioned this issue Jul 4, 2017
@fpistm fpistm closed this as completed in #53 Jul 5, 2017
@fpistm
Copy link
Member

fpistm commented Jul 12, 2017

Wiki created:
https://github.com/stm32duino/wiki/wiki/Add-a-new-variant-(board)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants