Search found 5 matches

by joy586210
Wed Nov 22, 2023 1:03 pm
Forum: ESP-IDF
Topic: new esp-idf-project with the use of components; #include driver/gpio.h: No such file or directory
Replies: 4
Views: 9481

Re: new esp-idf-project with the use of components; #include driver/gpio.h: No such file or directory

thanks!
You need to add a 'REQUIRES driver' to the idf_component_register of your component.
by joy586210
Wed Nov 08, 2023 3:53 pm
Forum: General Discussion
Topic: Watchdog triggered Task
Replies: 4
Views: 7539

Re: Watchdog triggered Task

suggest set bigger lv memory size to have a try:

(Top) → Component config → LVGL configuration → Memory settings
Espressif IoT Development Framework Configuration
[ ] If true use custom malloc/free, otherwise use the built-in `lv_mem_alloc()` and `lv_mem_free()`
(64) Size of the memory used by ...
by joy586210
Thu Sep 28, 2023 1:51 pm
Forum: ESP-IDF 中文讨论版
Topic: idf.py 打印汉字总是带上菱形问号
Replies: 3
Views: 5640

Re: idf.py 打印汉字总是带上菱形问号

chcp 65001 的结果也是一样的,和默认的 936一样的,有点奇怪了:

I (288) sleep: Configure to isolate all GPIO pins in sleep state
I (295) sleep: Enable automatic switching of GPIO sleep configuration
I (302) app_start: Starting scheduler on CPU0
I (307) app_start: Starting scheduler on CPU1
I (307) main_task: Started on ...
by joy586210
Tue Sep 26, 2023 2:46 pm
Forum: ESP-IDF
Topic: esp_log_level_set("wl_flash", ESP_LOG_VERBOSE); does not work
Replies: 3
Views: 5903

Re: esp_log_level_set("wl_flash", ESP_LOG_VERBOSE); does not work

as explained here:
https://docs.espressif.com/projects/esp ... og_level_t
Note that this function can not raise log level above the level set using CONFIG_LOG_MAXIMUM_LEVEL setting in menuconfig.
by joy586210
Tue Sep 26, 2023 5:35 am
Forum: ESP-IDF 中文讨论版
Topic: idf.py 打印汉字总是带上菱形问号
Replies: 3
Views: 5640

idf.py 打印汉字总是带上菱形问号

idf.py 打印日志中汉字的总是带上菱形问号,如下所示:

I (615) wifi:security: WPA2-PSK, phy: bgn, rssi: -42
I (615) wifi:pm start, type: 1

I (615) wifi:set rx beacon pti, rx_bcn_pti: 0, bcn_timeout: 25000, mt_pti: 0, mt_time: 10000
I (625) wifi:AP's beacon interval = 102400 us, DTIM period = 2
I (1035) wifi:<ba-add>idx:0 ...

Go to advanced search