Skip to content

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

@roku133

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions