mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 08:04:33 +02:00
Storage: Remove makefile reference from spiffsgen README
This commit is contained in:
@@ -12,8 +12,8 @@ The following gives an overview of the example:
|
|||||||
1. There is a directory `spiffs_image` from which the SPIFFS filesystem image will be created.
|
1. There is a directory `spiffs_image` from which the SPIFFS filesystem image will be created.
|
||||||
|
|
||||||
2. The function `spiffs_create_partition_image` is used to specify that a SPIFFS image
|
2. The function `spiffs_create_partition_image` is used to specify that a SPIFFS image
|
||||||
should be created during build for the `storage` partition. For CMake, it is called from [the main component's CMakeLists.txt](./main/CMakeLists.txt);
|
should be created during build for the `storage` partition. It is called from [the main component's CMakeLists.txt](./main/CMakeLists.txt).
|
||||||
for Make, from the [project Makefile](./Makefile). `FLASH_IN_PROJECT` specifies that the created image
|
`FLASH_IN_PROJECT` specifies that the created image
|
||||||
should be flashed on invocation of `idf.py -p PORT flash` together with app, bootloader, partition table, etc.
|
should be flashed on invocation of `idf.py -p PORT flash` together with app, bootloader, partition table, etc.
|
||||||
For both build systems, the image is created on the example's build directory with the output filename `storage.bin`.
|
For both build systems, the image is created on the example's build directory with the output filename `storage.bin`.
|
||||||
|
|
||||||
@@ -27,13 +27,7 @@ able to read those files.
|
|||||||
|
|
||||||
To run the example, type the following command:
|
To run the example, type the following command:
|
||||||
|
|
||||||
```Makefile
|
|
||||||
# Make
|
|
||||||
make flash monitor
|
|
||||||
```
|
|
||||||
or
|
|
||||||
```CMake
|
```CMake
|
||||||
# CMake
|
|
||||||
idf.py -p PORT flash monitor
|
idf.py -p PORT flash monitor
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user