diff --git a/arch/risc-v/src/esp32c3/esp32c3_allocateheap.c b/arch/risc-v/src/esp32c3/esp32c3_allocateheap.c index f5997a6f3c9..f45c4c52564 100644 --- a/arch/risc-v/src/esp32c3/esp32c3_allocateheap.c +++ b/arch/risc-v/src/esp32c3/esp32c3_allocateheap.c @@ -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. */ diff --git a/arch/risc-v/src/esp32c3/esp32c3_rtcheap.c b/arch/risc-v/src/esp32c3/esp32c3_rtcheap.c index e9b750ee478..f997ae8b10f 100644 --- a/arch/risc-v/src/esp32c3/esp32c3_rtcheap.c +++ b/arch/risc-v/src/esp32c3/esp32c3_rtcheap.c @@ -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; diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/scripts/esp32c3.template.ld b/boards/risc-v/esp32c3/esp32c3-devkit/scripts/flat.template.ld similarity index 98% rename from boards/risc-v/esp32c3/esp32c3-devkit/scripts/esp32c3.template.ld rename to boards/risc-v/esp32c3/esp32c3-devkit/scripts/flat.template.ld index c637f53472a..a34b25d412d 100644 --- a/boards/risc-v/esp32c3/esp32c3-devkit/scripts/esp32c3.template.ld +++ b/boards/risc-v/esp32c3/esp32c3-devkit/scripts/flat.template.ld @@ -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 diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/src/Makefile b/boards/risc-v/esp32c3/esp32c3-devkit/src/Makefile index 3bbfad7aa62..4c99db57676 100644 --- a/boards/risc-v/esp32c3/esp32c3-devkit/src/Makefile +++ b/boards/risc-v/esp32c3/esp32c3-devkit/src/Makefile @@ -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