You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/06/18 05:53:51 UTC
[incubator-nuttx] 02/06: boards/risc-v/esp32c3-devkit/esp32c3.ld:
Add the RTC BSS section for completeness.
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit bd0e03fecf8db2dbe83a73d060af8d5faf9280a0
Author: Abdelatif Guettouche <ab...@espressif.com>
AuthorDate: Mon Jun 14 10:20:14 2021 +0100
boards/risc-v/esp32c3-devkit/esp32c3.ld: Add the RTC BSS section for
completeness.
Signed-off-by: Abdelatif Guettouche <ab...@espressif.com>
---
boards/risc-v/esp32c3/esp32c3-devkit/scripts/esp32c3.ld | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/scripts/esp32c3.ld b/boards/risc-v/esp32c3/esp32c3-devkit/scripts/esp32c3.ld
index 4640d22..8115572 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/scripts/esp32c3.ld
+++ b/boards/risc-v/esp32c3/esp32c3-devkit/scripts/esp32c3.ld
@@ -234,6 +234,13 @@ SECTIONS
. = SIZEOF(.rtc.text);
} >rtc_seg
+ /* RTC BSS section. */
+
+ .rtc.bss (NOLOAD) :
+ {
+ *(.rtc.bss)
+ } >rtc_seg
+
/* RTC data section holds RTC wake stub data/rodata. */
.rtc.data :