Skip to content

[AVR] Changing a struct size changes program behaviour #107293

Closed
@gergoerdi

Description

@gergoerdi

I don't have a minimal demonstrator for this: it's been difficult to even cut it down to this size. The program at this repo shows that its SPI output changes when a single new u8 (otherwise unused) is added to a struct.

Note that the version without the extra u8 is the one that produces the output I expect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    O-AVRTarget: AVR processors (ATtiny, ATmega, etc.)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions