Skip to content

Commit 8b311b6

Browse files
committed
update SDK to 1.0.1_b1_15_04_02
1 parent b2ee187 commit 8b311b6

14 files changed

+299
-5
lines changed

hardware/tools/esp8266/sdk/License

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
ESPRESSIF GENERAL PUBLIC LICENSE
2+
3+
PREAMBLE
4+
5+
The Espressif General Public License is a free, copyleft license for software and other kinds of works.
6+
The Espressif General Public License is intended to guarantee your freedom to share and change all versions of a program released by ESPRESSIF SYSTEMS (SHANGHAI) PTE LTD, to make sure it remains free software for all its users. We use the Espressif General Public License for all of our open-source software.
7+
When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.
8+
To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
9+
Developers that use the Espressif GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it.
10+
For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions.
11+
12+
TERMS AND CONDITIONS
13+
14+
0. Definitions.
15+
��This License�� refers to the Espressif Public License.
16+
17+
��The Program�� refers to any copyrightable work licensed under this License. Each licensee is addressed as ��you��. ��Licensees�� and ��recipients�� may be individuals or organizations.
18+
To ��modify�� a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a ��modified version�� of the earlier work or a work ��based on�� the earlier work.
19+
A ��covered work�� means either the unmodified Program or a work based on the Program.
20+
To ��propagate�� a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.
21+
To ��convey�� a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.
22+
1. Basic Permissions.
23+
All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.
24+
You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.
25+
Conveying under any other circumstances is permitted solely under the conditions stated below.
26+
27+
2. Protecting Users' Legal Rights From Anti-Circumvention Law.
28+
No covered work shall be deemed part of an effective technological measure under any applicable law prohibiting or restricting circumvention of such measures.
29+
When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.
30+
31+
3. Conveying Verbatim Copies.
32+
You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License applies to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.
33+
You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.
34+
35+
4. Conveying Modified Source Versions.
36+
You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 3, provided that you also meet all of these conditions:
37+
a) The work must carry prominent notices stating that you modified it, and giving a relevant date.
38+
b) The work must carry prominent notices stating that it is released under this License. This requirement modifies the requirement in section 3 to ��keep intact all notices��.
39+
c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it.
40+
41+
5. Termination.
42+
You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License.
43+
However, if you cease all violation of this License, then your license is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license.
44+
Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 7.
45+
46+
6. Acceptance Not Required for Having Copies.
47+
You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.
48+
49+
7. Automatic Licensing of Downstream Recipients.
50+
Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.
51+
52+
8. No Surrender of Others' Freedom.
53+
If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.
54+
9. Revised Versions of this License.
55+
ESPRESSIF SYSTEMS (SHANGHAI) PTE LED may publish revised and/or new versions of the ESPRESSIF General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
56+
Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the Espressif General Public License ��or any later version�� applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by ESPRESSIF SYSTEMS (SHANGHAI) PTE LTD. If the Program does not specify a version number of the Espressif General Public License, you may choose any version ever published.
57+
58+
10. Disclaimer of Warranty.
59+
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM ��AS IS�� WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
60+
61+
11. Limitation of Liability.
62+
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
63+
64+
65+
12. Interpretation of Sections 10 and 11.
66+
If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.
67+
68+
END OF TERMS AND CONDITIONS
+183
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,183 @@
1+
esp_iot_sdk_v1.0.1_b1_15_04_02 Release note
2+
-------------------------------------------
3+
4+
Fix bugs:
5+
1. Connect to ESP8266 softAP fail after SmartConfig;
6+
2. SmartConfig loses one bit of SSID
7+
8+
Optimize:
9+
1. espconn_set_opt: set configuration of TCP connection,add parameter for TCP keep-alive
10+
11+
Add APIs:
12+
1. espconn_clear_opt: clear configuration of TCP connection
13+
2. espconn_set_keepalive: set configuration of TCP keep-alive to detect if TCP connection broke
14+
3. espconn_get_keepalive: get configuration of TCP keep-alive
15+
16+
AT_v0.23_b1 release note
17+
Note: AT added some functions so flash size need to be 1024KB or more than that.
18+
19+
Fix bug:
20+
1. Always "busy" if TCP connection abnormally broke during AT+CIPSEND
21+
22+
Optimize:
23+
1. Add UDP transparent transmission
24+
2. Optimize the initial value of AT+CWDHCP?
25+
3. Add TCP keep-alive function in AT+CIPSTART
26+
27+
Add AT command:
28+
1. Add AT+CIPSENDEX which support quit from sending mode by "\0" (so an useful "\0" need to be "\\0")
29+
30+
esp_iot_sdk_v1.0.0_15_03_20 Release Note
31+
----------------------------------------
32+
33+
Optimize:
34+
1. Optimize smartconfig to version v1.0; Please don't call any other APIs during SmartConfig.
35+
2. Optimize AT to version 0.22.0.0;
36+
3. Optimize the protection of system parameters, and add error-check about it;
37+
4. Optimize beacon delay of ESP8266 softAP;
38+
5. Optimize boot to version 1.3(b3);
39+
- Add API system_restart_enhance: for factory test, support to load and run program in any specific address;
40+
- Add APIs to get boot version and start address of current user bin;
41+
- Fix compatibility problem of dual flash;
42+
6. Optimize sniffer, structure sniffer_buf changed, please refer to document;
43+
7. Optimize espconn;
44+
8. Optimize pwm;
45+
9. Other optimize to make the software more reliable;
46+
47+
Add APIs:
48+
1. system_update_cpu_freq: change CPU frequency;
49+
2. wifi_promiscuous_set_mac: set a mac address filter during sniffer;
50+
3. wifi_set_broadcast_if : set which interface will UDP broadcast send from;
51+
52+
Fix bugs:
53+
1. Interrupt during flash erasing will cause wdt reset;
54+
2. Read/write rtc memory;
55+
3. If router disconnect to ESP8266, ESP8266 won't reconnect;
56+
4. Connect to router which hid its SSID
57+
58+
AT_v0.22 release note
59+
60+
Fix bug:
61+
1. Wrong return value of AT+CIPSTATUS;
62+
2. wdt rest after "0,CONNECT FAIL";
63+
64+
Add AT commands:
65+
1. Change AT commands of which configuration will store into flash to two kinds:
66+
XXX_CUR: current, only set configuration won't save it into Flash;
67+
XXX_DEF: default, set configuration and save it to Flash
68+
2. Add SmartConfig in AT:
69+
AT+CWSTARTSMART/AT+CWSTOPSMART: start / stop SmartConfig
70+
Notice: please refer to the document, call "AT+CWSTOPSMART" to stop SmartConfig first since "AT+CWSTARTSMART", then call other AT commands. Don't call any other AT commands during SmartConfig.
71+
2. AT+SAVETRANSLINK: save transparent transmission link to Flash;
72+
Note:AT+CIPMODE=1 set to enter transparent transmission mode, won't save to Flash.
73+
74+
75+
Add AT APIs
76+
1. at_customLinkMax: set the max link that allowed, most can be 10; if you want to set it, please set it before at_init; if you didn't set it, the max link allowed is 5 by default.
77+
2. at_enter_special_state/ at_leave_special_state:Enter/leave AT processing state. In processing state, AT core will return "busy" for any further AT commands.
78+
3. at_set_custom_info:set custom version information of AT which can be got by AT+GMR;
79+
4. at_get_version:get version information of AT lib .
80+
81+
Optimize
82+
1. Add UDP remote ip and remote port is allowed to be parameters of "AT+CIPSEND"
83+
2. Move "AT+CIUPDATE" from lib to AT "demo\esp_iot_sdk\examples\at", AT demo shows how to upgrade AT firmware from a local server. Notice that AT upgrade the bin files name have to be "user1.bin" and "user2.bin".
84+
3. Optimize "AT+CIPSTA", add gateway and netmask as parameters
85+
4. Optimize transparent transmission.
86+
87+
esp_iot_sdk_v0.9.5_15_01_22 Release Note
88+
----------------------------------------
89+
90+
AT becomes a lib attached to esp_iot_sdk, programming guide in "document" shows APIs for user to define their own AT commands, AT bin files are in \esp_iot_sdk\bin\at
91+
92+
Fix bugs:
93+
1. Incorrect status got by API : wifi_station_get_connect_status;
94+
2. Sniffer can not quit without restart;
95+
3. wifi_station_ap_change always return true;
96+
4. TCP connection issues
97+
98+
Add APIs:
99+
1. system_deep_sleep_set_option: set what the chip will do when deep-sleep wake up;
100+
2. wifi_status_led_uninstall;
101+
3. wifi_station_ap_get_info: get information of AP that ESP8266 station connected.
102+
4. wifi_station_dhcpc_status & wifi_softap_dhcps_status : get DHCP status
103+
5. smart config APIs, more details in documents.
104+
6. add beacon_interval parameter in struct softap_config
105+
7. espconn_recv_hold and espconn_recv_unhold to block TCP receiving data and unblock it.
106+
8. AT APIs to let user define their own AT, more details in documents.
107+
108+
Optimize:
109+
1. light sleep, modem sleep, deep sleep
110+
2. compile method: ./gen_misc.sh, then follow the tips and steps.
111+
3. when no buffer for os_malloc, return NULL instead of malloc assert.
112+
4. users can enable #define USE_OPTIMIZE_PRINTF in user_config.h to remove strings of os_printf from ram to irom
113+
5. faster the re-connection of ESP8266 station to router after deep-sleep.
114+
6. update to boot v1.2 to support new format user.bin;
115+
7. update ARP
116+
8. update SSL
117+
9. revised system_deep_sleep,system_deep_sleep(0),set no wake up timer,connect a GPIO to pin RST, the chip will wake up by a falling-edge on pin RST
118+
119+
esp_iot_sdk_v0.9.4_14_12_19 Release Note
120+
----------------------------------------
121+
122+
1. Update sniffer to support capture HT20/HT40 packet;
123+
2. Add APIs to set and get sleep type;
124+
3. Add APIs to get version info of sdk, delete version.h;
125+
4. RAW in LWIP is open source now, add API of function ping;
126+
5. Update spi driver;
127+
6. Optimize APIs related to espconn;
128+
7. Fix some bugs to make the software more reliable;
129+
130+
Known Issue:
131+
1. exception of small probability occured while recving multi-client data in softap
132+
2. restart of small probability occured while tcp client reconnecting
133+
134+
So sorry that we have some known issues here, we will solve it ASAP.
135+
136+
esp_iot_sdk_v0.9.3_14_11_21 Release Note
137+
----------------------------------------
138+
139+
1. Add license documentation of ESPRESSIF SDK
140+
2. Add APIs to read and write RTC memory, and APIs to get RTC time.
141+
3. Add APIs to swap UART0
142+
4. Add API to read ADC, delete adc.c.
143+
5. Add API to read spi flash id
144+
6. Revise struct station_config, add bssid parameters to distinguish different AP with same ssid ;
145+
Note: if station_config.bssid_set == 1 , station_config.bssid has to be set, or connection will fail. So in general, station_config.bssid_set need to be 0.
146+
7. Revise struct scan_config, add scan_config.show_hidden to set whether scan APs which ssid is hidden or not; not scan, set scan_config.show_hidden to be 0.
147+
Add bss_info.is_hidden in struct bss_info to show if this APTs ssid is hidden.
148+
8. Revise struct softap_config, add softap_config.ssid_len. If softap_config.ssid_len == 0, check ssid till find a termination characters; otherwise it depends on softap_config.ssid_len.
149+
9. Revise API "wifi_softap_set_config" to take effect immediately, needs not restart to make the configuration enable any more.
150+
10. Add APIs to set and get physical layer mode(802.11b/g/n)
151+
11. Add APIs to enable and disable DHCP server of ESP8266 softAP
152+
12. Add APIs to enable and disable DHCP client of ESP8266 station
153+
13. Add API to set range of ip address that get from DHCP server
154+
14. Add APIs to set and get how many TCP connections allowed at max.
155+
15. Add APIs to set and get how many TCP clients allowed at max to a TCP server.
156+
16. Revise "wifi_set_ip_info" and "wifi_set_macaddr" to take effect immediately.
157+
17. Fix some bugs to make the software more reliable.
158+
159+
ESP8266EX: Fix A Potential Error For UART RX in esp_iot_sdk_v0.9.2_14_10_24
160+
---------------------------------------------------------------------------
161+
162+
The previously released SDK for ESP8266EX inadvertently introduced a bug that may cause a little packet loss when transferring packet by Uart RX.
163+
So for now,I will release the patch for this bug.Please download the patch from the attachment,and refer to the following steps:
164+
Following Commands:
165+
1. REPLACE LIBPHY.A IN SDK/LIB
166+
2. ADD LIBPP.A TO SDK/LIB
167+
3. MODIFY SDK/APP/MAKEFILE
168+
4. ADD "-lpp \" AS BELOW
169+
-lgcc
170+
-lhal
171+
-lpp
172+
-lphy
173+
-lnet80211
174+
-llwip
175+
-lwpa
176+
-lmain
177+
-lssc
178+
-lssl
179+
180+
esp_iot_sdk_v0.9.2_14_10_24 Release Note
181+
----------------------------------------
182+
183+
Initial version for public, can be compiled on both windows and lubuntu.

0 commit comments

Comments
 (0)