Search found 349 matches

by ESP_Angus
Mon Apr 24, 2017 12:02 am
Forum: General Discussion
Topic: Hi , all , is there any function to disable the gpio function of specific pin in esp32..??
Replies: 2
Views: 68

Re: Hi , all , is there any function to disable the gpio function of specific pin in esp32..??

Switching the pin to an input with gpio_set_direction(gpio, GPIO_MODE_INPUT) or gpio_config() will disable the output driver and put the pin into a Hi-Z state. This is probably the closest you can do to "disabling" the pin.
by ESP_Angus
Sun Apr 23, 2017 11:58 pm
Forum: General Discussion
Topic: What is not fully implemented yet?
Replies: 9
Views: 385

Re: What is not fully implemented yet?

⋅ Bluetooth Classic (and pairing and all that) I apologise that we haven't announced it properly, but some Bluetooth Classic support (including an A2DP sink example) was merged to IDF master last week. https://github.com/espressif/esp-idf/tree/master/examples/bluetooth/a2dp_sink ⋅&nb...
by ESP_Angus
Sun Apr 23, 2017 11:53 pm
Forum: Report Bugs
Topic: esp_wifi_types.h
Replies: 3
Views: 44

Re: esp_wifi_types.h

I think there might be some context missing in this bug report. Are you looking at a particular C file that includes this header?

The #ifndef/#define guard prevents the header from being included twice (for example when included recursively from two different headers.)
by ESP_Angus
Sun Apr 23, 2017 11:51 pm
Forum: General Discussion
Topic: pvPortMallocCaps with MALLOC_CAP_32BI and memset
Replies: 3
Views: 36

Re: pvPortMallocCaps with MALLOC_CAP_32BI and memset

Very exciting port! Memset (and the similar newlib functions) should use only 32-bit word operations (for performance) as long as the argument buffer is at a 32-bit aligned address & is a 32-bit multiple of length. So if you're memsetting the entire buffer, this will be safe. You can read the so...
by ESP_Angus
Fri Apr 21, 2017 2:27 am
Forum: General Discussion
Topic: How to get ESP-32 Chip ID using SDK?
Replies: 4
Views: 134

Re: How to get ESP-32 Chip ID using SDK?

The MAC address is an array of bytes not a single integer, so when you printf in this way you're printing the address of the array in RAM. Try something like Serial.printf("%02x:%02x:%02x:%02x:%02x:%02x\n",chipid[0], chipid[1], chipid[2], chipid[3], chipid[4], chipid[5]);
by ESP_Angus
Fri Apr 21, 2017 2:11 am
Forum: ESP32 SDK
Topic: GPIO conflicts with I2S interrupt
Replies: 4
Views: 174

Re: GPIO conflicts with I2S interrupt

You sent the address of gpio_num instead of it's value to the event queue. This should be OK. Queues take a pointer to the data to send, in this case sending the address of gpio_num will cause the 4 bytes at that address to be copied into the queue. Presumably the other end of the queue does the sa...
by ESP_Angus
Wed Apr 12, 2017 6:01 am
Forum: General Discussion
Topic: A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
Replies: 3
Views: 188

Re: A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header

This problem is usually an error with going into reset mode, or failed communications. Can you double-check all your wiring, and that the rst/flash buttons are still working correctly? IF the CP2102 doesn't connect RTS or DTR to the breakout, then you hold down FLASH and tap RST before starting the ...
by ESP_Angus
Mon Apr 10, 2017 2:08 am
Forum: General Discussion
Topic: OTA of factory app
Replies: 3
Views: 186

Re: OTA of factory app

In our project, the factory app is simply a bootloader that grabs the image from an http server. The OTA example shows how to update partitions OTA1 and OTA2. Is it possible to update factory partition using OTA as well, in case we want to push updates to the bootloader itself? The short answer is ...
by ESP_Angus
Mon Apr 10, 2017 2:00 am
Forum: General Discussion
Topic: Programming the ESP32 on a custom board
Replies: 2
Views: 219

Re: Programming the ESP32 on a custom board

Hi Austin, The only thing I can think of is that that particular flash chip model has something unusual in its command set or status register layout that is causing it to lock itself against further writes. If you run "esptool.py --port PORT read_flash_status" (you can find esptool.py unde...
by ESP_Angus
Thu Apr 06, 2017 12:22 am
Forum: General Discussion
Topic: Where is the best place to store certificates?
Replies: 1
Views: 119

Re: Where is the best place to store certificates?

Hi copercini, The AWS IoT examples that are part of IDF include a configuration option for storing them on the SD card, so that is one option. If you're concerned about physical access readout of the private key data then enabling flash encryption and storing them in an encrypted data partition on t...

Go to advanced search