SensorsIot / Definitive-Guide-to-IR

67 stars 41 forks source link

IRremote conflict with bluetooth on esp32 (Wemos lolin32 board) #8

Open nhphuong91 opened 4 years ago

nhphuong91 commented 4 years ago

When using this IRremote lib with Bluetooth lib on esp32, I got the error:

Guru Meditation Error: Core  1 panic'ed (Cache disabled but cached memory region accessed)
Core 1 register dump:
PC      : 0x4008105b  PS      : 0x00060034  A0      : 0x80081538  A1      : 0x3ffbe940  
A2      : 0xbad00bad  A3      : 0x20000000  A4      : 0x00000400  A5      : 0x3ffc8600  
A6      : 0x00000001  A7      : 0x3ffbd8f8  A8      : 0x3ffc51dc  A9      : 0x3f400020  
A10     : 0x00000001  A11     : 0x3ffc8750  A12     : 0x800e2000  A13     : 0x3ffc8700  
A14     : 0x00000020  A15     : 0x3ffc888c  SAR     : 0x0000000d  EXCCAUSE: 0x00000007  
EXCVADDR: 0x00000000  LBEG    : 0x4000164d  LEND    : 0x40001667  LCOUNT  : 0xfffffffd  
Core 1 was running in ISR context:
EPC1    : 0x40062230  EPC2    : 0x00000000  EPC3    : 0x00000000  EPC4    : 0x4008105b

Backtrace: 0x4008105b:0x3ffbe940 0x40081535:0x3ffbe960 0x400849bd:0x3ffbe980 0x4006222d:0x3ffc8640 0x40093f43:0x3ffc8660 0x40093f7a:0x3ffc8690 0x4009403a:0x3ffc86c0 0x4009490d:0x3ffc86e0 0x400875e4:0x3ffc8700 0x400e1ffd:0x3ffc8770 0x400e08c9:0x3ffc8790 0x400e0d17:0x3ffc87b0 0x400df775:0x3ffc8820 0x400e0190:0x3ffc8870 0x400dee09:0x3ffc88d0 0x400df29d:0x3ffc8910 0x400d7d91:0x3ffc8930 0x400d8168:0x3ffc89a0 0x400d84fe:0x3ffc89d0 0x400f3ff2:0x3ffc8a00 0x400d343e:0x3ffc8a20 0x400d22ea:0x3ffc8a60 0x400d196b:0x3ffc8aa0 0x400d424b:0x3ffc8ae0 0x4008e2c1:0x3ffc8b00

Just remove one of them out and the code works fine. Does anyone having this same issue and how did you you solve it?