mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-23 01:58:24 +08:00
feat(partition_table): Make other components to adjust app offset at ox10000
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user