feat(esp8266): supports "make size" and its family function

1. support "make size", "make size-files", "make size-components" and "make size-symbols"
2. add esp-idf style link file including "esp8266.ld" and "esp8266.project.ld.in"
3. add link advaced generation file to components of esp8266 and spi_flash
This commit is contained in:
dongheng
2019-07-26 19:12:25 +08:00
parent 896c93c48b
commit 301d857988
36 changed files with 8565 additions and 323 deletions

View File

@ -55,6 +55,9 @@ static inline int should_load(uint32_t load_addr)
return 0;
}
if (IS_FLASH(load_addr))
return 0;
return 1;
}
@ -104,7 +107,7 @@ static void user_init_entry(void *param)
vTaskDelete(NULL);
}
void call_user_start(size_t start_addr)
void call_start_cpu(size_t start_addr)
{
int i;
int *p;