Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Esp8266 GestureTest #29

Open
Oopas opened this issue Nov 13, 2020 · 4 comments
Open

Esp8266 GestureTest #29

Oopas opened this issue Nov 13, 2020 · 4 comments

Comments

@Oopas
Copy link

Oopas commented Nov 13, 2020

I tried to use the library on esp8266, but it was constantly rebooting....

@Oopas
Copy link
Author

Oopas commented Nov 13, 2020

Here's some information


SparkFun APDS-9960 - GestureTest

ISR not in IRAM!

User exception (panic/abort/assert)
--------------- CUT HERE FOR EXCEPTION DECODER ---------------

Abort called

stack>>>

ctx: cont
sp: 3ffffef0 end: 3fffffc0 offset: 0000
3ffffef0: 2d2d2d2d 2d2d2d2d 2d2d2d2d 2d2d2d2d
3fffff00: 000000fe 00000000 00000000 00000000
3fffff10: 00000000 00000000 00000000 00ff0000
3fffff20: 5ffffe00 5ffffe00 000a0d00 00000000
3fffff30: 00000002 00000000 3ffee4f4 40202cb2
3fffff40: 4010072e 402043d5 ffffffff 40202cc4
3fffff50: 40201f9c 3ffee4f4 3ffee4f4 4020391d
3fffff60: 00000000 3ffee4f4 3ffe8631 402021a1
3fffff70: 3fffdad0 00000020 3ffee4f4 3ffee55c
3fffff80: 3fffdad0 00000000 3ffee4f4 402039cc
3fffff90: 3fffdad0 00000000 3ffee4f4 4020109c
3fffffa0: feefeffe 00000000 3ffee51c 402028c0
3fffffb0: feefeffe feefeffe 3ffe84e8 40101029
<<<stack<<<

@Pezhvak
Copy link

Pezhvak commented Nov 14, 2020

+1

@jschoch
Copy link

jschoch commented Mar 16, 2021

you may need to add ICACHE_RAM_ATTR to the isr function...

void ICACHE_RAM_ATTR interruptRoutine() {
  isr_flag = 1;
}

@Bob0707
Copy link

Bob0707 commented Sep 9, 2023

73 | attachInterrupt(0, interruptRoutine, FALLING);
95 | attachInterrupt(0, interruptRoutine, FALLING);
Compilation error: 'interruptRoutine' was not declared in this scope

That is what i get after add ICACHE_RAM_ATTR to the ISR function, can anyone help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants