Increase irom0_0_seg for PR builds (again), supports #2008

This commit is contained in:
Marcel Stör 2018-01-10 22:04:19 +01:00
parent 6576af959b
commit 9dc574d2b7
1 changed files with 5 additions and 0 deletions

View File

@ -19,6 +19,11 @@ 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 0x200000\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