Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
esptool: Allow to pass the partition table CSV.
The partition table of the device in the esp8266 and esp32 based boards was set to a default table with one "factory" partition with exactly the size of the compiled firmware. This is problematic if we want to update the device on the field. This patch allows to set the `PARTITION_TABLE_CSV` variable from the Makefile to a .csv file with a custom partition table, for example this could be set to a partition table with two ota entries, or with a single factory entry but of a known fixed size. As a side effect of the make cleanup in this patch we now support passing `-j` to the `make flash` command so we can compile in parallel and still run the flash commands only once at the end. Before this patch the conversion from .elf to .elf.bin was happening before the code was recompiled when running in parallel.
- Loading branch information