patchAVR 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

Submitted by:  None
Submitted on:  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

Thu 21 Apr 2005 07:16:42 PM UTC, original submission:  

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.



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


Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.




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

Back to the top

Powered by Savane 3.7