Search found 2 matches

by warmcat
Fri May 19, 2017 4:50 am
Forum: ESP-IDF
Topic: I2C sequencer and fifo
Replies: 0
Views: 2502

I2C sequencer and fifo

The I2C driver is working with my peripheral. But I need to query it in the background at high speed without involving the CPU, eg read 4 bytes, 100 times a second. The I2C driver seems to use a soft descriptor scheme which is too heavy to implement what is needed. The hardware I2C sequencer looks l...
by warmcat
Sat Mar 11, 2017 7:22 am
Forum: ESP-IDF
Topic: lwip_close on master esp-idf
Replies: 2
Views: 5106

lwip_close on master esp-idf

Hi - With esp-idf 4745895e229d8e1ca4e6f4b601397c0ba0b3d2db, close(socket_fd) ends up in lwip_close() okay. That does netconn_delete() OK. Currently, freeing the socket is skipped though. #if !ESP_THREAD_SAFE free_socket(sock, is_tcp); #endif I assume it's supposed to be done lazily later. But any cl...