Search found 52 matches
- Sun May 12, 2024 7:40 am
- Forum: ESP-IDF
- Topic: SNTP with DHCP Static and Dynamic Host
- Replies: 0
- Views: 529
SNTP with DHCP Static and Dynamic Host
Hi, I would like to understand with is going on with the following code. With the macro ESP_NETIF_SNTP_DEFAULT_CONFIG(CONFIG_SNTP_TIME_SERVER); it should be creating single entry (position zero), then the config.index_of_first_server = 1 points to position one, that should crash on setup? Can someon...
- Fri May 10, 2024 9:50 am
- Forum: ESP-IDF
- Topic: IP_EVENT Value
- Replies: 0
- Views: 329
IP_EVENT Value
Hi, I would like to know how is the IP_EVENT and WIFI_EVENT value derived?. In my program, is it possible to register and deregister the esp_event_handler_register and esp_event_loop_create_default() multiple times ? esp_netif_init(); esp_event_loop_create_default(); esp_netif_create_default_wifi_st...
- Tue Jan 23, 2024 1:29 am
- Forum: ESP-IDF
- Topic: ESP32 Ethernet with WIFI STA
- Replies: 1
- Views: 826
ESP32 Ethernet with WIFI STA
Hi, I am looking if this is possible and if there is an example code around? 1) The Ethernet (W5500) connects to a device and provides DHCP (DHCP server running on Ethernet port). 2) Data received from Ethernet is processed. 3) Data is then sent out through the WIFI STA (DHCP is from AP). Device <--...
- Sun Oct 22, 2023 3:10 am
- Forum: ESP-IDF
- Topic: Excessive internal memory allocation for WiFi when PSRAM is enabled but not present
- Replies: 5
- Views: 7428
Re: Excessive internal memory allocation for WiFi when PSRAM is enabled but not present
Are you able to connect to Wifi with non PSRAM module?
- Wed Oct 18, 2023 9:23 am
- Forum: ESP-IDF
- Topic: Largest contiguous RAM for HEAP
- Replies: 16
- Views: 7644
Re: Largest contiguous RAM for HEAP
If you are going to use the IRAM memory there are limitation that you must be aware off. https://esp32.com/viewtopic.php?t=23891#p94825
- Wed Oct 18, 2023 9:10 am
- Forum: ESP-IDF
- Topic: Largest contiguous RAM for HEAP
- Replies: 16
- Views: 7644
Re: Largest contiguous RAM for HEAP
These are good strategies, I guess there are no possibilities to change the heap allocation strategy of malloc to first get D/IRAM and then switch to DRAM, reason ist that the DRAM section is larger than the D/IRAM section. So if malloc would first allocate from D/IRAM, the large contiguous block fr...
- Wed Oct 18, 2023 9:03 am
- Forum: ESP-IDF
- Topic: Largest contiguous RAM for HEAP
- Replies: 16
- Views: 7644
Re: Largest contiguous RAM for HEAP
That's a good resource for heap analysis. Unfortunately nothing is said about heap fragmentation and how to best avoid it in order to get a large as possible contiguous block. Any more ideas? :) This should get the largest free block for the different memory types. size_t heap_caps_get_largest_free...
- Wed Oct 18, 2023 5:39 am
- Forum: ESP-IDF
- Topic: Largest contiguous RAM for HEAP
- Replies: 16
- Views: 7644
Re: Largest contiguous RAM for HEAP
Refer to this for memory allocation https://docs.espressif.com/projects/esp ... alloc.html
- Tue Oct 03, 2023 9:43 am
- Forum: ESP-IDF
- Topic: ESP32 Wifi connection problem
- Replies: 0
- Views: 984
ESP32 Wifi connection problem
Hi, I have ESP32 Rev3 with IDF 4.4.5. If I compile firmware with PSRAM enabled and deployed onto a hardware without PSRAM then wifi will not connect. Is there a way to get that to work? CONFIG_ESP32_REV_MIN_3=y CONFIG_ESP32_SPIRAM_SUPPORT=y CONFIG_ESP32_DEFAULT_CPU_FREQ_240=y CONFIG_SPIRAM_BOOT_INIT...
- Wed Aug 02, 2023 5:51 am
- Forum: ESP-IDF
- Topic: ESP32 S3 Auto detect PSRAM speed
- Replies: 1
- Views: 967
ESP32 S3 Auto detect PSRAM speed
Hi,
Is there a configuration that would auto detect the SPIRAM speed?
At the moment, the only way is to manually set the setting below to test.
Is there a configuration that would auto detect the SPIRAM speed?
At the moment, the only way is to manually set the setting below to test.
Code: Select all
# CONFIG_SPIRAM_MODE_QUAD=y
CONFIG_SPIRAM_MODE_OCT=y