Search found 384 matches

by permal
Tue Aug 22, 2017 5:08 am
Forum: General Discussion
Topic: Socket issues
Replies: 34
Views: 46880

Re: Socket issues

Seems similar regarding not being able to reconnect, but that you are running out of free sockets is likely due to not calling close() on the socket you already tried to open.
by permal
Mon Aug 21, 2017 9:47 pm
Forum: ESP-IDF
Topic: I2C - allowed use cases for the command-link
Replies: 2
Views: 4009

Re: I2C - allowed use cases for the command-link

Anyone?
by permal
Mon Aug 21, 2017 9:41 pm
Forum: General Discussion
Topic: What would you like to see in The Next Chip?
Replies: 426
Views: 839645

Re: What would you like to see in The Next Chip?

Not a H/W thing as such, but backwards compatible with the IDF for ESP32, allowing us to reuse our code for the new chip.

On the H/W side, can never get to much (application-usable) RAM and on-chip flash.
by permal
Sat Aug 19, 2017 11:02 pm
Forum: ESP-IDF
Topic: I2C - allowed use cases for the command-link
Replies: 2
Views: 4009

I2C - allowed use cases for the command-link

I wrote s simple I2C bus scanner using the following code: void I2CMasterDevice::scan_i2c_bus(std::vector<uint8_t>& found_devices) { // Write the address of each possible device and see if an ACK is received or not. // TODO: Ignore reserved addresses for (uint8_t address = 1; address <= 127; ++addre...
by permal
Sat Aug 19, 2017 10:38 pm
Forum: ESP32 Arduino
Topic: How to make a functional wifi access point with wifi connection.
Replies: 6
Views: 33821

Re: How to make a functional wifi access point with wifi connection.

This should get you started: https://esp-idf.readthedocs.io/en/lates ... /wifi.html

Edit: Oh, just say this is in the Arduino section of the forum. Then that link might not help you.
by permal
Fri Aug 18, 2017 7:21 pm
Forum: ESP-IDF
Topic: Questions about SPI timing etc.
Replies: 0
Views: 2778

Questions about SPI timing etc.

Hi, Attempting my first ever implementation of SPI to communication with a TFT display driven by a ST7735 using 4-wire SPI. A few questions regarding spi_device_interface_config_t: The following three values, they actually specify a delay, right? For example, with clock_speed_hz = 2000000 (2MHz), a ...
by permal
Thu Aug 17, 2017 6:42 pm
Forum: ESP-IDF
Topic: ESP32 Main Task Size
Replies: 6
Views: 17633

Re: ESP32 Main Task Size

Oh, wow. That's a factor of four from what the manual says!

What other IDF-specific quirks are there that are not corresponding to the official documentation? Is there a list of such things? These kind of differences are rather valuable/important to know.
by permal
Thu Aug 17, 2017 5:49 pm
Forum: ESP-IDF
Topic: ESP32 Main Task Size
Replies: 6
Views: 17633

Re: ESP32 Main Task Size

Edit: As per ESP_igrr's post below, the FreeRTOS documentation doesn't correspond the the IDF-version of FreeRTOS. Please refer to ESP_igrr's post for correct info. Also worth noting is that the number you specify isn't the size in the traditional sense. It is, as is clearly documented here (see usS...
by permal
Thu Aug 17, 2017 5:16 am
Forum: ESP-IDF
Topic: lwip macro name clashes
Replies: 2
Views: 4090

Re: lwip macro name clashes

kolban wrote:Might this be related to this issue?

https://github.com/espressif/esp-idf/pull/586
Yes, and this too: https://github.com/espressif/esp-idf/issues/273
by permal
Wed Aug 16, 2017 8:20 pm
Forum: ESP-IDF
Topic: lwip macro name clashes
Replies: 2
Views: 4090

lwip macro name clashes

Hi, I think I've seen this issued discussed briefly either here on the forum or on GitHub, but I can't find the post now so I'll ask again. lwip defines a lot of macros with very general names such as connect, bind, send etc. in socket.h . These macros gives quite a few headaches since they clash wi...