Hi all,
for one of my projects I have two different partition.csv files depending on a Kconfig compile-time configuration. ESP-IDF lets me select one custom partition.csv file, but I would like to make that dependent on an application-specific setting. I realize this is more of a CMake question than ESP-IDF, but I'm sure someone smart out there can point me in the right direction.
TIA,
AP
Different partition.csv files in one project
-
- Posts: 24
- Joined: Wed May 31, 2023 6:54 pm
Re: Different partition.csv files in one project
Hello apuder,
You can build more .bin files from .csv files using CMake's add_custom_target construct. You can get inspiration directly from esp-idf repository:
You can build more .bin files from .csv files using CMake's add_custom_target construct. You can get inspiration directly from esp-idf repository:
Code: Select all
components/esp_partition/host_test/partition_api_test/CMakeLists.txt
Who is online
Users browsing this forum: Google [Bot] and 172 guests