Arduino_core_stm32: support nucleo-l432kc (STM32L432)

Created on 21 Jun 2017  路  8Comments  路  Source: stm32duino/Arduino_Core_STM32

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

Enhancement

Most helpful comment

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

All 8 comments

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

because most of the Arduino libs are not ported.

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

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

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

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.

@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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Pararera picture Pararera  路  5Comments

hasenbanck picture hasenbanck  路  8Comments

Adminius picture Adminius  路  6Comments

pasindu-sandima picture pasindu-sandima  路  5Comments

ladyada picture ladyada  路  5Comments