1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00

43 Commits

Author SHA1 Message Date
Me No Dev
07f4d4c241 Lwip addons (#2260)
* Add multicast TTL to UDP and rework UdpContext

* Add limit for TCP TIME_WAIT pcbs

* Add liblwip_gcc.a

* Make the changes be backward compatible with the current xcc version
2016-07-11 21:07:45 +08:00
Ivan Grokhotkov
93d627a61d Update SDK to 1.5.4 (#2138) 2016-06-23 18:39:40 +08:00
Ivan Grokhotkov
d7d98d03ca Use libc from newlib (#1752)
* Use newlib libc library

This change adds libcmin.a, which is created from newlib libc by selectively removing some of the object files (mostly related to heap management).
The list of files is available in tools/sdk/lib/make_libcmin.sh. Files which are not needed are commented out.
This change adds support for various functions which were missing, like sscanf, strftime, etc.

* Fix some of the time functions

* Redirect stdout to serial

* Implement __putc_r

* Switch to custom newlib build

Built from https://github.com/igrr/newlib-xtensa using:
./configure --with-newlib --enable-multilib --disable-newlib-io-c99-formats --enable-newlib-supplied-syscalls --enable-target-optspace --program-transform-name="s&^&xtensa-lx106-elf-&" --disable-option-checking --with-target-subdir=xtensa-lx106-elf --target=xtensa-lx106-elf --enable-newlib-nano-formatted-io --enable-newlib-reent-small  --prefix=path-to-arduino-core/tools/sdk/libc
CROSS_CFLAGS="-DMALLOC_PROVIDED -DSIGNAL_PROVIDED -DABORT_PROVIDED" make
make install

* Update tests
2016-06-23 17:27:57 +08:00
Ivan Grokhotkov
fc80526ebf Remove symbols defined in abi.cpp from libstdc++ 2016-06-13 15:02:59 +08:00
Ivan Grokhotkov
9dd7910aed Enable SO_REUSE in LwIP and WiFiServer (#1431) (#2140) 2016-06-13 10:36:10 +08:00
Ivan Grokhotkov
0f0386e3c4 Update axTLS to ab516f7
fe6e51a...ab516f7
2016-06-13 00:56:38 +08:00
Ivan Grokhotkov
6bb8e1145b Rebuild libstdc++ with mlongcalls and link against it (#1983) 2016-06-07 22:47:35 +08:00
Ivan Grokhotkov
9e60d4d463 Update axTLS to fe6e51a (1.5.3+) 2016-06-01 17:40:04 +08:00
Ivan Grokhotkov
e8b8a606e4 Update axTLS to 139914f
- Fix occasional software WDT due to lengthy bigint operations
- Implement truly blocking reads as a workaround for half-duplex nature of axTLS
2016-05-10 23:34:33 +08:00
Ivan Grokhotkov
a2b82ed6b6 Use gcc-built LwIP by default (#1926)
It is still possible to use xcc-built LwIP by selecting "Core Development" board from tools menu.
2016-05-06 20:09:15 +08:00
Ivan Grokhotkov
f266f8a2ff Update SDK to 1.5.3 2016-05-06 19:33:48 +08:00
Ivan Grokhotkov
c8a1507504 Update axTLS to 69c757f
Fix issue with handling of large certificates (#1816)
2016-04-19 09:32:51 +03:00
Ivan Grokhotkov
8c65f2fcd0 Update axTLS to fe4518d, SNI support in WiFiClientSecure (#1285)
Fixes #1933
2016-04-19 08:29:13 +03:00
Ivan Grokhotkov
1b93072d2a Add LwIP binary built with gcc 2016-03-29 17:49:37 +03:00
Ivan Grokhotkov
aa9f47bba7 Add missing airkiss files 2016-03-29 17:48:37 +03:00
Ivan Grokhotkov
477e9cfb8a Update SDK to 1.5.2 (#1653)
patch included: http://bbs.espressif.com/viewtopic.php?f=46&t=1856
2016-03-29 17:24:37 +03:00
Ivan Grokhotkov
efa35e257a Update axTLS to 5b4be7d
Changes:
5b4be7d2738de5874f2e302157a0b726fe7bd4a6 Reserve 16k fragment buffer only when it is actually required.
b33ef68e6a3e2be1171e5a9f5b6156af424489ec Fix handshake status not being set if increase_bm_data_size fails
2016-03-02 15:47:12 +03:00
Ivan Grokhotkov
e206093b60 Update libaxtls.a to 324c2fd
Changelog:
324c2fdade3f39b4c7fb7fbe707f4a313023ecd3 Terminate connection if increase_bm_data_size fails
96fbb39f21d3af7ca3e4dee78f8c45c4e2e652b5 Update README.md
c18bb56e6100177cfa0bef3c90708efb9d7a071d Add travis CI
9eaeca3a030692bdf949b89d80705061b516f70b Postpone freeing of X509 context to the first data exchange after handshake
28869ea94b3b1cabfbe8679d962adc12ba0b28db Use free followed by malloc instead of realloc when increasing raw buffer
43a90bcf3559ed145db9286f28bdcd8b07832b51 Merge pull request #8 from slaff/feature/lwipr-compat
66e1a5f423c0ee25d4318968ea14384887d287aa Merge pull request #7 from slaff/feature/sni
1154d0a985cc442f39f5e6b3678a7d4ffca5db31 Changed the code to reserve bytes for hostname only if needed.
63da8991c2878f2a7cd526667f9e23adc9dca1c9 Added SNI ( https://en.wikipedia.org/wiki/Server_Name_Indication ) support.
7c38865f66cfdd0884183619b0d1e89b8717cb01 Restructured the lwip raw comat code. Added replacements for the time functions on ESP8266.
885ff3e8f0455d48acbc5e67557602e9d548fd81 Merge pull request #6 from slaff/feature/lwip-raw
d78e7a07998f456d452a760d478d1518b009fd4a Initial version of axTLS integration with lwip raw tcp mode (http://lwip.wikia.com/wiki/Raw/TCP).
2016-02-26 18:41:27 +03:00
Ivan Grokhotkov
30b2a99b3f Remove mem_manager.o from libmain.a (#1630) 2016-02-15 00:24:19 +03:00
Ivan Grokhotkov
339140c756 Use umm_malloc for heap management 2016-02-04 13:14:47 +03:00
Markus Sattler
a276e81761 update SDK to 1.5.1_16_01_08
esp_iot_sdk_v1.5.1_16_01_08 Release Note
----------------------------------------
Resolved Issues (Bugs listed below apply to Bug Bounty Program):
1.espconn_abort may cause system crash.

Optimization:
1.Optimize the data receiving process under TCP connection.
2.Optimize low MAC and increase stability of the software.
3.Optimize watchdog feeding process.
4.Optimize softAP working mode so that some stations can be easily connected.
5.Optimize station working mode, enabling connection even when the SSID of the AP has changed.
6.Optimize station working mode, and increase router’s compatibility during the connection process.
7.Optimize SSL shakehand.
8.Optimize espconn internal timer.
9.Optimize UDP transmission.
10.Improve the flash writing process.
11.Strenthen WPA2 security protocols.
12.Improve data sending ability.
13.Straighten the control capability of GPIO16 under light sleep mode.
14.boot.bin is upgrade to version 1.5, resolving boot failure when firmware is upgraded over the air (OTA).

AT release note:
1.Optimize the process of establishing TCP server via AT command.
2.Optimize UART-WiFi transparent transmission mode via AT command.

Please be noted that with the release of NONOS SDK Version 1.5.0 (ESP8266_NONOS_SDK_V1.5.0), the space that AT commands occupies has increased to more than 4Mbit. Therefore, flash with 512Kbit capacity is no longer supported. Please choose flash with at least 8Mbit capacity.

Please be noted that firmware upgrade over-the-air process is changed a bit. We will upgrade the latest firmware to Espressif Cloud server only after it has been tested and the overall performance is guaranteed. Users may not be able to download firmware encapsulated in ESP8266_NONOS_SDK_V1.5.0 and other more advanced versions.
2016-01-09 11:50:58 +01:00
Ivan Grokhotkov
28d1ef3f0f Rebuild liblwip.a with debugging symbols
Source: http://bbs.espressif.com/viewtopic.php?f=46&t=1459
2015-12-23 12:33:11 +03:00
Markus Sattler
e84e6f8ae8 add patch esp_iot_sdk_v1.5.0_15_12_15_p1
espressif:

Here is a patch based on ESP8266_NONOS_SDK_V1.5.0 solved a problem that calling espconn_abort may cause unexpected reset.
2015-12-22 10:20:06 +01:00
Ivan Grokhotkov
70cf3c36ef Add missing AES table pointers (#1271, #1256) 2015-12-22 07:59:54 +03:00
Ivan Grokhotkov
b66ddbf93a Update to SDK 1.5 (#1102) 2015-12-17 23:14:59 +03:00
Ivan Grokhotkov
14b70e9328 Allow setting client side TLS key and certificate 2015-12-04 19:02:46 +03:00
Ivan Grokhotkov
655437752b Update axTLS to 34ff442
Use hardware RNG
2015-12-03 09:09:47 +03:00
Ivan Grokhotkov
e9f0ea2afe WiFiClientSecure: handle full size TLS fragments (#43)
- free up some memory by getting rid of intermediate buffer
- libaxtls: update to 6830d98
    - allocate plaintext buffer in two stages: 4*MSS initially, grow to 16k after handshake
    - free certificate data after handshake is complete
    - preallocate some structures to reduce memory fragmentation
2015-11-17 02:47:57 +03:00
Ivan Grokhotkov
001a129c3a Fix heap node corruption (#428) 2015-09-28 11:59:34 +03:00
Ivan Grokhotkov
ed1a4063a2 Update libaxtls to 6f48f0d 2015-09-19 22:38:18 +03:00
Ivan Grokhotkov
f73d414f38 WiFiClientSecure: add certificate fingerprint verification (#43) 2015-09-14 10:22:54 +03:00
Ivan Grokhotkov
9a2f2f2849 Add axTLS, first draft of WiFiClientSecure (#43) 2015-09-01 15:45:12 +03:00
Markus Sattler
ac84ff3326 esp_iot_sdk_v1.3.0_15_08_10_p1 Release Note
----------------------------------------

Here is a patch based on esp_iot_sdk_v1.3.0 (non-OS SDK) resolved issue that if there are 2 connections, one is normal TCP connection, the other is SSL connection, it may cause memory leak.

Download and unzip the attachment, replace the lib in esp_iot_sdk/lib folder.

Please do not set the same priority for two different tasks when using system_os_task.

Sorry for the inconvenience.
2015-08-10 17:33:29 +02:00
Ivan Grokhotkov
7bfd425754 Update to SDK 1.3.0 2015-08-10 10:51:09 +03:00
Markus Sattler
a8f44af500 update SDK to esp_iot_sdk_v1.2.0_15_07_13_p4
Here is a patch of memory optimization based on SDK_v1.2.0
1. It saved about 8KBytes memory.
2. It revised problem that change mode may cause memory leak.
3. Update SmartConfig to version 2.4.3

Please replace the lib in \esp_iot_sdk_v1.2.0\lib

Thanks for your interest in Espressif Systems and ESP8266 !
2015-07-15 13:37:28 +02:00
Markus Sattler
7f2c291ca0 patch the SDK to latest version (3 patches)
esp_iot_sdk_v1.2.0_15_07_09_p3 Release Note
-------------------------------------------

Here is a patch based on SDK_v1.2.0 solved problem that if AP’s SSID is hidden,ESPTOUCH may get wrong BSSID of AP and cause connection fail.
Please replace the lib in \esp_iot_sdk_v1.2.0\lib

Sorry for the inconvenience.

esp_iot_sdk_v1.2.0_15_07_09_p2 Release Note
-------------------------------------------

Updated libssl again. To support SHA-256 and SHA-512.

Thanks for your interest in Espressif Systems and ESP8266 !

esp_iot_sdk_v1.2.0_15_07_08_p1 Release Note
-------------------------------------------

Here is a patch based on SDK_v1.2.0 solved problem that abnormal SSL disconnection may cause reset.
Please replace the lib in \esp_iot_sdk_v1.2.0\lib

Sorry for the inconvenience.
2015-07-11 20:41:17 +02:00
Markus Sattler
c77fbb2383 update SDK to v1.2.0_15_07_03 2015-07-04 09:45:05 +02:00
Markus Sattler
dd98d84ce2 esp_iot_sdk_1.1.2_15_06_25_p2 Release Note
-------------------------------------------

Here is a patch based on SDK_v1.1.2 solved problem of abnormal current during modem-sleep.
Please replace the lib in \esp_iot_sdk_v1.1.2\lib

Sorry for the inconvenience.

esp_iot_sdk_v1.1.2_15_06_24_p1.1 Release Note
-------------------------------------------

Here is a patch for AT firmware based on SDK_v1.1.2 resolved issue that AT user parameter area was located in wrong address,it may cause WiFi configuration goes wrong.

Please update to this new AT bin files and call "AT+RESTORE" to factory reset. If you call “AT+CIPUPDATE” to upgrade,please also call "AT+RESTORE" to factory reset once.

“AT_bin_v0.25_1024+KB_flash_can_upgrade.zip”
- normal AT bin,runs with boot.bin,can FOTA upgrade,need to use 1024KB flash

“AT_bin_v0.25_for_512KB_flash_cannot_upgrade.zip”
- for old version module which flash size is 512KB
eagle.flash.bin downloads to flash 0x00000
eagle.irom0text.bin downloads to flash 0x40000
can not FOTA upgrade,please don‘t call “AT+CIPUPDATE”

"SDK_v1.1.2_AT_patch_01.zip"
- libs for users who need to compile their own AT firmware,replace libs in \esp_iot_sdk_v1.1.2\lib

So sorry for the inconvenience.
2015-06-27 00:15:04 +02:00
Markus Sattler
8f6d1e33d2 update SDK to esp_iot_sdk_v1.1.2_15_06_16_p1 2015-06-17 11:54:46 +02:00
Markus Sattler
7c45873ffb update to SDK 1.1.1_15_06_05 2015-06-06 13:48:53 +02:00
Markus Sattler
883278ae4e apply patch 1 for SDK v1.1.0
espressif:

Here is a patch based on SDK_v1.1.0 resolved issues below:
1. SDK 1.1.0 may boot fail if SPI Flash speed is 80MHz.
2. Memory Leak in libssl when SSL connection fail.
3. Update smartconfig, please using it with the latest Espressif APP https://github.com/EspressifApp

Sorry for the inconvenience.
2015-05-28 17:15:49 +02:00
Ivan Grokhotkov
01d0f61429 Update SDK to 1.1.0 (#306) 2015-05-23 12:48:56 +03:00
Ivan Grokhotkov
870b8b9478 Move tools to platform directory 2015-05-18 16:04:30 +03:00