Hello,
are there any plans to integrate the NUCLEO-L4P5ZG board to STM32duino?
Or are there other possibilities (for a newbie) to get this board running with the Arduino-IDE?
Cheers,
Bob
NUCLEO-L4P5ZG support ?
Re: NUCLEO-L4P5ZG support ?
Hi @STM32_Newbbe
no plan on my side. You can add it yourself following this wiki:https://github.com/stm32duino/wiki/wiki ... 28board%29
Note that I'm currently rewriting it to be inline with last core release 2.0.0 so wait the update before starting.![Wink ;)](./images/smilies/icon_e_wink.gif)
no plan on my side. You can add it yourself following this wiki:https://github.com/stm32duino/wiki/wiki ... 28board%29
Note that I'm currently rewriting it to be inline with last core release 2.0.0 so wait the update before starting.
![Wink ;)](./images/smilies/icon_e_wink.gif)
-
- Posts: 51
- Joined: Thu Nov 05, 2020 10:26 am
Re: NUCLEO-L4P5ZG support ?
Hi @fpiSTM
thanks for the link to the wiki. I'll keep an eye on it for the update
Cheers,
Bob
thanks for the link to the wiki. I'll keep an eye on it for the update
Cheers,
Bob
-
- Posts: 51
- Joined: Thu Nov 05, 2020 10:26 am
Re: NUCLEO-L4P5ZG support ?
Hello again,
many moons have passed and I finally gave it a try to create a L4P5 variant - and directly ran into a problem
When trying to compile my project (which was possible without error/warning for different STM32) I got the following error message multiple times:
Having a look at backup.h, it seems like there might be the need to add some elif-magic for L4P5 ?
But i have no idea o how to do this correctly not to brake current variants support...
I pretty sure I cannot use
Any ideas?
many moons have passed and I finally gave it a try to create a L4P5 variant - and directly ran into a problem
![Sad :(](./images/smilies/icon_e_sad.gif)
When trying to compile my project (which was possible without error/warning for different STM32) I got the following error message multiple times:
Code: Select all
C:\Users\xXxXxXxXxXx\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/backup.h: In function 'void setBackupRegister(uint32_t, uint32_t)':
C:\Users\xXxXxXxXxXx\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\cores\arduino/stm32/backup.h:120:3: error: 'LL_RTC_BAK_SetRegister' was not declared in this scope; did you mean 'LL_RTC_BKP_SetRegister'?
120 | LL_RTC_BAK_SetRegister(RTC, index, value);
| ^~~~~~~~~~~~~~~~~~~~~~
| LL_RTC_BKP_SetRegister
Code: Select all
static inline void setBackupRegister(uint32_t index, uint32_t value)
{
#if defined(STM32F1xx)
LL_RTC_BKP_SetRegister(BKP, index, value);
#elif defined(STM32G0xx)
LL_RTC_BKP_SetRegister(TAMP, index, value);
#elif defined(STM32G4xx) || defined(STM32L5xx)
LL_RTC_BKP_SetRegister(RTC, index, value);
#else
#ifdef ENABLE_BACKUP_SUPPORT
LL_RTC_BAK_SetRegister(RTC, index, value);
#else
UNUSED(index);
UNUSED(value);
#endif
#endif
}
I pretty sure I cannot use
Code: Select all
|| defined(STM32L4xx)
Re: NUCLEO-L4P5ZG support ?
This part have been reviewed to use register instead of serie name when possible:
https://github.com/stm32duino/Arduino_C ... /pull/1435
https://github.com/stm32duino/Arduino_C ... /pull/1435
-
- Posts: 51
- Joined: Thu Nov 05, 2020 10:26 am
Re: NUCLEO-L4P5ZG support ?
ok, so I am new to all this community programming github things...
- what would now be the correct procedure to get this running on my local installation?
- what do I have to do if I want to share the L4P5 variant with the rest of the world?
- what tests shall I run to confirm everything is fine? I have the Nucleo-L4P5ZG...