Commit Graph

156 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
Benjamin Marty
9b1dba19f4 README: Added wget & bzip2 to apt-get. 2016-06-12 02:12:55 +03:00
Paul Sokolovsky
485f53368b esptool: Upgrade to latest upstream (v1.2-dev). 2016-06-11 22:04:38 +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
Leon Woestenberg
62bda07d7c README: Mention python-dev as development host dependency.
Required to build cross-gdb.
2016-06-11 12:38:13 +03:00
Paul Sokolovsky
90eb4a8d83 esp-open-lwip: Update, another -mforce-l32 fix. 2016-05-27 01:55:56 +03:00
Paul Sokolovsky
6cc801e9c3 crosstool-NG: Update to the latest xtensa-1.22.x upstream HEAD.
Contains fixes for host-side GCC 6.x.
2016-05-25 01:34:19 +03:00
Paul Sokolovsky
ff88978708 esp-open-lwip: Update to latest upstream. 2016-05-22 18:33:28 +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
Paul Sokolovsky
7625d2e270 README: Add help2man to the list of requirements.
Building gcc 4.8.5 based crosstool-NG asked for it.
2016-05-22 12:45:05 +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
Paul Sokolovsky
1e7888b26f esp-open-lwip: Switch to sdk-1.5.0-experimental branch. 2016-05-15 22:40:10 +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
imShara
0cf36c05b2 examples/blinky: Fix "make clean" with changing 0x400000 to 0x40000. 2016-05-13 21:02:59 +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
Paul Sokolovsky
0d69c85350 esp-open-lwip: Update for upstream rebase. 2016-05-12 14:36:10 +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
40e6883285 README: Suggets doing "git submodule update --init".
To pick up new submodules.
2016-04-19 23:59:12 +03:00
Paul Sokolovsky
63ad1888ac esp-open-lwip: Use sdk-1.5.0-default-mss branch. 2016-04-19 23:47:47 +03:00
Paul Sokolovsky
e42da92b05 esp-open-lwip: Update to rebased upstream. 2016-04-19 23:46:35 +03:00
Paul Sokolovsky
cfe15bd826 Makefile: Unbreak STANDALONE=n build by skipping lwip. 2016-04-15 03:44:30 +03:00
Paul Sokolovsky
f4c8cb9e70 esptool: Switch to upstream https://github.com/themadinventor/esptool 2016-04-15 03:28:59 +03:00
Paul Sokolovsky
d0d9997ec5 esp-open-lwip: Update to the latest upstream. 2016-04-14 00:54:18 +03:00
Paul Sokolovsky
d7c9889cbb esptool: Update to the latest upstream. 2016-04-13 01:22:33 +03:00
Paul Sokolovsky
e33c0ad3be esp-open-lwip: Switch to sdk-1.5.0-default-mss branch. 2016-04-09 15:22:24 +03:00
Paul Sokolovsky
d86df3497f examples: Remove binary which randomly got into the repo. 2016-04-09 15:16:39 +03:00
Paul Sokolovsky
ee9b6a231b esptool: Update to 2ea873d (latest upstream as of now). 2016-04-02 22:23:53 +03:00
Paul Sokolovsky
7235b03ebd esptool: Update to upstream (ebf02c92). 2016-03-30 15:09:48 +03:00
Paul Sokolovsky
55d6be74ff README: Mention requirement of bash. 2016-03-13 23:37:25 +07: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
5ab90beb3b esp-open-lwip: New submodule, open-source lwIP from Espressif.
Espressif releases are imported into https://github.com/pfalcon/esp-open-lwip
And that's what added as a submodule. Includes simple no-nonsense Makefile,
and going forward, may include patches or be switched to upstream lwIP with
ESP-specific patches altogether.
2016-03-03 17:49:28 +02:00
Paul Sokolovsky
865a0e0fbf Switch default SDK to 1.5.2. 2016-02-15 12:34:50 +02:00
Paul Sokolovsky
e32ff68594 README: Make it explicit that STANDALONE=y is the default choice. 2016-02-11 21:44:10 +02:00
Matthias Ludwig
b8694b40a7 Examples: add blinky 2016-02-11 21:16:58 +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
13bf925358 README: Add explicit "Using the toolchain" section. 2016-02-08 18:39:27 +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