partition_table: Move from 0x4000 to 0x8000

Also fix a bug with correctly padding bootloader image when length is
already a multiple of 16.
This commit is contained in:
Angus Gratton
2016-11-07 14:35:23 +11:00
parent 64f3893cb9
commit 7402a1b973
4 changed files with 14 additions and 6 deletions

View File

@@ -21,7 +21,7 @@ extern "C"
{
#endif
#define ESP_PARTITION_TABLE_ADDR 0x4000
#define ESP_PARTITION_TABLE_ADDR 0x8000
#define ESP_PARTITION_MAGIC 0x50AA
/* OTA selection structure (two copies in the OTA data partition.)