Skip to content
Snippets Groups Projects
Commit af8626e0 authored by Olav Morken's avatar Olav Morken Committed by Ben Warren
Browse files

Fix IP alignment problem


This patch removes volatile from:
volatile IP_t *ip = (IP_t *)xip;

Due to a bug, avr32-gcc will assume that ip is aligned on a word boundary when
using volatile, which causes an exception since xip isn't aligned on a word
boundary.

Signed-off-by: default avatarGunnar Rangoy <gunnar@rangoy.com>
Signed-off-by: default avatarPaul Driveklepp <pauldriveklepp@gmail.com>
Signed-off-by: default avatarOlav Morken <olavmrk@gmail.com>
Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
parent 12a8b9db
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment