Commit Graph

34 Commits

Author SHA1 Message Date
donghengqaz
28f466d12e feat(gcc): Update cross toolchain GCC to v8.x 2020-09-30 10:24:08 +08:00
Dong Heng
ed68a21f62 Revert "Merge branch 'feature/support_gcc_v8.x' into 'master'"
This reverts merge request !1539
2020-09-29 17:25:55 +08:00
donghengqaz
fd54106a97 feat(gcc): update cross toolchain GCC to v8.x 2020-09-23 17:16:53 +08:00
Zhang Jun Hao
38b91692da feat(esp8266): rename some wifi private file 2020-08-18 10:22:08 +08:00
Dong Heng
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
dongheng
8234436cde tools(gcc): fix disassembly instruction decoding error 2019-09-04 14:01:12 +08:00
dongheng
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
dongheng
ec0b1526ab fix(ota): fix OTA binary which is to be flashed error 2019-08-19 17:37:25 +08:00
dongheng
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
dongheng
9c19b1eedb feat(factory_test): add factory test and document 2019-06-04 15:38:35 +08:00
dongheng
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
dongheng
887fe571ad fix(esp8266): Fix OTA firmware generation command 2019-04-25 15:15:50 +08:00
dongheng
18764498b0 fix(esp8266): Fix OTA firmware depend error 2019-03-19 15:58:58 +08:00
dongheng
343c6ffd6a feat(partition_table): Compiling script gets partition information from partition binary 2019-03-05 10:03:17 +08:00
dongheng
2790d5605c bugfix(fix): Fix combine binary overwrite checking 2019-03-01 13:49:52 +08:00
Dong Heng
da0adef9c6 fix(esp8266): Fix compile script global varible error 2019-01-30 17:21:31 +08:00
Dong Heng
2e9cb80033 feat(ota): Add OTA binary link address verify of ESP8285 or ESP8266 + 1MB flash 2019-01-25 14:41:08 +08:00
Dong Heng
11db1b0daf feat(bootloader): Support v2 firmware updates to v3 by OTA 2019-01-16 14:20:58 +08:00
Dong Heng
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
Wu Jian Gang
efdd1c6efb feat: Update gcc to v5.2.0, new url in README 2018-11-09 15:40:09 +08:00
Dong Heng
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
Dong Heng
8f21fea94e feat(esp8266): Add macro "__ESP_FILE__" and its configuration 2018-09-21 13:03:55 +08:00
Dong Heng
e40b6d645a feat(heap): Remove macro "MEMLEAK_DEBUG" 2018-09-12 11:12:40 +08:00
Dong Heng
35ee995327 fix(components): Fix all components's compile warning and enable warning checking 2018-08-07 15:42:28 +08:00
Dong Heng
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
Wu Jian Gang
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
Dong Heng
1cde2f5f81 feat(bootloader): Add startup function 2018-06-21 13:06:08 +08:00
Wu Jian Gang
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
Wu Jian Gang
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
Wu Jian Gang
a898015d28 feat(esp8266): Remove duplicate target in esp8266 Makefile 2018-06-14 23:48:49 +08:00
Dong Heng
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
Dong Heng
ef0ba30297 fix(esptool): fix linking error 2018-04-08 17:23:09 +08:00
Dong Heng
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
Dong Heng
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