Hello together,
I am currently trying to start a project using platformio using the STM32L4A6RGT7 controller and I was not yet able to find any boards which would be compatible with this mcu. I then tried to look into the existing .svd files within the ststm32 platform and i was not able to find the correct svd file for my MCU, which is if i am not mistaken STM32L4A6.svd
Is this mcu not supported currently, or can I create a custom board and I am mistaken, that i cannot use any of the existing svd files?
I tried to build the project using an ioc file created with stmcubemx and the stm32pio plugin. The closest board i was able to find to my own mcu was the nucleo_l476rg, which uses a stm32l476rgt6. This leads to compiler errors:
Src/usb_otg.c: In function ‘HAL_PCD_MspInit’:
Src/usb_otg.c:79:38: error: ‘RCC_PLLP_DIV2’ undeclared (first use in this function); did you mean ‘RCC_PLLP_DIV7’?
PeriphClkInit.PLLSAI1.PLLSAI1P = RCC_PLLP_DIV2;
^~~~~~~~~~~~~
RCC_PLLP_DIV7
Src/usb_otg.c:79:38: note: each undeclared identifier is reported only once for each function it appears in
Src/main.c: In function ‘SystemClock_Config’:
Src/main.c:146:32: error: ‘RCC_PLLP_DIV2’ undeclared (first use in this function); did you mean ‘RCC_PLLP_DIV7’?
RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV2;
^~~~~~~~~~~~~
RCC_PLLP_DIV7
Src/main.c:146:32: note: each undeclared identifier is reported only once for each function it appears in
*** [.pio/build/stm32l4A6rgt7/src/main.o] Error 1
*** [.pio/build/stm32l4A6rgt7/src/usb_otg.o] Error 1
I thought i could resolve it myself by creating a custom board, but I am wondering if it is possible without first finding it elsewhere.
Thank you in advance for any help
Greetings