Page 1 of 1

STM32 Core and WeAct STM32H7 series

Posted: Thu Dec 08, 2022 4:41 pm
by imk
Hello,
I currently have a Robot project running nicely on a WeAct Black Pill STM32F411CEU6 using ARDUINO V2 STM32 core.
https://youtu.be/GEe8V9M5waU

Issue is I have run out of pins and need to add some more function so either split the project across two Black Pills.
Or retro fit these robots with WeAct STM32H750VBT6 or STM32H7B0VBT6 boards which have lots more pins, speed, Ram n Rom etc.

So I am wondering if anyone have tested the boards with the STM32 core and ARDUINO V2 IDE?
As I did a quick test the other day and got a serial1 compiler error.

Many thanks in advance IMK

Re: STM32 Core and WeAct STM32H7 series

Posted: Thu Dec 08, 2022 5:43 pm
by GonzoG
There are WeAct Mini with H743VI and H750VB so it should work without any issues.
As to Serial1, you may get errors as by default there is only 1 UART defined. If you want more, you have to define them:
https://github.com/stm32duino/wiki/wiki ... wareserial

Re: STM32 Core and WeAct STM32H7 series

Posted: Fri Mar 10, 2023 8:17 am
by fpiSTM
Each variant has its own definition. So default Serial could not be the same.
For BlackPill F411 it is the USART1 which is used so Serial1 is defined by default and mapped to Serial.
https://github.com/stm32duino/Arduino_C ... #L131-L143

For STM32H750VB WeAct it is defined to be on LPUART1, so Serial1 is not defined by default but SerialLP1 is.
https://github.com/stm32duino/Arduino_C ... #L217-L229