Commit a3145da5 authored by Yury Popov's avatar Yury Popov Committed by GitHub
Browse files

Minify ESP8266 toolchain archive for CI (#1743)

* Minify ESP8266 toolchain archive for CI
* Disable iROM size fix for CI builds
Fixes #884
parent a271ce4d
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment