-
Notifications
You must be signed in to change notification settings - Fork 7.2k
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
esp_pm_dump_locks() Wrong report data format with CONFIG_PM_PROFILING enabled (IDFGH-10457) #11704
Comments
@MacWyznawca Are you using idf.py monitor? Or can you try a different terminal or monitor tool? |
@esp-wzh As you can see I'm using a normal IDF (you can see in the window bar at the top). ![]() |
OK, I reproduced it, seems it caused by |
@esp-wzh It is possible that the problem does not occur when you use a small terminal window (80 characters). However, I can't work that way. |
Great! Thanks @esp-wzh |
0001-bugfix-increase-pm_dump-time-field-width.patch.txt |
Thanks @esp-wzh Works! ;-) |
By the way @esp-wzh, could you suggest where to look for help in lowering the power consumption of the ESP32-C3? I'm making a light bulb, but the power consumption is 0.66, and the EU requires less than 0.5 W. Note: we are only using ESP-NOW. Please ;-) |
about ESP-NOW low power issues, please create a new issue to discuss and ask @Espressif-liuuuu. |
Answers checklist.
IDF version.
v5.1-rc1-dirty
Operating System used.
macOS
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
Meaningless
Power Supply used.
External 5V
What is the expected behavior?
Well-formatted and readable text report from
esp_pm_dump_locks()
function withCONFIG_PM_PROFILING
enabled.What is the actual behavior?
Maybe no end-of-line characters in
esp_pm_dump_locks()
function in lpm_locks.c
.The effect in the attached image.
![Zrzut ekranu 2023-06-19 o 18 14 39](https://private-user-images.githubusercontent.com/25827488/246883745-a8fac678-e2a4-4b63-9d82-4ed98a95f201.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ1NzA5MjksIm5iZiI6MTcyNDU3MDYyOSwicGF0aCI6Ii8yNTgyNzQ4OC8yNDY4ODM3NDUtYThmYWM2NzgtZTJhNC00YjYzLTlkODItNGVkOThhOTVmMjAxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI1VDA3MjM0OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk1NzQ4NWFiNjQ4OTdhN2E0ZmZiZDMwOTZkNmIwNTI1NGMxNGJhOTY3YTM3MDgxNWEzNGQzNGQyM2RkNzE1N2QmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.rF8hpDZKrMFxw8t75bqKKRxnpL-O1m0nsUFQ9Dcf0lI)
Steps to reproduce.
Enable
CONFIG_PM_PROFILING
and useesp_pm_dump_locks()
Debug Logs.
No response
More Information.
No response
The text was updated successfully, but these errors were encountered: