PlatformIO support stm32l476rg cause of the borad- nucleo-64, but if i want to use stm32l475re where should I change in VSCode?
I use the JLink to download the program, two chips ram size was different.
And if I use stm32476vg, more periph how many files should I change?
ST 32L476GDISCOVERY — PlatformIO latest documentation
Not supported currently. The closest match is
ST B-L475E-IOT01A Discovery kit — PlatformIO latest documentation with STM32L475VGT6. Create an issue at GitHub - platformio/platform-ststm32: ST STM32: development platform for PlatformIO or add support yourself by adding a new JSON board definition (e.g.
this as a starting template. Then depending on what framework you want to run on, you e.g. need to add a new Arduino variant ( Add a new variant (board) · stm32duino/wiki Wiki · GitHub) as well.
As you mentioned, if I create the preject based on the board nucleo-64-stm32l476rgt6, now I change it to the stm32l475-disco, If I only modify the platform.ini ,
platform = ststm32
board = disco_l476vg
will it work?
If you change the
disco_l475vg_iot01a it will compile for a STM32L475VG, yes.