After installing the v4.4 espressif toolchain, I did an idf.py build, but got an error:
[7/8] cd /home/pete/esp/KaRadio32_4/build/esp-idf/esptool_py && /home/pete/.espre...tition_table/partition-table.bin /home/pete/esp/KaRadio32_4/build/KaRadio32_4.bin
FAILED: esp-idf/esptool_py/CMakeFiles/app_check_size /home/pete/esp/KaRadio32_4/build/esp-idf/esptool_py/CMakeFiles/app_check_size
cd /home/pete/esp/KaRadio32_4/build/esp-idf/esptool_py && /home/pete/.espressif/python_env/idf4.4_py3.13_env/bin/python /home/pete/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /home/pete/esp/KaRadio32_4/build/partition_table/partition-table.bin /home/pete/esp/KaRadio32_4/build/KaRadio32_4.bin
Error: app partition is too small for binary KaRadio32_4.bin size 0x1c1740:
- Part 'factory' 0/0 @ 0x10000 size 0x100000 (overflow 0xc1740)
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
I have also made a "make partition_table" with some warnings:
Python requirements from /home/pete/esp/esp-idf/requirements.txt are satisfied.
GENCONFIG
Loading defaults file /home/pete/esp/KaRadio32_4/sdkconfig.defaults...
make[1]: Warnung: undefinierte Variable „GNUMAKEFLAGS“
make[1]: Warnung: undefinierte Variable „GNUMAKEFLAGS“
App "KaRadio32" version: 663b7af-dirty
make[1]: Warnung: undefinierte Variable „GNUMAKEFLAGS“
[... and some more of this warning...]
make[1]: Warnung: undefinierte Variable „GNUMAKEFLAGS“
Python requirements from /home/pete/esp/esp-idf/requirements.txt are satisfied.
Building partitions from /home/pete/esp/esp-idf/components/partition_table/partitions_singleapp.csv...
Partition table binary generated. Contents:
*******************************************************************************
# ESP-IDF Partition Table
# Name, Type, SubType, Offset, Size, Flags
nvs,data,nvs,0x9000,24K,
phy_init,data,phy,0xf000,4K,
factory,app,factory,0x10000,1M,
*******************************************************************************
Partition flashing command:
python /home/pete/esp/esp-idf/components/esptool_py/esptool/esptool.py --chip esp32 --port '/dev/ttyUSB0' --baud 115200 --before default_reset --after hard_reset write_flash 0x8000 /home/pete/esp/KaRadio32_4/build/partitions_singleapp.bin
Any suggestions? Some compiler flags missing? CMake is version 3.31.6.
The size of the image is 0x1c1740, but partition is only 0x100000.
After installing the v4.4 espressif toolchain, I did an idf.py build, but got an error:
I have also made a "make partition_table" with some warnings:
Any suggestions? Some compiler flags missing? CMake is version 3.31.6.
The size of the image is 0x1c1740, but partition is only 0x100000.