Search found 1365 matches

by Ritesh
Sun Feb 10, 2019 9:51 am
Forum: ESP-IDF
Topic: External ram config explanation
Replies: 3
Views: 4154

Re: External ram config explanation

# # SPI RAM config # CONFIG_SPIRAM_BANKSWITCH_ENABLE=y CONFIG_SPIRAM_BANKSWITCH_RESERVE=8 CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=4096 CONFIG_WIFI_LWIP_ALLOCATION_FROM_SPIRAM_FIRST= CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=45768 CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY= CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERN...
by Ritesh
Sun Feb 10, 2019 9:47 am
Forum: ESP-IDF
Topic: Connectifity issues
Replies: 5
Views: 6214

Re: Connectifity issues

After a few days I found a quiet simple solution altrough I still have no idea what was/is going on. As stated here https://github.com/espressif/esp-mqtt/issues/48 for larger buffers sent via lwip #define CONFIG_USE_ONLY_LWIP_SELECT 1 needs to be set. In menuconfig it can be found at "Component Set...
by Ritesh
Sun Feb 10, 2019 9:26 am
Forum: ESP-IDF
Topic: Source code to help debugging
Replies: 5
Views: 4688

Re: Source code to help debugging

Hi all I am having a few issues with mesh and suspect I have uncovered a few bugs in the framework. I have posted the issues on this (and MDF) forum but unfortunately nobody has been able to help. Is there anywhere to download the source code for the mesh functions so I can try and find the issues ...
by Ritesh
Sat Feb 02, 2019 7:25 pm
Forum: ESP-IDF
Topic: ADC reading without blocking CPU
Replies: 1
Views: 2902

Re: ADC reading without blocking CPU

Hi everyone! My problem is that ADC read with function adc1_get_raw() cause CPU block while ADC reading not ready, making ADC reading a blocking function. The idea is pull ADC register to read if ADC reading value is ready when CPU is in idle state. Or, anyone knows the sequence and registers to ha...
by Ritesh
Sat Feb 02, 2019 1:46 pm
Forum: ESP-IDF
Topic: ESP32 - Debugging using Eclipse [solved]
Replies: 15
Views: 20774

Re: ESP32 - Debugging using Eclipse

Start the GDB first using command: openocd -s share/openocd/scripts -f interface/ftdi/esp32_devkitj_v1.cfg -f board/esp32-wrover.cfg Then start the debugging session on eclipse ESP_igrr has asked like what output you are getting into OpenOCD console output while facing this issue. So that we can ha...
by Ritesh
Sat Feb 02, 2019 1:41 pm
Forum: ESP-IDF
Topic: Control GPIO in deep sleep wake stub
Replies: 4
Views: 6904

Re: Control GPIO in deep sleep wake stub

I'd like to control a GPIO PIN in the deep sleep wake stub. I tried the following code but the GPIO does not turn on. #define SU_HARDWARE_PWRREG GPIO_NUM_23 void RTC_IRAM_ATTR esp_wake_deep_sleep(void) { esp_default_wake_deep_sleep(); gpio_pad_select_gpio(SU_HARDWARE_PWRREG); // Ripped from gpio_se...
by Ritesh
Sat Feb 02, 2019 1:35 pm
Forum: ESP-IDF
Topic: Strange behavior of WiFi code
Replies: 6
Views: 6408

Re: Strange behavior of WiFi code

Zeni241: When you declare wifi_config_t structure, do not forget to set all fields to zero. Either by calling 'memset' or using an initializer: wifi_config_t wifi_config = { }; Or wifi_config_t wifi_config; memset(&wifi_config, 0, sizeof(wifi_config)); Yes. You are correct and we need to keep habit...
by Ritesh
Sat Feb 02, 2019 10:05 am
Forum: ESP-IDF
Topic: Started validation for ESP-EYE Development Board
Replies: 12
Views: 11110

Re: Started validation for ESP-EYE Development Board

Hi Espressif Team, I have one more question like do we have any plan to recognize object along with face detection for this product? Because I suggest like it will good and appriciable if we provide support that into future which will be plus point for AI machine learning as well. This is just my su...
by Ritesh
Sat Feb 02, 2019 9:34 am
Forum: ESP-IDF
Topic: Wear Leveling File System with Directory Support
Replies: 6
Views: 11153

Re: Wear Leveling File System with Directory Support

I highly recommend LittleFS: https://github.com/ARMmbed/littlefs It's easy to implement on the ESP32, has built in wear leveling, directory support, power failure resilient and much, much faster than SPIFFS. Jason Thanks for quick response for that. But as i have checked that it has only file suppo...
by Ritesh
Sat Feb 02, 2019 9:33 am
Forum: ESP-IDF
Topic: Wear Leveling File System with Directory Support
Replies: 6
Views: 11153

Re: Wear Leveling File System with Directory Support

SPIFFS does not have directory support, but it can be easily implemented using SPIFFS metadata feature. I have SPIFFS with full directory support implemented in my MicroPython for ESP32 . LittleFS with full directory support is also implemented. It can be configured to run on top of Wear Leveling d...