Did some research and looked at ...
https://www.esp32.com/viewtopic.php?f=18&t=18575
I did some calculation on my own and come to the conclusion that I have a size with this partition table of 1966080. Now I need to addaped the maximum_size of 1400000 -> 1966080
My size is in hex 0x1E0000 for app0.
Soo I have in dec
1966080 = 1920kb
This is for the example in the topic above:
180000 ->
1572864->1536kb
Finally I understand, how to make partition tables and addapted the board.txt
Thanks for the tip tim.
This is table I use and it works
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x1E0000,
app1, app, ota_1, 0x1F0000,0x1E0000,
eeprom, data, 0x99, 0x3D0000,0x1000,
spiffs, data, spiffs, 0x3D1000,0x2F000,
Program size: 1.333.062 bytes (used 68% of a 1.966.080 byte maximum)
This partition table let you use evry byte that is available.