From 259f1344ca38b202462d2d1b89e4820c110982ef Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 27 Dec 2015 18:23:11 +0200 Subject: [PATCH] esp8266/esp8266.ld: Link in SDK version section. Otherwise, os.uname() returns empty string for SDK version. --- esp8266/esp8266.ld | 1 + 1 file changed, 1 insertion(+) diff --git a/esp8266/esp8266.ld b/esp8266/esp8266.ld index 15f923239a..8f55ab1f65 100644 --- a/esp8266/esp8266.ld +++ b/esp8266/esp8266.ld @@ -173,6 +173,7 @@ SECTIONS .rodata : ALIGN(4) { _rodata_start = ABSOLUTE(.); + *(.sdk.version) *(.rodata) *(.rodata.*) *(.gnu.linkonce.r.*)