> Carl, > > this is caused by aligning all HAL tables in the brandnew version. > All table entries are aligned to multiples of 8 > (see hal_tables.h, f.i. CYG_HAL_TABLE_TYPE). > > Unfortunately cyg_devtab_entry_t is of size 0x1c! The simple > "t++" doesn't respect the alignment and doesn't point > correctly to the 2nd entry after incrementing. > > I have added a structure member "unsigned long dummy" > at the end of cyg_deventry_t in devtab.h (aligning the structure > to have size 0x20, so "t++" is correct). > > Jörg This works, but there is still a problem: It only compiles correctly from a clean compile once you start working on files and recompiling, the offset is messed up again. Carl