build system: generate the partition table by default for linux target

This fixes the issue that "idf.py partition-table" had to be run
manually in order for the partition table to be generated, when
building for linux target.
This commit is contained in:
Ivan Grokhotkov
2023-01-10 17:47:20 +01:00
parent 98d1f7de4b
commit ec8f38c9da
5 changed files with 21 additions and 7 deletions

View File

@@ -7,5 +7,3 @@ set(COMPONENTS main)
list(APPEND EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/tools/mocks/freertos/")
project(partition_api_test)
add_dependencies(partition_api_test.elf partition-table)

View File

@@ -8,9 +8,8 @@ Source the IDF environment as usual.
Once this is done, build the application:
```bash
idf.py build partition-table
idf.py build
```
Note that for the time being, `partition-table` target needs to be built manually.
# Run
```bash