feat(partition_table): Make other components to adjust app offset at ox10000

This commit is contained in:
Dong Heng
2018-06-15 10:03:44 +08:00
parent bb7e4f451e
commit 4f5700635e
2 changed files with 4 additions and 2 deletions

View File

@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "sdkconfig.h"
#include <stddef.h>
#include <stdint.h>
@ -308,5 +310,5 @@ void call_start_cpu(void)
ets_printf("jump to run");
jump_to_run_addr(0x1000);
jump_to_run_addr(CONFIG_PARTITION_TABLE_CUSTOM_APP_BIN_OFFSET);
}

View File

@ -27,7 +27,7 @@ MEMORY
iram1_0_seg : org = 0x40100000, len = 0x8000
/* It is actually mapped to flash. */
irom0_0_seg : org = 0x40201010, len = 0xFF000 - 0x10
irom0_0_seg : org = 0x40200010 + CONFIG_PARTITION_TABLE_CUSTOM_APP_BIN_OFFSET, len = 0x100000 - 0x10 - CONFIG_PARTITION_TABLE_CUSTOM_APP_BIN_OFFSET
/* RTC memory, persists over deep sleep. */
rtc_seg : org = 0x60001200, len = 0x200