Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 234a874

Browse files
committed
Fix NMI interrupt handler alignment
as suggested at http://www.esp8266.com/viewtopic.php?f=6&t=4675&start=48#p46002
1 parent 33723a9 commit 234a874

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/sdk/ld/eagle.app.v6.common.ld

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ SECTIONS
7878
*(.sdata2.*)
7979
*(.gnu.linkonce.s2.*)
8080
*(.jcr)
81+
. = ALIGN(4);
82+
_Pri_3_HandlerAddress = ABSOLUTE(.);
8183
_data_end = ABSOLUTE(.);
8284
} >dram0_0_seg :dram0_0_phdr
8385

0 commit comments

Comments
 (0)