73 Commits

Author SHA1 Message Date
e929eef26e feat(example): Add mqtt client demo
internal: 6f953538
2018-01-08 10:28:56 +08:00
db463cb987 feat(mqtt): Add paho mqtt to third_party
internal: 0d398ac6
2018-01-08 10:25:01 +08:00
436a668aac feat(example): Add openssl client demo
internal: 68e12fc3
2018-01-08 10:21:51 +08:00
31383990e2 feat(example): Add openssl server demo
internal: 9c54c474
2018-01-08 10:20:42 +08:00
eb91560c0c feat(lib): Use gcc to compile all internal libs
internal: 56cc1b69
2017-12-29 17:14:07 +08:00
3577acc9b8 feat(mesh): Remove mesh support
We will only support wifi mesh in esp32.

internal: 84ce7c72
2017-12-26 21:09:10 +08:00
2e89983282 feat(system): Provide more heap region (16KB+)
1. Change cache size from 32KB to 16KB, reverse this 16KB region as heap;
2. New heap to support seperate heap region;
3. Modify pvPortMalloc, support to choose malloc in iram;
4. Add new macro os_malloc_iram to malloc in iram;
5. Default malloc will malloc in iram firstly;

Limitation:
1. Don't malloc task stack in iram;
2. Dont't use iram buffer as wifi tx buffer;

If possible, use all of iram heap region firstly.

internal : 2d3fbebb
2017-12-08 14:02:57 +08:00
b6ddeca472 feat(ld): Put rodata in libplatforms.a into flash by default
internal: c7b64043
2017-10-24 14:09:29 +08:00
7afbd85ed1 fix(wifi): Remove group key entry before connecting to AP
internal: 446e1fe2
2017-10-23 18:07:46 +08:00
2fab9e23d7 fix(wpa): Fix wpa wpa2 ptk/gtk reinstallation vulnerability
internal: 0a3ac22a
2017-10-13 15:30:04 +08:00
802390060e feat(wifi): Add vendor ie API description
internal: 45cf72a6
2017-08-30 18:38:36 +08:00
854acab56c feat(espconn): Add espconn source code
internal: b36d3ed7
2017-08-25 20:13:17 +08:00
7fbd498a3c feat(lwip): Rebind UDP pcb when IP changed
1. Rebind the UDP pcb, which originally bind to non-zero IPv4 address, to
   the new IPv4 address when the IPv4 address of related netif is changed.
2. Rebind the TCP pcb, which is in listening status, to the new IPv4 address
   when IPv4 address of related netif is changed.

Notice: Recompile some related libs due to netif.h changed.

internal: f194dd34
2017-08-25 12:14:33 +08:00
e0f5e219ea feat(system): Improve spi flash dio-to-qio mode functions
1. modify flash user command function
2. add feature to distinguish EN25QH16A/B flash chips.
3. add dio-to-qio driver for EN25QH16B flash, designed for ESP8266-SIP chips.
4. modify flash disable-write-protect functions.

internal: 61f138b6
2017-08-25 09:29:22 +08:00
464709060e feat(wifi): Add vendor ie API description
internal: 6723fb84
2017-08-24 11:07:33 +08:00
8a05097c25 bugfix(pp): Fix group key update error
internal: ffe44e2d
2017-08-04 18:05:56 +08:00
ea99adf0ca fix(mbedtls): Fixing up the ECP memory leak
internal: 20a9b5f2
2017-08-04 10:25:21 +08:00
2a7188900a feat(lwip): Remove time function in lwip
time function is already defined in libc.

internal: 5b2e52c0
2017-08-04 10:19:20 +08:00
46cf8c3209 sync: from c27334ca
Recompile some libraries
2017-06-01 20:37:25 +08:00
e1e17a12c3 sync: from 61124bba
1. driver:
  1). Fix hw_timer issue, #96;
  2). Fix SPI output data error;
  3). Fix SPI read data bug;
  4). Fix driver lib compile issue;
  5). Fix uart flow control issue;

2. lwip:
  1). Enable lwip ETHARP_TRUS_IP_MAC;
  2). Modify dhcp/dhcps timer from 60 seconds to 1 second;

3. WiFi:
  1). Support CSA;
2017-05-27 11:13:46 +08:00
fdd3346291 spi_flash: add support for 8MB & 16MB flash size
1. update support for 8MB & 16MB flash size
2. update compile ENV to generate image in 8MB & 16MB flash size map
3. update function "user_rf_cal_sector" in example code
2017-05-15 16:11:11 +08:00
b16e28c9ed feat: Add boot v1.7
1. support 8MB & 16MB spi flash;
2. try boot first bin 3 times, then boot backup bin;
2017-05-15 15:35:44 +08:00
6a132a784d Version 1.5.0-dev(7f7a714)
1. Fix the bug in mic failure handler;
2. Support eon flash, dio -> qio;
3. Support 8MB & 16MB spi flash;
4. Add beacon & probe response freq ie;
5. Workaround for boot v1.4;
2017-05-15 15:34:44 +08:00
11c7216b92 feat: Update libphy to version 1055_1 2017-05-15 15:29:35 +08:00
d1326005a4 libc: Only define some macros when they are not defined 2017-05-15 15:28:55 +08:00
082f420d20 fix: Fix websocket error
Fix websocket and delete some useless test cases.
2017-05-15 15:27:28 +08:00
97ef22e7dd feat: Modify file mode 2017-05-15 15:16:11 +08:00
4c58d9eee3 example: Add wifi station machine demo 2017-03-16 19:41:43 +08:00
d587762e50 example: Add wps demo project 2017-03-16 19:19:17 +08:00
17c4971756 optimize: Support to put rodata to Flash
Version(488a5a6)

Refer to ld/eagle.app.v6.common.ld, you can add your libraries into .irom0.text segment.
2017-03-16 19:09:42 +08:00
bbdf36667a openssl: sync openssl wrap layer from esp-idf and add openssl_demo 2017-02-04 10:51:11 +08:00
ae29bf8a59 lwip: add function declaration 2016-11-21 19:59:04 +08:00
f4e2399c0a lwip: remove the error ';' in the socket define 2016-11-18 13:44:31 +08:00
51ac0fe500 NEW VERSION: 1.5.0
1.  add spi flash erase protect mechanism, boot and current runing user
bin can not been erased;
2.  add memleak debug feature;
3.  fix spi overlap issue;
4.  fix call wifi_station_disconnect, disconnect event enter twice
issue;
5.  fix crash when set opmode from station to softAP in scan done
callback;
6.  modify spi flash erase/write flow, clear protect status if needed;
7.  fix rf init data sector broken issue, add user_rf_cal_sector_set,
user application MUST have this function, refer to examples;
8.  fix system parameter sector broken issue when frequently power
on/off;
9.  fix the max value of os_timer_arm;
10. fix dns issue in some routers;
11. add sntp support;
12. update smartconfig to 2.5.4;
13. update open freedom to support send beacon packet;
14. fix seldom rf not work issue after external reset;
15. fix pwm issue;
16. fix status error got by wifi_station_get_connect_status;
17. fix assert in pp;
18. fix huawei X4 connect softAP issue;
19. optimize sleep strategy;
20. add vendor IE support;
21. update libphy.a to 1055;
22. add weak function wifi_set_backup_mac to let user set MAC;
23. fix bug of lwip and optimize socket mechanism;
24. update boot loader to v1.6;
25. update esp_init_data_default.bin
26. add mbedtls support;
27. fix other bugs;
v1.5.0
2016-11-09 22:39:56 +08:00
efd2819870 Version 1.4.0(cb4060d9)
1. fix a bug in wifi_send_pkt_freedom;
2. modify driver code due to _xt_isr_attach parameter changed;
v1.4.0
2016-03-01 17:49:44 +08:00
55de019fc2 header files update, add API documents (pdf & html) 2016-03-01 10:50:38 +08:00
dba89f9aba NEW VERSION: 1.4.0
1. update boot.bin to v1.5;
2. phy version to 762;
3. add wifi_station_set/get_hostname api;
4. optimize net80211;
5. optimize ssl;
6. optimize ota;
7. optimize dhcp client;
8. update smartconfig to version 2.5.3;
9. support gpio wakeup;
10.enable IGMP in lwip;
11.some modify due to phy update;
12.add espconn_init in espconn.h;
13.update cjson/freertos/ssl;
14.add lwip/nopoll source code;
15.add libairkiss.a/airkiss.h, update smart_config;
16.update esp_init_data_default.bin;
17.irom0 too large, start addr change to 0x20000;
18.some modifications for system stability;
19.many other optimization;
2016-02-26 20:40:06 +08:00
50459308c1 fix a mistake in hw_time.c; 2015-11-16 10:02:06 +08:00
bc0cf96ab6 fix websocket_demo compile issue; 2015-11-11 13:33:12 +08:00
5164a74d46 update Makefile, fix websocket_demo compile issue; 2015-11-10 13:56:03 +08:00
d091945abf update make_cert.py 2015-11-03 15:51:12 +08:00
3ca6af5da6 NEW VERSION: 1.3.0
1. Add libssc.a, simple serial console lib.
 2. Add libspiffs.a, SPI file system.
 3. Add libwps.a to support WPS.
 4. Add libespconn.a, Espressif connection lib.
 5. Add libespnow.a to support Espressif ESP-NOW.
 6. Add libmesh.a, Espressif mesh.
 7. Add libnopoll.a, websocket.
 8. Add make_lib.sh in "third_party" folder.
 9. Add modem-sleep & light-sleep supported.
10. Update libcirom.a to support float IO.
11. Update gen_misc.sh & gen_misc.bat.
12. Update header files, add comments in doxygen style.
13. Update libsmartconfig.a to version 2.5.2.
14. Update libssl.a.
15. Updates driver (PWM/UART/GPIO/SPI/Hardware timer).
16. Update open source codes of third_party.
17. Modify "ld" files, "dram0 len" should be 0x18000 in RTOS SDK.
18. Remove header files in extra_include, which are already in compile folder.
19. Other APIs sync from non-OS SDK, more details in documentation "20B-ESP8266__RTOS_SDK_API Reference".
20. Other optimization to make the SDK more stable.
2015-11-02 19:42:55 +08:00
a2b413ad29 NEW VERSION: 1.2.0
1. add modified version libgcc.a, remove functions which are already in rom, for removed functions, refer to eagle.rom.addr.v6.ld;
2. add modified version libcirom.a, remove functions which are already in rom, for removed functions, refer to eagle.rom.addr.v6.ld;
3. modify eagle.rom.addr.v6.ld;
4. modify Makefile, project can be separated from SDK;
5. add a project template in examples folder, it's IMPORTANT, PLS refer to readme.txt in project_template;
6. remove app project folder, project_template is a good startup;
7. use gcc by default;
8. modify ld struct, add some comment and Flash MAP, it's clear now;
9. add upgrade.h;
10.other minor changes;
2015-08-28 19:32:24 +08:00
c24c2a557d NEW VERSION: 1.1.0
1. Add pwm support;
2. Add c++ support; Please update to the latest folder "ld".
3. Add rand in libminic;
4. Add new reset reason REASON_EXT_SYS_RST in rst_reason;
5. Update the complied script ‘gen_misc.sh(bat)’, use the new boot and remove the old one;
6. Update folder "tools", and support CRC check of bin files;  Please update to the latest folder "tools".
7. Optimize the process procedure of Wi-Fi event;
8. Fix bugs in printf when its runs out of memory;
9. Fix bugs in malloc when CACHE is disabled;
10.Fix exception and WDT reset bugs when CACHE is disabled;
11.Fix some Wi-Fi connection bugs;
12.Fix some Wi-Fi scan bugs;
13.Tune API "wifi_station_get_connect_status" for more accurate WiFi positioning;
14.Porting the optimization of non-OS SDK to RTOS SDK;
15.Fix other minor bugs.
2015-08-21 18:10:07 +08:00
a6d4f57172 NEW VERSION: 1.0.4
1. memory optimize;
2. add irom version libm.a: libmirom.a;
3. more apis are supported in libcirom.a, such as sscanf, sprintf, etc;
4. add c++ support in Makefile;
5. put functions to iRAM default, don't need ICACHE_FLASH_ATTR anymore;
6. remove -O2 in Makefile;
7. fix some fatal exception bugs;
8. update smartconfig to version 2.4.7;
9. update some open source files and header files;
10.use os_printf can save memory;
11.add new apis: os_random and os_get_random;
12.bug fix in lwip/net80211/wpa modules;
13.other minor changes;
2015-07-31 21:07:07 +08:00
76a22b42c6 1. memory optimize;
2. support both libminic and libc;
3. fix some fatal exception bugs;
4. remove udhcp related files;
5. sync third_party files;
6. other minor changes;
2015-07-14 11:06:53 +08:00
169a436ce1 1.remove udhcp related codes; 2015-06-26 22:05:39 +08:00
a82668f7b5 1.sync api from non-os version;
2.remove udhcp and use non-os dhcpserver;
3.fix some bugs;
2015-06-26 22:02:55 +08:00
7b650851af Merge branch 'master' of https://github.com/espressif/esp_iot_rtos_sdk 2015-06-08 17:31:21 +08:00
f33be1ab40 1. sync codes from non-os version 1.1.1:
1). update smartconfig to v2.2;
 2). add some new APIs;
 3). fix bugs in net80211 and wpa;
2. update smart_config demo;
3. fix a bug in app demo;

***internal version 0f73a14a***
2015-06-08 17:29:38 +08:00