partition_table: Check configured flash size fits in partition table

Check happens at build time, so flash size config may need to be changed.

Also fixes MD5_OPT undefined warning, closes https://github.com/espressif/esp-idf/issues/1867
This commit is contained in:
Angus Gratton
2018-04-20 16:57:15 +10:00
committed by Angus Gratton
parent e3d404bb8f
commit fa3205737f
5 changed files with 43 additions and 3 deletions
@@ -15,3 +15,6 @@ CONFIG_APP_OFFSET=0x10000
# Enable FreeRTOS stats formatting functions, needed for 'tasks' command
CONFIG_FREERTOS_USE_TRACE_FACILITY=y
CONFIG_FREERTOS_USE_STATS_FORMATTING_FUNCTIONS=y
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y