You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am porting hardware driver to another MCU. NVM driver has function static uint32_t DrvNvmRead (uint32_t start, uint8_t * buffer, uint32_t size)
which copy data from NVM to buffer with selected size.
I would like to use safe memcpy function to implement it but I need size of buffer where data is copied.
What is size of buffer when DrvNvmRead?
If its called from many modules what is worst case (smallest buffer)?
I can assume that you check that interanally, that size bytes will fit to buffer but it will be better to get that information.
Thanks,
Arek
The text was updated successfully, but these errors were encountered:
Hello
I am porting hardware driver to another MCU. NVM driver has function
static uint32_t DrvNvmRead (uint32_t start, uint8_t * buffer, uint32_t size)
which copy data from NVM to buffer with selected size.
I would like to use safe memcpy function to implement it but I need size of buffer where data is copied.
What is size of buffer when DrvNvmRead?
If its called from many modules what is worst case (smallest buffer)?
I can assume that you check that interanally, that size bytes will fit to buffer but it will be better to get that information.
Thanks,
Arek
The text was updated successfully, but these errors were encountered: