在CONSOLE中输入tasks,help等指令后,调用free查看剩余内存发现递减。
而free指令本身不会造成内存泄漏
Search found 22 matches
- Mon Mar 11, 2019 3:41 am
- Forum: ESP-IDF 中文讨论版
- Topic: IDF中的CONSOLE组件内存泄漏
- Replies: 2
- Views: 5563
- Tue Jan 15, 2019 8:55 am
- Forum: General Discussion
- Topic: (solved) LWIP/sockets memory leak?
- Replies: 6
- Views: 10416
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 .
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 .
- Fri Jan 04, 2019 12:47 am
- Forum: ESP-IDF 中文讨论版
- Topic: 请问下大家调试经典蓝牙的工具是什么?
- Replies: 1
- Views: 4657
请问下大家调试经典蓝牙的工具是什么?
nRF connect好像不能识别经典蓝牙模式,我用的是spp的demo。
请问下有没有好用调试工具推荐一下
请问下有没有好用调试工具推荐一下
- Fri Dec 28, 2018 12:49 am
- Forum: General Discussion
- Topic: Modbus master(RTU and TCP/IP) library for esp32
- Replies: 2
- Views: 10721
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?
- Thu Dec 27, 2018 5:34 am
- Forum: General Discussion
- Topic: What would you like to see in The Next Chip?
- Replies: 426
- Views: 784476
- Tue Dec 25, 2018 2:23 pm
- Forum: ESP-IDF 中文讨论版
- Topic: SPI master例程的疑问
- Replies: 5
- Views: 10079
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 谢谢,这个功能挺有意...
- Tue Dec 25, 2018 2:19 pm
- Forum: ESP-IDF 中文讨论版
- Topic: SPI master例程的疑问
- Replies: 5
- Views: 10079
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...
- Tue Dec 25, 2018 2:05 pm
- Forum: ESP-IDF 中文讨论版
- Topic: esp32的freertos支持cli么
- Replies: 2
- Views: 6190
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...
- Tue Dec 25, 2018 9:07 am
- Forum: ESP-IDF 中文讨论版
- Topic: SPI master例程的疑问
- Replies: 5
- Views: 10079
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的接口定义
请问这个引脚的分配到底根据哪个文档?
#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的接口定义
请问这个引脚的分配到底根据哪个文档?
- Tue Dec 25, 2018 5:35 am
- Forum: ESP-IDF 中文讨论版
- Topic: esp32的freertos支持cli么
- Replies: 2
- Views: 6190
esp32的freertos支持cli么
我看到freertos+cli的介绍,但是在esp32提供的BSP里没有
还是说有其他的CLI工具可用?
还是说有其他的CLI工具可用?