I use esp01-1M
board instead of esp07
board and compile then upload to esp07
board successfully.
again change board to esp07
and add
board_upload.maximum_size = 1048576
to platformio.ini file and compile and upload to
esp07` board successfully.
I found 1048576 value from esp01_1m.json file.