We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
Rating:
Author: dany
Last Updated: 2021-06-13
Package Version: 1.0.0.0
Example: 1.0.0.0
Category: Internal MCU modules
Downloaded: 162 times
Not followed.
License: MIT license
Describes how record members are stored internally in their records, and what problems to expect if that is not taken into account.
Do you want to subscribe in order to receive notifications regarding "Article: Record Member alignment for PIC24/dsPIC and PIC32" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "Article: Record Member alignment for PIC24/dsPIC and PIC32" changes.
Do you want to report abuse regarding "Article: Record Member alignment for PIC24/dsPIC and PIC32".
DOWNLOAD LINK | RELATED COMPILER | CONTAINS |
---|---|---|
1623609127_article__record__other_other.zip [758.10KB] | Other Compiler |
|
A while ago I ran into a problem related to variable alignment. I tried to read in the data of a record transmitted via Uart by a PIC18 into a PIC32. It went wrong because the internal structure of the record was different between the two PIC families.
Apparently also inside a variable alignment is taken into account.
In this article some observations and possible problems regarding this issue.
2021-06-13: Added another example: the Bootinfo used by the mE bootloaders to send information about the PIC to the PC USB HID bootloader tool.