Hallo Suat,
ich bin nicht so vertraut mit Git und pull request, daher hier mein Vorschlag in der rc-switch library in Zeile #48
ICACHE_RAM_ATTR durch IRAM_ATTR zu ersetzen. Wieso? Ich bekomme beim flaschen eines ESP8266 nach erfolgreicher Compilation mit VS code folgende Fehlermeldung:
[{
"resource": "/c:/Dropbox/VScode/433MHz_sniffer-pull-req/.pio/libdeps/d1/rc-switch/RCSwitch.cpp",
"owner": "cpp",
"severity": 4,
"message": "'static bool RCSwitch::receiveProtocol(int, unsigned int)' is deprecated: Use IRAM_ATTR in place of ICACHE_RAM_ATTR to move functions into IRAM [-Wdeprecated-declarations]",
"startLineNumber": 692,
"startColumn": 45,
"endLineNumber": 692,
"endColumn": 45
}]
'static bool RCSwitch::receiveProtocol(int, unsigned int)' is deprecated: Use IRAM_ATTR in place of ICACHE_RAM_ATTR to move functions into IRAM [-Wdeprecated-declarations]
Jochen
Hallo Suat, ich bin nicht so vertraut mit Git und pull request, daher hier mein Vorschlag in der rc-switch library in Zeile #48 ICACHE_RAM_ATTR durch IRAM_ATTR zu ersetzen. Wieso? Ich bekomme beim flaschen eines ESP8266 nach erfolgreicher Compilation mit VS code folgende Fehlermeldung: [{ "resource": "/c:/Dropbox/VScode/433MHz_sniffer-pull-req/.pio/libdeps/d1/rc-switch/RCSwitch.cpp", "owner": "cpp", "severity": 4, "message": "'static bool RCSwitch::receiveProtocol(int, unsigned int)' is deprecated: Use IRAM_ATTR in place of ICACHE_RAM_ATTR to move functions into IRAM [-Wdeprecated-declarations]", "startLineNumber": 692, "startColumn": 45, "endLineNumber": 692, "endColumn": 45 }]
'static bool RCSwitch::receiveProtocol(int, unsigned int)' is deprecated: Use IRAM_ATTR in place of ICACHE_RAM_ATTR to move functions into IRAM [-Wdeprecated-declarations] Jochen