Skip to content

Add linker flag ICACHE_RAM_ATTR in ISR to support ESP8266 controllers #26

Description

@roku133

ISR in ESP8266 based controllers have to be located in RAM area to avoid crashes during execution.
Therefore, I propose to conditionally add the flag ICACHE_RAM_ATTR in the source code.

My addition in RFControl.cpp
287c287
< void ICACHE_RAM_ATTR handleInterrupt() {

void handleInterrupt() {
fixed the issue.

Activity

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

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions