Navadeep
Navadeep
DIIDevHeads IoT Integration Server
Created by Navadeep on 5/28/2024 in #firmware-and-baremetal
Any one of you have faced a challenge with the memory alignment while reading byte words ?
what type of issue do you mean? Unalignment? Having the data in memory address equal to some multiple of the word size will help it to be aligned. Take a look at https://www.geeksforgeeks.org/structure-member-alignment-padding-and-data-packing/'
5 replies
DIIDevHeads IoT Integration Server
Created by Navadeep on 5/28/2024 in #firmware-and-baremetal
Any one of you have faced a challenge with the memory alignment while reading byte words ?
yes, often when dealing with endianness especially when swapping bytes and ensuring the correct value has been read.
5 replies