I've got a custom partition table that has some differences from the default single app one.
I've indicated that I'm using a custom partition table in the menuconfig and left the filename as "partitions.csv".
For now I've put the file in the project root but ideally I'd put it somewhere else.
When I run idf.py app from the root folder it tells me it can't find "partitions.csv".
Code: Select all
Traceback (most recent call last):
File "/Users/bla/bla/myproject/esp-idf/components/partition_table/parttool.py", line 346, in <module>
main()
File "/Users/bla/bla/myproject/esp-idf/components/partition_table/parttool.py", line 315, in main
target = ParttoolTarget(**target_args)
File "/Users/bla/bla/myproject/esp-idf/components/partition_table/parttool.py", line 97, in __init__
with open(partition_table_file, "rb") as f:
IOError: [Errno 2] No such file or directory: 'partitions.csv'
Code: Select all
idf_build_process(esp32
SDKCONFIG ${CMAKE_CURRENT_LIST_DIR}/sdkconfig
BUILD_DIR ${CMAKE_BINARY_DIR})
If this is already possible and I've missed it than please let me know.
Many thanks