Skip to content

-ffixed is no longer needed? #160

@WestfW

Description

@WestfW

platform.txt contains:

# fixed registers: r4 = isr_tmp, r3:r2 = WDT counter for millis
#compiler.optimize_flags=-Os -flto -fno-move-loop-invariants -fno-reorder-blocks -ffixed-r2 -ffixed-r3 -ffixed-r4
compiler.optimize_flags=-Os -flto -fno-reorder-blocks -ffixed-r2 -ffixed-r3 -ffixed-r4

However, it looks like the nerdRalph millis code no longer keeps stuff in registers; I can't find any actual used of r2-r4 anywhere in the current source code.

(it is unlikely that this will change anything in any program small enough to fit in a tiny13, but...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions