Commit Graph

85 Commits

Author SHA1 Message Date
Paul Sokolovsky
e629109c76 Add default implementation of user_rf_cal_sector_set() callback.
Suddenly introduced in SDK 1.5.4+patch/SDK 2.0.0, another callback most
users won't care about. Vendor's description is: "Set the target flash
sector to store RF_CAL parameters. The system parameter area (4 flash
sectors) has already been used, so the RF_CAL parameters will be stored
in the target sector set by user_rf_cal_sector_set." It's a mystery how
all the previous SDK version worked without a need to store this info
in flash (actually, that was one of the "selling points" of ESP8266,
setting it aside from all other chips which had RF calibration in flash),
and 2.0.0 suddenly decided to do it.

So, make this default user_rf_cal_sector_set() implementation return
flash_sectors - 5, so the last 20KB/5 sectors of flash should be
reserved for systems needs (vs 16KB/4 sectors in previous SDKs).
2016-08-01 00:22:26 +03:00
Jeremy Drake
c1974f7551 Added sdk 2.0.0.
Per pfalcon/esp-open-sdk#183
2016-07-26 21:55:55 -07:00
Paul Sokolovsky
03f5e898a0 Makefile: Make SDK 1.5.4 default. 2016-06-13 17:53:49 +03:00
Paul Sokolovsky
0ea6a4ea10 SDK 1.5.4: Rename directory to avoid name clash with future versions.
For this version directory, as put by the vendor into zip file, lacks version
suffix.
2016-06-11 20:02:36 +03:00
Tobias Kohlbau
8f9f0eb969 Add SDK 1.5.4.
Signed-off-by: Tobias Kohlbau <tobias.kohlbau@gmail.com>
2016-06-11 12:49:56 +03:00
sermus
875e9d6483 crosstool-NG: Switched to xtensa-1.22.x upstream branch (gcc 4.8.5).
1000-mforce-l32.patch retargetted to GCC 4.8.5.
2016-05-22 13:00:20 +03:00
John Cooper
9edd758891 Fix filename of SDK 1.5.2 Patch01 in download target. 2016-05-17 12:25:09 +03:00
Paul Sokolovsky
8297c7c515 sdk_patch_1.5.2: Fix filename. 2016-05-16 23:44:30 +03:00
Jeremy Drake
a48b12fd71 Add patch for sdk 1.5.2, from http://bbs.espressif.com/viewtopic.php?f=46&t=1856 2016-05-13 21:07:54 +03:00
Jeremy Drake
a1f1e10bc2 SDK 1.5.3: Update URLs and extraction directory.
To match what is on Espressif's site now (as of 4/22/2016).
2016-05-13 20:29:45 +03:00
Lefteris Chatzipetrou
cab39f4c48 Add SDK 1.5.3. 2016-05-13 20:27:35 +03:00
martinmarcos
9bd3aba51c Makefile: Fix lwip library build when building STANDALONE=y.
When building STANDALONE=y toolchain fails to build do to lwip library
failing to build. Lwip library file "liblwip_open.a" fails to build
because its looking for xtensa-lx106-elf-ar in wrong path. Proposed fix
is to pass the correct AR path to esp-open-lwip/Makefile.open as it was
done with CC path.
2016-04-21 00:26:06 +03:00
Paul Sokolovsky
cfe15bd826 Makefile: Unbreak STANDALONE=n build by skipping lwip. 2016-04-15 03:44:30 +03:00
Paul Sokolovsky
a890758ed8 Set SHELL to /bin/bash, as bash-specific syntax is used. 2016-03-13 23:35:32 +07:00
Paul Sokolovsky
9820cf981e Add -mforce-l32 patch by Max Filippov @jcmvbkbc.
6b0c9f92fb.patch
2016-03-10 09:17:13 +07:00
Paul Sokolovsky
511ff3c290 Install lwIP headers into toolchain sysroot for easy access.
"arch" directory (and somewhat "netif" too) aren't namespaced well enough,
but they're still kind of system headers, as lwIP is a foundation of ESP
networking, so any conflicts would be problem of conflicting packages.
2016-03-09 08:09:39 +07:00
Paul Sokolovsky
cc4589ef6c Add build dependencies for lwIP. 2016-03-06 03:02:27 +02:00
Paul Sokolovsky
0ae03bfd2e Build open-source lwIP (-llwip_open) as part of normal build. 2016-03-05 00:30:37 +02:00
Paul Sokolovsky
7553dd6d48 Add "lwip" target to build open-source lwIP (via submodule). 2016-03-04 00:33:37 +02:00
Paul Sokolovsky
865a0e0fbf Switch default SDK to 1.5.2. 2016-02-15 12:34:50 +02:00
Joost van Dijk
ea91b81598 Use xtensa-lx106-elf-ar instead of native ar.
See https://github.com/pfalcon/esp-open-sdk/issues/132
2016-02-11 21:10:39 +02:00
Paul Sokolovsky
810c68e1e6 Switch default SDK to 1.5.0. 2016-02-08 18:27:25 +02:00
Paul Sokolovsky
09bf82e774 Add SDK 1.5.2.
http://bbs.espressif.com/viewtopic.php?f=46&t=1702

"""
Release Notes
Resolved Issues(Bugs below are eligible for Bug Bounty Program):

    Strange os_timer_arm behavior.

Optimization:

    Added SDIO slave driver. Developers are now able to implement AT commands based on SDIO interface by themselves.
    Optimized SSL shakehand.
    Upgraded second-level boot to support HSPI flash.
    Added AirKiss library.
    Updated sample code smart_config (esp_iot_sdk\examples\smart_config).
    The 114th byte of esp_init_data_default.bin is modified to be 1. Please use the latest esp_init_data_default.bin.
    Added sample code at_espconn (esp_iot_sdk\examples\at_espconn), showing how to transmit AT commands via the internet.

Added APIs:

    SDIO slave APIs
    sdio_slave_init: initialize SDIO slave
    sdio_load_data: upload data to SDIO buffer.
    sdio_register_recv_cb: register Callbacks of data received by SDIO.
    AirKiss APIs
    airkiss_version: get version information of AirKiss.
    airkiss_lan_recv: used to detect and analyze AirKiss data packets.
    airkiss_lan_pack: used to analyze AirKiss data packets, and to organize response packets waiting to be responded.
    AT UART simulation APIs
    at_fake_uart_enable : enable AT UART simulation.
    at_fake_uart_rx : AT UART RX for simulation.

Known Issue:

    SSL misbehavior.
"""
2016-02-06 13:44:23 +02:00
Paul Sokolovsky
817a841dea SDK 1.5.1: Add libwpa.a workaround. 2016-02-06 13:43:43 +02:00
Paul Sokolovsky
237ea19254 SDK 1.5.1: Add esp_sdk_ver.h. 2016-02-06 13:05:34 +02:00
Paul Sokolovsky
fc69adf64b SDK 1.5.0: Add backwards compatibility library augmentation.
1.5.0 factored out some crypto functions to libcrypto.a, but software built
with older SDK versions oftentimes doesn't link with that lib, so put related
objects back to a lib they were in previously, specifically merge libcrypto.a
content into libwpa.a.

Caveat: this may lead to further issues when using new libwpa2.a, so may need
tweaks in the future.
2016-02-06 11:06:38 +02:00
Paul Sokolovsky
8c69c5da7e Add "esp_sdk_ver.h" headers to at least SDK builds since 1.0.0.
It defines ESP_SDK_VERSION macro, with two decimal digits per SDK version
component, e.g. 010500 for 1.5.0.
2016-02-06 11:00:32 +02:00
Paul Sokolovsky
fcb77ffd0e Use generic VENDOR_SDK_DIR when patching c_types-c99.patch.
Instead of constantly suffixing it with different SDK version.
2016-02-06 10:48:16 +02:00
Erik Slagter
7f16ac6a30 Added sdk 1.5.1. 2016-01-25 01:20:58 +02:00
Olaf Mandel
19bd6df742 Format Makefile (1/2): reorder lines
Format the Makefile to be more readible and easier to navigate for the
first-time reader. This way, the Makefile becomes its own documentation.
The general layout is:
 * General configuration
 * Internal variables
 * Global rules
 * Free/Libre Tools
 * Non-free SDK

This step brings all statements (variable assignments and rule-blocks) in
the Makefile in a new order. No further edits were done. One possible
sanity check is:

diff <(sort Makefile.orig) <(sort Makefile.new)
2016-01-08 00:01:08 +02:00
Paul Sokolovsky
0e1315acdf Makefile: Keep sdk patch rules together. 2016-01-02 17:11:38 +02:00
Paul Sokolovsky
d353554cb6 Makefile: Group user-settable vars at the top, add comments for each. 2016-01-02 17:09:59 +02:00
Paul Sokolovsky
ae77cda74b Makefile: Factor out common patch options. 2016-01-02 17:04:16 +02:00
Paul Sokolovsky
24bd9c160d Makefile: Move tool defines below in a file. 2016-01-02 16:46:38 +02:00
Paul Sokolovsky
36bc0ad037 sdk 1.4.0: Patch dhcps_lease structure to let lwIP build.
Based on vendor "patch" at http://bbs.espressif.com/viewtopic.php?f=46&t=1221 .
2016-01-02 16:43:16 +02:00
Slavey Karadzhov
6b6ab574a1 Added SDK 1.5.0, not made default as it breaks backwards compatibility.
Per the release notes, -lcrypto needs to be added to avoid linking errors.
2015-12-02 22:05:27 +02:00
Slavey Karadzhov
2df0123d9f Update to SDK 1.4.0.
For details see: http://bbs.espressif.com/viewtopic.php?f=46&t=1124
2015-10-04 02:03:18 +03:00
Jens Jensen
b44afa47b5 Update to SDK 1.3.0. 2015-08-15 11:21:20 +03:00
Paul Sokolovsky
ccf1cfd2b8 libsmartconfig_2.4.2.zip is no longer needed or downloadable. 2015-07-24 21:37:03 +03:00
Paul Sokolovsky
db34de1c74 1.2.0: Appears that latest mem_optimize patch supercedes previous patches. 2015-07-23 20:56:54 +03:00
Slavey Karadzhov
8f30ff5199 1.2.0: Add patch optimizing RAM usage.
See: http://bbs.espressif.com/viewtopic.php?f=5&t=734 .
2015-07-23 20:55:53 +03:00
Paul Sokolovsky
641af54864 Add yet another libssl patch for SDK 1.2.0. 2015-07-09 13:23:08 +03:00
Paul Sokolovsky
6181bd40aa Fix name clashes with ever-occurring libssl patches. 2015-07-09 13:20:59 +03:00
nqdinh
715848aea1 Update SDK to version 1.2.0 2015-07-09 13:13:49 +03:00
Paul Sokolovsky
3ea88df2fb Add sleep issue patch for SDK 1.1.2. 2015-07-03 23:05:15 +03:00
Paul Sokolovsky
c731c1b88a Add scan issue patch for SDK 1.1.2. 2015-07-03 22:48:48 +03:00
Paul Sokolovsky
ea07dab857 clean: Be sure to remove crosstool-NG/.build/src .
This is required to ensure clean rebuilds regardless the nature of changes
(it's for example required to re-apply patches).
2015-06-13 23:25:56 +03:00
slaff
5c7a3dae7b Update SDK to version 1.1.2 2015-06-13 23:23:51 +03:00
Slavey Karadzhov
3d6ae40d40 Added support for SDK 1.1.1. 2015-06-08 22:51:43 +02:00
Slavey Karadzhov
266ed20b10 Added SDK 1.1.0 patch 1. See: http://bbs.espressif.com/viewtopic.php?f=5&t=508. 2015-05-28 11:15:49 +03:00