From 9dc574d2b760c3e6fee815d02ac663a2b76c55b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20St=C3=B6r?= Date: Wed, 10 Jan 2018 22:04:19 +0100 Subject: [PATCH] Increase irom0_0_seg for PR builds (again), supports #2008 --- tools/pr-build.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/pr-build.sh b/tools/pr-build.sh index 361dd4ab..ef16696a 100644 --- a/tools/pr-build.sh +++ b/tools/pr-build.sh @@ -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 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 cd "$TRAVIS_BUILD_DIR" || exit make clean