Page 1 of 1

Serial monitor freezing

Posted: Sun Mar 14, 2021 2:40 pm
by lukehoersten
My serial output or monitor stop working at this point every time I start. The rest of the app continues running fine as a HomeKit project so I can confirm HAP core is still working. I suspect I made a code change that's just doing something to break the serial output but I'm not sure what. I've been unable to determine the issue with bisect.

Here is the last line out of the serial monitor:

Code: Select all

I (60) HAP Intercom: Intercom GPIO Pins [BELL: 33, A
It stops mid-line which makes me believe the buffer has an issue or stops flushing.
This log line was added to help me debug the issue. If I remove the line it just stops at some other random output.

Here is the code and the relevant log line the serial monitor stops on:
https://github.com/lukehoersten/esp-hom ... main.c#L33

Any ideas what I could be doing to mess up the serial monitor?

Re: Serial monitor freezing

Posted: Sun Mar 14, 2021 8:54 pm
by lukehoersten
Problem solved. pin big mask was 32 bit but the field was 64 bit:
https://github.com/espressif/esp-homeki ... b2d4e65084