Search found 11 matches

by aureoleday
Tue Jan 15, 2019 8:55 am
Forum: General Discussion
Topic: (solved) LWIP/sockets memory leak?
Replies: 6
Views: 465

Re: LWIP/sockets memory leak?

I too find the lwip memory leak in the tcp server example.
Connecting and disconnect the tcp server with a client will reduce the heap about 100 byte every circle.

BTW, I'm using the console cmd "free" to check the heap .
by aureoleday
Fri Jan 04, 2019 12:47 am
Forum: ESP-IDF 中文讨论版
Topic: 请问下大家调试经典蓝牙的工具是什么?
Replies: 1
Views: 245

请问下大家调试经典蓝牙的工具是什么?

nRF connect好像不能识别经典蓝牙模式,我用的是spp的demo。
请问下有没有好用调试工具推荐一下
by aureoleday
Fri Dec 28, 2018 12:49 am
Forum: General Discussion
Topic: Modbus master(RTU and TCP/IP) library for esp32
Replies: 2
Views: 611

Re: Modbus master(RTU and TCP/IP) library for esp32

Hello everyone, I have recently started development on esp32 using esp-idf. Apart from micropython ,are there any libraries/support which can be added to esp-idf components for Modbus master (RTU and TCP/IP) same here. Just found modbus RTU slave in IDF, is there any master implementation availible?
by aureoleday
Tue Dec 25, 2018 2:23 pm
Forum: ESP-IDF 中文讨论版
Topic: SPI master例程的疑问
Replies: 5
Views: 440

Re: SPI master例程的疑问

你好, ESP32有一个GPIO交换矩阵,一些外设可以通过该交换矩阵将信号分配到任意可用的io pad上,方便硬件设计。 可以参考如下资料: * https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/peripherals/spi_master.html#gpio-matrix-and-iomux * https://espressif.com/sites/default/files/documentation/esp32_technical_reference_manual_en.pdf 谢谢,这个功能挺有意...
by aureoleday
Tue Dec 25, 2018 2:19 pm
Forum: ESP-IDF 中文讨论版
Topic: SPI master例程的疑问
Replies: 5
Views: 440

Re: SPI master例程的疑问

The datasheet gives correct mapping of pins to the IOMUX. SPI can be connected to the pins via IO MUX or GPIO matrix. Since the example uses pins which are not IOMUX pins, the driver will use GPIO matrix to connect the peripheral to the pins. thanks for answering. And I've found detailed descriptio...
by aureoleday
Tue Dec 25, 2018 2:05 pm
Forum: ESP-IDF 中文讨论版
Topic: esp32的freertos支持cli么
Replies: 2
Views: 282

Re: esp32的freertos支持cli么

当然支持命令行终端,还支持命令补全,记录历史命令。 IDF中有console组件,推荐你阅读以下文档: https://docs.espressif.com/projects/esp-idf/zh_CN/latest/api-guides/console.html 此外,IDF还提供了较多基于console组件的非常有用的example(比如i2c-tool, iperf),可以借鉴学习其具体的使用方法。 https://github.com/espressif/esp-idf/tree/master/examples/system/console https://github.com/es...
by aureoleday
Tue Dec 25, 2018 9:07 am
Forum: ESP-IDF 中文讨论版
Topic: SPI master例程的疑问
Replies: 5
Views: 440

SPI master例程的疑问

在"spi_master_example_main.c"中对SPI引脚的定义是这样的
#define PIN_NUM_MISO 25
#define PIN_NUM_MOSI 23
#define PIN_NUM_CLK 19
#define PIN_NUM_CS 22

但是这个与"esp32_datasheet_en.pdf"中的定义对不上号
在49页的IO_MUX中,GPIO_19和GPIO_22的定义分别是VSPIQ和VSPIWP
而GPIO25更是没有SPI的接口定义
请问这个引脚的分配到底根据哪个文档?
by aureoleday
Tue Dec 25, 2018 5:35 am
Forum: ESP-IDF 中文讨论版
Topic: esp32的freertos支持cli么
Replies: 2
Views: 282

esp32的freertos支持cli么

我看到freertos+cli的介绍,但是在esp32提供的BSP里没有
还是说有其他的CLI工具可用?
by aureoleday
Fri Dec 21, 2018 8:02 am
Forum: ESP-IDF 中文讨论版
Topic: esp32有支持国产RTOS rt-thread的计划么?
Replies: 4
Views: 530

Re: esp32有支持国产RTOS rt-thread的计划么?

@In逍遥子 wrote:
Wed Dec 19, 2018 7:01 am
乐鑫官方没有发布 RT-Thread 的开发包,GitHub 上有个人仓库可以参考 Link(https://github.com/BernardXiong/rtthread-esp-idf) 学习。
这个我试了,编译不通过,没法用啊

Go to advanced search