Skip to content

timers register address calculation bug #45

@vposelt

Description

@vposelt

There is timers register calculation word TIMGn
$3ff5f000 constant TIMG_BASE
( group n = 0/1, timer x = 0/1, watchdog m = 0-5 )
: TIMGn ( n -- a ) $10000 * TIMG_BASE + ;
For group 1 it gives uncorect address $3ff6f000, corect according ESP32 documentation is $3ff60000. So correct definition should be
: TIMGn ( n -- a ) $1000 * TIMG_BASE + ;

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