AVR In-System Programmer - Patches: patch #3928, Fix alignment on for Uisp on ARM
You are not allowed to post comments on this tracker with your current authentication level.
patch #3928: Fix alignment on for Uisp on ARM
Submitter: | None | ||
Submitted: | Thu 21 Apr 2005 07:16:42 PM UTC | ||
Category: | None | Priority: | 5 - Normal |
Status: | None | Privacy: | Public |
Assigned to: | None | Originator Email: | -email is unavailable- |
Open/Closed: | Open |
Attached Files
file #8704: uisp-arm-patch.diff added by None (534B - application/octet-stream - Adds the packed attribute to struct SPrgParams)
Depends on the following items: None found
Items that depend on this one: None found
CC list is empty
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2005-04-21 | None | Carbon-Copy | - | Added raph --AT-- 8d --DOT-- com | |
2005-04-21 | None | Attached File | - | Added uisp-arm-patch.diff, #4483 |
Powered by Savane 3.13-caa5.
Corresponding source code
The way gcc aligns structure members on ARM makes struct SPrgParams
be 24 bytes instead of 22. This prevents communication with the programmer to work properly because 2 supplemental bytes are sent to the programmer (stk500).
This patch adds the packed attribute to the structure to force the compiler to pack it to 22 bytes.