Browse Source

Minify ESP8266 toolchain archive for CI (#1743)

* Minify ESP8266 toolchain archive for CI
* Disable iROM size fix for CI builds
Fixes #884
Yury Popov 7 years ago
parent
commit
a3145da52b
4 changed files with 2 additions and 7 deletions
  1. 2 2
      .travis.yml
  2. BIN
      tools/esp-open-sdk.tar.gz
  3. BIN
      tools/esp-open-sdk.tar.xz
  4. 0 5
      tools/pr-build.sh

+ 2 - 2
.travis.yml

@@ -11,12 +11,12 @@ cache:
   - directories:
     - cache
 before_install:
-- pip install --user hererocks
+- pip install --user hererocks esptool
 - hererocks env --lua 5.1 -rlatest
 - source env/bin/activate
 - luarocks install luafilesystem
 install:
-- tar -zxvf tools/esp-open-sdk.tar.gz
+- tar -Jxvf tools/esp-open-sdk.tar.xz
 - export PATH=$PATH:$PWD/esp-open-sdk/xtensa-lx106-elf/bin
 script:
 - lua tools/cross-lua.lua || exit 1

BIN
tools/esp-open-sdk.tar.gz


BIN
tools/esp-open-sdk.tar.xz


+ 0 - 5
tools/pr-build.sh

@@ -19,11 +19,6 @@ sed -E -i.bak 's@// ?#define DEVELOP_VERSION@#define DEVELOP_VERSION@' user_conf
 sed -i 's@//#define BUILD_FATFS@#define BUILD_FATFS@' user_config.h
 cat user_config.h
 
-cd "$TRAVIS_BUILD_DIR"/ld || exit
-# increase irom0_0_seg size for all modules build
-sed -E -i.bak 's@(.*irom0_0_seg *:.*len *=) *[^,]*(.*)@\1 0xD0000\2@' nodemcu.ld
-cat nodemcu.ld
-
 # change to "root" directory no matter where the script was started from
 cd "$TRAVIS_BUILD_DIR" || exit
 make clean