memcpy() function not working
Hi,
I'm using the STM Cube IDE version 1.15.1 along with NucleoG474RE board. My C application requires the use of memcpy(). The memcpy() function should copy the values from an unsigned char source buffer to the unsigned char destination buffer. This however does not happen. Setting a break point after the memcpy() operation shows that the values in the destination buffer are identical to before the call. I'm not sure I understand why this happens. The issue seems identical to the one below:
Problem with memcpy function in new IDE version - STMicroelectronics Community
I did try enabling the compiler flags as mentioned in the post. A few warnings turned up but nothing related to the line of code corresponding to the memcpy() call.
Thank you for your help.
