How to enable SPI_FLASH_DANGEROUS_WRITE

I want to write in the partition table to dynamic update the size.
The read is ok, but when I use "spi_flash_write(CONFIG_PARTITION_TABLE_OFFSET, PartionTableOTA, sizeof(PartionTableOTA));" the ESP32 reboot.
I think that it is not autorised to write in this part of the flash until SPI_FLASH_DANGEROUS_WRITE is not ENABLE ?
thanks for your help.
Pascal

please don't double post even in a different language.

Do do yourself a favour and please read How to get the best out of this forum

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.