Skip to content

atmelsam Due (sam3x8e_due): linked firmware.elf omits the sketch (no setup/loop) #1939

Closed

Description

@zackees

FastLED's bash compile sam3x8e_due --examples Apa102 reports success, but firmware.elf is 22.45 KB (firmware.bin 5.08 KB) and its symbol table has no setup, loop or sketch functions, including a function marked __attribute__((used)).

The sketch does compile: src/main_*.cpp.o contains setup and the used function, and core/main_*.cpp.o has setup as undefined. So the sketch object seems not to reach the final image, and a board build success does not prove the app was linked. Cause not determined; firmware.map from the build should show it.

Seen on Linux while validating FastLED/FastLED#5046. Not flashed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions