esp32c3-devkit: Rename linker script to indicate use for Flat mode

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
Gustavo Henrique Nihei 2022-05-05 11:26:12 -03:00 committed by Xiang Xiao
parent c778f35f08
commit 4f31c89963
4 changed files with 5 additions and 4 deletions

View File

@ -87,7 +87,7 @@ void up_allocate_heap(void **heap_start, size_t *heap_size)
#else
/* These values come from the linker scripts (esp32c3.ld and
* esp32c3.template.ld).
* flat.template.ld).
* Check boards/risc-v/esp32c3.
*/

View File

@ -54,7 +54,8 @@ void esp32c3_rtcheap_initialize(void)
size_t size;
/* These values come from the linker scripts (esp32c3.ld and
* esp32c3.template.ld.) Check boards/risc-v/esp32c3.
* flat.template.ld).
* Check boards/risc-v/esp32c3.
*/
extern uint8_t *_srtcheap;

View File

@ -1,5 +1,5 @@
/****************************************************************************
* boards/risc-v/esp32c3/esp32c3-devkit/scripts/esp32c3.template.ld
* boards/risc-v/esp32c3/esp32c3-devkit/scripts/flat.template.ld
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with

View File

@ -116,7 +116,7 @@ endif
ifeq ($(CONFIG_BUILD_PROTECTED),y)
SCRIPTIN = $(SCRIPTDIR)$(DELIM)protected.template.ld
else
SCRIPTIN = $(SCRIPTDIR)$(DELIM)esp32c3.template.ld
SCRIPTIN = $(SCRIPTDIR)$(DELIM)flat.template.ld
endif
SCRIPTOUT = $(SCRIPTDIR)$(DELIM)esp32c3_out.ld