Page 1 of 1

Programming STM32L432 using Arduino IDE

Posted: Tue May 04, 2021 3:41 pm
by copplestone
Hi all, I'm doing a project with the STM32L432. I want to use the PJON communication protocol however it seems that the only Arduino libraries are available for PJON.

I realise that you can't currently program the STM32L432 with the Arduino IDE. Will it ever be possible to program the STM32L432 with the Arduino IDE or is there a fundamental incompatibility?

If it's not possible to work with this chip through the Arduino IDE does anyone know if anyone has developed with the PJON protocol using a non-Arduino IDE?

Cheers

Re: Programming STM32L432 using Arduino IDE

Posted: Tue May 04, 2021 4:25 pm
by mlundin
The Nucleo L432 has an onboard STLink making it possible, or even easy, to program.
The boot rom also has support for USB loading of flash. Both these methods are supported by
stmduino cores in Arduino IDE.

Re: Programming STM32L432 using Arduino IDE

Posted: Tue May 04, 2021 7:46 pm
by AndrewBCN
copplestone wrote: Tue May 04, 2021 3:41 pm ...
I realise that you can't currently program the STM32L432 with the Arduino IDE.
...
Hi, If I can be of any help:
What release of STM32 core are you using? I recently installed STM32 Core release 2.0.0 on Arduino 1.8.13 and I believe it supports the STM32L432.

Re: Programming STM32L432 using Arduino IDE

Posted: Wed May 05, 2021 9:09 am
by copplestone
Thanks @AndrewBCN that helped me solve it.

After some searching I found the link below which gave clear instructions for how to install the STM Core release 2.0.0. This indeed supports the STM32L432 which I'm using. https://github.com/stm32duino/wiki/wiki/Getting-Started