Commit Graph

107 Commits

Author SHA1 Message Date
15beab9f4b Update crosstool-ng 2023-01-20 23:54:37 -08:00
Jeff H
de7b51520b use arduino default sdk (NONOSDK22x_190703) 2021-09-23 17:55:26 -07:00
Jeff H
0fe56df2c5 revert update to latest 2.2.x - something broken, maybe SPI flash related 2019-03-19 09:38:54 -07:00
Jeff H
f423afd49e Update lwip2, use latest SDK release/v2.2.x 2019-02-26 11:40:27 -08:00
Jeff H
cf20b1f4c7 update makefile to v2.2.2, do clean + install lwip2 in main targets 2019-02-14 22:35:45 -08:00
Jeff H
4bbc081f46 lwip2: revert sdk to sdk2, install to sysroot 2019-02-13 19:09:09 -08:00
Jeff H
e91ace4506 3.x: crosstool-ng update for GCC 7.4.0 2019-01-21 11:57:23 -08:00
Jeff H
f98ee40b81 changes for sdk3.x 2019-01-03 18:00:36 -08:00
Jeff H
e3f768a2e4 add gcc 8.2.0 2018-10-26 13:00:20 -07:00
Jeff H
a7bac0832f working for gcc 6.4.0 + 7.3.0 2018-10-26 11:42:01 -07:00
Jeff H
cad5d8d15a makefile changes for newer ct-ng 2018-10-25 22:30:41 -07:00
Paul Sokolovsky
5518fb6116 Makefile: Set default vendor SDK version to 2.1.0-18-g61248df (KRACK fix).
By the information provided by Espressif, this version contains fix
for the KRACK vulnerability.

More info: https://github.com/pfalcon/esp-open-sdk/issues/296
2018-02-08 12:19:43 +02:00
Paul Sokolovsky
11ca71d47d Makefile: Fix "git co" into "git checkout".
(Local alias leaked.)
2017-11-08 18:03:11 +02:00
Paul Sokolovsky
11a7e7e57f Makefile: Add vendor SDK 2.1.0-18-g61248df.
Since 2.1.0 zip release, the way of SDK distribution switched to git repo
with binary blobs and stuff. The repo isn't tagged properly for releases,
so above "git describe --tags" output is used.

This SDK version contains alleged fix for KRACK vulnerability.
2017-11-05 01:25:07 +02:00
Tamas TEVESZ
350c0e9174 Makefile: replace references to make with $(MAKE)
make is not always GNU make; the latter  may go by different names.
This helps builds on systems where the default make is not GNU make.
2017-06-23 20:43:50 +03:00
ArchontPL
f2031692d8 Makefile: Changes in PATH for Windows environments.
Added quotation marks when setting PATH - without it compilation on
Cygwin, etc. may lead to an error. PATH on Windows can contain spaces e.g.
'C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common' which causes
problems.
2017-06-23 20:37:07 +03:00
Geoffrey McRae
b069537944 Added SDK 2.1.0 to the build 2017-05-28 09:09:46 +03:00
Paul Sokolovsky
24f10eb164 Switch to SDK 2.0.0 by default.
Firmware built with SDK 2.0.0 can't be programmed to blank flash (will
lead to bootloop), so affected parties should be prepared to flash
esp_init_data_default.bin manually, or update their firmware to detect
blank flash and initialize default data automatically (what previous
versions of vendor SDK did themselves).
2016-10-17 20:08:28 +03:00
Paul Sokolovsky
5caadc5428 Makefile: Group "clean" targets together. 2016-10-17 19:47:53 +03:00
Paul Sokolovsky
89ecaadb99 Switched SDK 2.0.0 from archive 16_07_19 to 16_08_10.
Checked that the only change is addition of "Espressif MIT" license
blurb to various header and source files. The libraries stay exactly
the same (and thus patch_16_08_09 is still needed).
2016-10-11 18:48:06 +03:00
Jeremy Drake
e95cd3ae22 Add patch for SDK 2.0.0 (20160809). 2016-08-28 15:16:21 +03:00
Jeremy Drake
9dac80583d Added vendor sdk include dir to compile user_rf_cal_sector_set.c
Also specified dependency on $(VENDOR_SDK_DIR)/.dir.

While I was at it, made same changes to empty_user_rf_pre_init.c, even
though it doesn't seem to be built anymore, and removed the .o files in
clean-sdk target.
2016-07-31 20:14:04 -07:00
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