To my knowledge there is no API available for that which means you have to rewrite the flash on that address (default 0x8000) by yourself. https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-guides/partition-tables.html#partition-tables
However this causes risk of breaking your devices ...
Search found 44 matches
- Wed Mar 25, 2026 9:13 am
- Forum: ESP-IDF
- Topic: Esp32S3 : How to update partition table using OTA ?
- Replies: 2
- Views: 2612
- Wed Mar 25, 2026 8:54 am
- Forum: ESP-IDF
- Topic: make instead of ninja ?
- Replies: 1
- Views: 120
Re: make instead of ninja ?
Not sure if I understood you correctly, but you can for example integrate vanilla CMakeLists projects into IDF projects. https://docs.espressif.com/projects/esp-idf/en/v3.2.2/api-guides/build-system-cmake.html#writing-pure-cmake-components
And you can use CMake itself:
https://docs.espressif.com ...
And you can use CMake itself:
https://docs.espressif.com ...
- Thu Jan 29, 2026 12:51 pm
- Forum: General Discussion
- Topic: ESP32 MQTT Paket size
- Replies: 11
- Views: 7295
Re: ESP32 MQTT Paket size
Yes but that is a bug. See details here: https://github.com/espressif/esp-mqtt/pull/320I thinksays it can't.Code: Select all
Connect maximum_packet_size property is over buffer_size(4096), Please first change it
- Wed Jan 28, 2026 12:23 pm
- Forum: General Discussion
- Topic: ESP32 MQTT Paket size
- Replies: 11
- Views: 7295
Re: ESP32 MQTT Paket size
Thats correct, but messages to be received can be larger than the buffer defined in esp_mqtt_client_init.You can set the "buffer size" via esp_mqtt_client_init() (esp_mqtt_client_config_t::buffer::size).
- Tue Jan 27, 2026 3:13 pm
- Forum: General Discussion
- Topic: ESP32 MQTT Paket size
- Replies: 11
- Views: 7295
Re: ESP32 MQTT Paket size
Yes. Note you can send packets larger than 1500 bytes, they'll simply get sent in chunks of 1500 bytes and reassembled automatically on the other side.
I am having a strange problem. From the doc:
MQTT_EVENT_DATA: The client has received a publish message. The event data contains: message ID ...
- Mon Oct 20, 2025 11:21 am
- Forum: ESP-IDF
- Topic: NVS split one partition into sub-partitions using nvs_flash_init_partition_ptr()
- Replies: 2
- Views: 1188
Re: NVS split one partition into sub-partitions using nvs_flash_init_partition_ptr()
@ESP_rrtandler thanks a lot, this is some great advice.
- Fri Oct 17, 2025 11:53 am
- Forum: ESP-IDF
- Topic: NVS split one partition into sub-partitions using nvs_flash_init_partition_ptr()
- Replies: 2
- Views: 1188
NVS split one partition into sub-partitions using nvs_flash_init_partition_ptr()
Our current partition table is already in field and can not be changed anymore. We have one NVS partition but now need three NVS partitions. Using namespaces is not bearable as either of these partition should be erasable and flashable as binary file.
My idea (which seems to work) is the following ...
My idea (which seems to work) is the following ...
- Wed Oct 23, 2024 7:37 am
- Forum: ESP-IDF
- Topic: TRANSPORT_BASE: poll_read select error 113, errno = Software caused connection abort, fd = 54: cannot recover from this
- Replies: 2
- Views: 2831
Re: TRANSPORT_BASE: poll_read select error 113, errno = Software caused connection abort, fd = 54: cannot recover from t
We observe the same issue using MQTT.
E (311640) transport_base: poll_read select error 113, errno = Software caused connection abort, fd = 51
E (311641) mqtt_client: Poll read error: 119, aborting connection
Edit:
Next to MQTT, we also have a socket for DoIP. For DoIP we always close our socket ...
E (311640) transport_base: poll_read select error 113, errno = Software caused connection abort, fd = 51
E (311641) mqtt_client: Poll read error: 119, aborting connection
Edit:
Next to MQTT, we also have a socket for DoIP. For DoIP we always close our socket ...
- Tue Aug 06, 2024 3:05 pm
- Forum: ESP-IDF
- Topic: How to set a specific OTA slot to invalid?
- Replies: 0
- Views: 1044
How to set a specific OTA slot to invalid?
Hey all,
I want to make sure a specific ota slot will not be booted.
Of course I can (and will) erase the not to be booted ota slot. However, I think OTA data will still see this slot as bootable?
As far as I see esp_ota_set_boot_partition() will only use esp_rewrite_ota_data() to mark the new ...
I want to make sure a specific ota slot will not be booted.
Of course I can (and will) erase the not to be booted ota slot. However, I think OTA data will still see this slot as bootable?
As far as I see esp_ota_set_boot_partition() will only use esp_rewrite_ota_data() to mark the new ...
- Fri Jul 05, 2024 10:05 am
- Forum: ESP-IDF
- Topic: InstrFetchProhibited at cpu_start: Pro cpu start user code
- Replies: 1
- Views: 1081
InstrFetchProhibited at cpu_start: Pro cpu start user code
Hello,
we have a bigger project where a lot of code was added in a separate branch. This branch works fine until its merged into the main branch. The code does not have any obvious flaws, which could explain the error below.
I am a bit confused what needs to happen, that a crash triggers directly ...
we have a bigger project where a lot of code was added in a separate branch. This branch works fine until its merged into the main branch. The code does not have any obvious flaws, which could explain the error below.
I am a bit confused what needs to happen, that a crash triggers directly ...