Skip to content

Commit 4d5c2d8

Browse files
committed
Force IRAM cache for important SoftwareSerial bits
see esp8266#8830 probably would be annoying to keep in sync reliable regression test would be nice in some form or the other (https://sourceware.org/gdb/current/onlinedocs/gdb#Python-API ?)
1 parent e25f9e9 commit 4d5c2d8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: tools/sdk/ld/eagle.app.v6.common.ld.h

+5
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,11 @@ SECTIONS
142142

143143
/* all functional callers are placed in IRAM (including SPI/IRQ callbacks/etc) here */
144144
*(.text._ZNKSt8functionIF*EE*) /* std::function<any(...)>::operator()() const */
145+
*(.text._ZNK8delegate6detail12DelegateImplIPvvEclEv) /* delegate::detail::DelegateImpl<void*, void>::operator()() const */
146+
*(.text._ZNK8delegate6detail12DelegateImplIPvvEcvbEv) /* delegate::detail::DelegateImpl<void*, void>::operator bool() const */
147+
148+
/* same thing for circular_queue structure methods used in swserial */
149+
*(.text._ZNK14circular_queue*E9availableEv) /* circular_queue<any, any>::available() const */
145150
} >iram1_0_seg :iram1_0_phdr
146151

147152
.irom0.text : ALIGN(4)

0 commit comments

Comments
 (0)