]> granicus.if.org Git - esp-idf/commit
spi_flash: Fix error unit tests on host
authorKonstantin Kondrashov <konstantin@espressif.com>
Tue, 19 Jun 2018 03:23:01 +0000 (08:23 +0500)
committerKonstantin Kondrashov <konstantin@espressif.com>
Tue, 19 Jun 2018 09:30:25 +0000 (14:30 +0500)
commit17dac0d2733ffeb531c8271b5f914e227fb619b5
tree31e2617f22f3827d60edab55d1de336355fe63a8
parent73f6fb9fe78fee4f5114184b7e7521e5cfd6c525
spi_flash: Fix error unit tests on host

IDF had two defines ESP_PARTITION_TABLE_OFFSET and ESP_PARTITION_TABLE_ADDR. They were the same and equal by 0x8000.
A define ESP_PARTITION_TABLE_ADDR was removed from IDF.
A define ESP_PARTITION_TABLE_OFFSET depends on option CONFIG_PARTITION_TABLE_OFFSET in Kconfig.

Now using only #define ESP_PARTITION_TABLE_OFFSET CONFIG_PARTITION_TABLE_OFFSET
components/bootloader_support/include/esp_flash_partitions.h
components/spi_flash/sim/SpiFlash.cpp
components/spi_flash/sim/sdkconfig.h