Search found 27 matches

by lwshowl
Fri Mar 10, 2023 11:37 pm
Forum: 硬件问题讨论
Topic: 请问怎么调试ESP32-C3 ?
Replies: 1
Views: 1180

请问怎么调试ESP32-C3 ?

看SPEC 上写的有 片上调试,请问要怎么片上调试
或者还有其他的调试方法吗
by lwshowl
Thu Jun 02, 2022 10:55 am
Forum: ESP-IDF 中文讨论版
Topic: idf4.4 外部32.768k 晶振问题
Replies: 1
Views: 1477

idf4.4 外部32.768k 晶振问题

为了降低蓝牙功耗,使用了外接的32.768k hz 晶振,
切换到idf4.4 后发现检测不到 外部32k 晶振了,更换了许多晶振和电容后还是没用
在网上看到 好像也有人idf4.4 不工作,请问有什么可以检测的方案吗 (-_- 手上没有示波器)
by lwshowl
Sat May 28, 2022 11:48 am
Forum: ESP-IDF 中文讨论版
Topic: idf4.4 在cmakelists.txt 中设置了 main.cpp 依然找不到 app_main ?
Replies: 2
Views: 1632

Re: idf4.4 在cmakelists.txt 中设置了 main.cpp 依然找不到 app_main ?

把源文件的父文件夹 改名为main 后 又可以编译了
by lwshowl
Sat May 28, 2022 11:22 am
Forum: ESP-IDF
Topic: migrate from 4.2 to 4.4 ,then app_main is undefined reference
Replies: 1
Views: 1774

Re: migrate from 4.2 to 4.4 ,then app_main is undefined reference

after changing the folder name that holds the sources to main , it works again
by lwshowl
Sat May 28, 2022 11:11 am
Forum: ESP-IDF
Topic: migrate from 4.2 to 4.4 ,then app_main is undefined reference
Replies: 1
Views: 1774

migrate from 4.2 to 4.4 ,then app_main is undefined reference

used to compile using idf 4.2 , after migrating to idf 4.4 , it gets link errors as follows /../riscv32-esp-elf/bin/ld.exe: esp-idf/freertos/libfreertos.a(port_common.c.obj): in function `main_task': H:/Espressif/frameworks/esp-idf-v4.4/components/freertos/port/port_common.c:117: undefined reference...
by lwshowl
Sat May 28, 2022 10:02 am
Forum: ESP-IDF 中文讨论版
Topic: idf4.4 在cmakelists.txt 中设置了 main.cpp 依然找不到 app_main ?
Replies: 2
Views: 1632

idf4.4 在cmakelists.txt 中设置了 main.cpp 依然找不到 app_main ?

以前在4.2 中可以成功编译,现在换到idf 4.4 后 找不到app_main ? /../riscv32-esp-elf/bin/ld.exe: esp-idf/freertos/libfreertos.a(port_common.c.obj): in function `main_task': H:/Espressif/frameworks/esp-idf-v4.4/components/freertos/port/port_common.c:117: undefined reference to `app_main' 以下是 cmakelists set(SOURCES ./Src/m...
by lwshowl
Sun May 08, 2022 11:15 am
Forum: ESP-IDF 中文讨论版
Topic: ESP32 arduino 串口同时收发的问题
Replies: 1
Views: 1420

Re: ESP32 arduino 串口同时收发的问题

请问 arduino 里面的serial 有tx 和 rx buffer吗,读写的字节好像都是同步写入fifo.rw_bytes里面了
by lwshowl
Sun May 08, 2022 9:28 am
Forum: ESP-IDF 中文讨论版
Topic: ESP32 arduino 串口同时收发的问题
Replies: 1
Views: 1420

ESP32 arduino 串口同时收发的问题

我用ESP NOW 开发一个无线串口穿透程序,将收到的ESP_NOW报文发送到串口,同时将串口收到的消息通过ESP NOW 发出。希望能实现串口的串流 使用ARDUINO IDE 进行的开发。 但是串口串流中间总是会中断,在 ESP NOW onRecive 里面将数据写到 TX fifo 中,在loop 中将rx 的数据通过ESP NOW 转发出去 串口转发的速率为600bit/s ,串口接收的速率也为600bit/s,理论上串口波特率已经远低于 ESP NOW onRecive 中填充 TX fifo 的速率了,应该不会停止 我发现串口的 TX RX fifo 是通过同一个 MUTEX 管...
by lwshowl
Sun May 08, 2022 9:17 am
Forum: 硬件问题讨论
Topic: [已解决]ESP32 串口可以直接给其他芯片上电?
Replies: 2
Views: 2205

Re: ESP32 串口可以直接给其他芯片上电?

将TX 上拉后解决问题了
by lwshowl
Sat May 07, 2022 1:48 pm
Forum: 硬件问题讨论
Topic: [已解决]ESP32 串口可以直接给其他芯片上电?
Replies: 2
Views: 2205

Re: ESP32 串口可以直接给其他芯片上电?

将TX 插上目标芯片RX,如果共地,就会上电