Minify ESP8266 toolchain archive for CI (#1743)
* Minify ESP8266 toolchain archive for CI * Disable iROM size fix for CI builds Fixes #884
This commit is contained in:
parent
a271ce4d34
commit
a3145da52b
|
@ -11,12 +11,12 @@ cache:
|
||||||
- directories:
|
- directories:
|
||||||
- cache
|
- cache
|
||||||
before_install:
|
before_install:
|
||||||
- pip install --user hererocks
|
- pip install --user hererocks esptool
|
||||||
- hererocks env --lua 5.1 -rlatest
|
- hererocks env --lua 5.1 -rlatest
|
||||||
- source env/bin/activate
|
- source env/bin/activate
|
||||||
- luarocks install luafilesystem
|
- luarocks install luafilesystem
|
||||||
install:
|
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
|
- export PATH=$PATH:$PWD/esp-open-sdk/xtensa-lx106-elf/bin
|
||||||
script:
|
script:
|
||||||
- lua tools/cross-lua.lua || exit 1
|
- lua tools/cross-lua.lua || exit 1
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -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
|
sed -i 's@//#define BUILD_FATFS@#define BUILD_FATFS@' user_config.h
|
||||||
cat 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
|
# change to "root" directory no matter where the script was started from
|
||||||
cd "$TRAVIS_BUILD_DIR" || exit
|
cd "$TRAVIS_BUILD_DIR" || exit
|
||||||
make clean
|
make clean
|
||||||
|
|
Loading…
Reference in New Issue