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:
|
||||
- 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
|
||||
|
|
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
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue