Increase irom0_0_seg size for all-modules build.

This commit is contained in:
devsaurus 2016-02-20 22:55:34 +01:00
parent 8743319b02
commit c1652adeeb
1 changed files with 5 additions and 0 deletions

View File

@ -13,6 +13,11 @@ cat user_modules.h
sed -i.bak 's@#define CLIENT_SSL_ENABLE@//#define CLIENT_SSL_ENABLE@' 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 0x90000\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