From 304a96d7d611f6d585b2a6be504b19ef92b50c4c Mon Sep 17 00:00:00 2001
From: Damien George <damien.p.george@gmail.com>
Date: Wed, 13 May 2015 14:49:14 +0100
Subject: [PATCH] esp8266: Put more literal and text obj data in irom0_0_seg.

With newer versions of esp_iot_sdk the iram1_0_seg started to overflow.
Now it doesn't.

Addresses issue #1254.
---
 esp8266/esp8266.ld | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/esp8266/esp8266.ld b/esp8266/esp8266.ld
index fb19fcf8c..998129156 100644
--- a/esp8266/esp8266.ld
+++ b/esp8266/esp8266.ld
@@ -79,10 +79,13 @@ SECTIONS
         *pyexec.o(.literal*, .text*)
         *readline.o(.literal*, .text*)
         *pybstdio.o(.literal*, .text*)
-        *modpyb.o(.literal*, .text*)
         *gccollect.o(.literal* .text*)
         *gchelper.o(.literal* .text*)
+        *modpyb.o(.literal*, .text*)
+        *modpybpin.o(.literal*, .text*)
+        *modpybrtc.o(.literal*, .text*)
         *modesp.o(.literal* .text*)
+        *modutime.o(.literal* .text*)
 
         /* we put as much rodata as possible in this section */
         /* note that only rodata accessed as a machine word is allowed here */
-- 
GitLab