30 Commits

Author SHA1 Message Date
622482eb76 feat(esp_common): update esp_common
1. add Kconfig file and rename old global macro
2. move some independent files to esp_common
2020-01-15 14:56:39 +08:00
8234436cde tools(gcc): fix disassembly instruction decoding error 2019-09-04 14:01:12 +08:00
97cd6a594b fix(make): fix compiling warning
1. add "-MP" prevents make-level errors when switching IDF versions, as headers may be removed
2. add macro "IS_BOOTLOADER_BUILD" to disable link file generation when compiling bootloader
3. add "<:" to avoid makefile to search it undefined variable
2019-08-26 20:41:19 +08:00
ec0b1526ab fix(ota): fix OTA binary which is to be flashed error 2019-08-19 17:37:25 +08:00
301d857988 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
2019-08-05 17:20:29 +08:00
9c19b1eedb feat(factory_test): add factory test and document 2019-06-04 15:38:35 +08:00
37ffcbe9e6 feat(esp8266): Add feature to copy old RF parameters to new SDK partition
The old SDK's RF parameters is also kept.
2019-05-05 09:58:18 +08:00
887fe571ad fix(esp8266): Fix OTA firmware generation command 2019-04-25 15:15:50 +08:00
18764498b0 fix(esp8266): Fix OTA firmware depend error 2019-03-19 15:58:58 +08:00
343c6ffd6a feat(partition_table): Compiling script gets partition information from partition binary 2019-03-05 10:03:17 +08:00
2790d5605c bugfix(fix): Fix combine binary overwrite checking 2019-03-01 13:49:52 +08:00
da0adef9c6 fix(esp8266): Fix compile script global varible error 2019-01-30 17:21:31 +08:00
2e9cb80033 feat(ota): Add OTA binary link address verify of ESP8285 or ESP8266 + 1MB flash 2019-01-25 14:41:08 +08:00
11db1b0daf feat(bootloader): Support v2 firmware updates to v3 by OTA 2019-01-16 14:20:58 +08:00
3d63a6ca52 feat(partition_table): Update partition table script and OTA example
1. APP binary supports 4KB align instead of 64KB align

2. Add options to sdkconfig.defaults:
2.1. using 1MB flash
2.2. use custom partition table "partitions_two_ota.1MB.mini.csv"
2.3. custom partition table base address is 0x4000

3. "make ota flash" using APP1_OFFSET as app downloading address
2018-12-26 17:44:41 +08:00
efdd1c6efb feat: Update gcc to v5.2.0, new url in README 2018-11-09 15:40:09 +08:00
5e1b8a0b10 feat(ota): Add command to generate OTA bin and add ota example for 1MB flash
"$(PROJECT_NAME).app1.bin", "$(PROJECT_NAME).app2.bin" and "$(PROJECT_NAME).ota.bin" at "build" directory.

Only upload "$(PROJECT_NAME).ota.bin" to the server.

Select the target flash and input "make ota flash" or "make ota flash monitor".

Update the OTA README.md for 1 MB flash.
2018-10-18 19:40:22 +08:00
8f21fea94e feat(esp8266): Add macro "__ESP_FILE__" and its configuration 2018-09-21 13:03:55 +08:00
e40b6d645a feat(heap): Remove macro "MEMLEAK_DEBUG" 2018-09-12 11:12:40 +08:00
35ee995327 fix(components): Fix all components's compile warning and enable warning checking 2018-08-07 15:42:28 +08:00
cce0ee6c35 feat(make): Remove compiler checking warning
Closes https://github.com/espressif/ESP8266_RTOS_SDK/issues/175
2018-08-02 19:58:07 +08:00
a411ce44c9 feat(esp8266): add phy APIs
1. support save cal data in nvs;
2. support use phy partition to store init data;

In old SDK, we use (max_sec - 3) as init data sector, and (max_sec - 4) as cal data sector. This is changed in IDF style SDK, and these 2 sectors can be used for other perpose.
2018-07-06 10:52:43 +08:00
1cde2f5f81 feat(bootloader): Add startup function 2018-06-21 13:06:08 +08:00
9f58e5aacf fix(esp8266): fix bootloader stuck temporarily
Note: bootloader and phy init data will be compatible to idf, storing init data bin in (last - 3) sector will be as a legancy mode.

Closes https://github.com/espressif/ESP8266_RTOS_SDK/issues/230
2018-06-19 09:10:19 +08:00
462e9d4f81 feat(esp8266): Add phy init data in code
Not support to config phy_init_data now, and need real code to use this data.
2018-06-15 19:37:58 +08:00
a898015d28 feat(esp8266): Remove duplicate target in esp8266 Makefile 2018-06-14 23:48:49 +08:00
5876cc6bc6 fix(esp8266): Fix github issues 174
Use "$CONFIG_PYTHON" to generate firmware.
Closes https://github.com/espressif/ESP8266_RTOS_SDK/issues/174
Merges https://github.com/espressif/ESP8266_RTOS_SDK/pull/185
2018-05-19 20:43:22 +08:00
ef0ba30297 fix(esptool): fix linking error 2018-04-08 17:23:09 +08:00
93df33802f feat(esp8266): Modify Makefile.projbuild for esp8266
1. support generating esp8266 specific bin when input 'make' and so on
2. support 'make flash', 'make monitor' and 'make monitor flash'
3. esp8266 do not support secure boot
2018-04-08 14:17:05 +08:00
70152ef723 feat(esp8266): Move Makefile.projbuild from esptool_py to esp8266
Every chip should has its own 'esptool' function and parameters.
2018-04-08 14:02:17 +08:00