Open Aravind0812 opened 1 month ago
@Aravind0812 Hello, it seems that fatfs_generation.patch
patch is not applied to esp-idf correctly, could you please check the compile logs, IF there is a fatfs_generation.patch has been applied
line, like the following:
...
submodules check completed for updates.
esp_tls_parse_ecc_key.patch has been applied
fatfs_generation.patch has been applied
support_ext_partition.patch has been applied
patches check completed for updates.
Ready to set up environment variables..
...
If no such logs, you can run the following command:
cd esp-idf
git reset --hard
git submodule update --init --recursive
cd ..
rm -rf build sdkconfig
python build.py install
python build.py build
It the issue still exists, please provide the logs, thanks.
Answers checklist.
General issue report
While building ESP32 C3 MINI after enabled AT+FS and Webserver when creating fatfs.bin getting invalid argument error. So i manual run that python without the argument "--wl_mode "safe" and generated fatfs.bin after and then i build it.
This is that error: wl_fatfsgen.py: error: unrecognized arguments: --wl_mode safe generating fatfs.bin:
C:\Espressif\python_env\idf5.2_py3.11_env\Scripts\python.exe C:/Users/username/esp/esp-at\esp-idf\components\fatfs\wl_fatfsgen.py C:/Users/username/esp/esp-at\components\fs_image --partition_size 102400 --output_file C:/Users/username/esp/esp-at/build/customized_partitions\fatfs.bin --sector_size 512 --long_name_support --sectors_per_cluster 1 --fat_type 0 --wl_mode "safe"
Please check the log below.