Closed mcpicoli closed 5 years ago
PR welcomed :)
Currently have the same issue after updating the esp board library.
My stacktrace (just if needed):
0x4010044a: __attachInterrupt(uint8_t, voidFuncPtr, int) at /home/rplc/.arduino15/packages/esp8266/hardware/esp8266/2.5.2/cores/esp8266/core_esp8266_wiring_digital.cpp line 206 0x40201401: HomeGW::setup(unsigned char) at /home/rplc/Arduino/libraries/homeGW-master/homeGW.cpp line 78 0x402010a8: setup() at /home/rplc/Desktop/projects/binaryclock/adruino/DigooReceiver/DigooReceiver.ino line 18 0x402023d4: loop_wrapper() at /home/rplc/.arduino15/packages/esp8266/hardware/esp8266/2.5.2/cores/esp8266/core_esp8266_main.cpp line 122
FYI: With the merge of #15 this issue is solved and can be closed.
thanks for the heads up! :)
Thanks for the quick merge
Hi,
I successfully compiled and used the code (with the Digoo plugin) and an Arduino Nano board.
Then I tried to move the code to a ESP8266 board ("amica", from a generic supplier), and after adjusting receive/transmit pins in the code, it compiles, but the board is eternally stuck in a reboot loop. The serial monitor shows, repeatedly:
I believe the key here is the "ISR not in IRAM" part. In other projects, when I ran into this kind of problem, it was solved by adding the "ICACHE_RAM_ATTR" flag to the ISR routine, but this routine is part of one of the libraries involved and not in the "user" code.
Therefore, if possible, I would like to ask the devs to add this flag to the optimal routine, given that RAM is scarce in the ESP8266.
Arduino IDE is version 1.8.9 (Windows 10) and the library version is the latest as of 2018-09-15.
Thanks,