These are chat archives for SmingHub/Sming

17th
Dec 2018
cometurrata
@cometurrata
Dec 17 2018 08:52
@riban-bw Just tried without IRAM_ATTR --> still failing
cometurrata
@cometurrata
Dec 17 2018 10:38
Removing NMI usage makes hardwareTimer work again
-      ETS_FRC_TIMER1_NMI_INTR_ATTACH(hw_timer_isr_cb);
+      ETS_FRC_TIMER1_INTR_ATTACH((ets_isr_t)hw_timer_isr_cb, nullptr);
cometurrata
@cometurrata
Dec 17 2018 10:49
@mikee47 I read you used that without issues, do you have any Idea where it could goes wrong ? (I'm using hardwareTimer for 433-RF too)
Mike
@mikee47
Dec 17 2018 11:49
@cometurrata It could be SDK-related; are you still using 2.0? If so, definitely update to 3.0 - there are a lot of improvements.
cometurrata
@cometurrata
Dec 17 2018 11:49
Yep still using 2.0.0
I'll try that
cometurrata
@cometurrata
Dec 17 2018 13:53
Ok, works well in 3.0.0
Thank you very much :)
Mike
@mikee47
Dec 17 2018 15:09
Excellent!