mirror of
https://github.com/apache/nuttx.git
synced 2026-09-05 00:13:17 +00:00
risc-v/esp32c3: Fix retrieval for linker-defined symbol
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
parent
6bc4baa4ca
commit
c0cd56a758
1 changed files with 2 additions and 2 deletions
|
|
@ -91,7 +91,7 @@ void up_allocate_heap(void **heap_start, size_t *heap_size)
|
|||
* Check boards/risc-v/esp32c3.
|
||||
*/
|
||||
|
||||
extern uint8_t *_sheap;
|
||||
extern uint8_t _sheap[];
|
||||
extern const struct esp32c3_rom_layout_s *ets_rom_layout_p;
|
||||
|
||||
board_autoled_on(LED_HEAPALLOCATE);
|
||||
|
|
@ -123,7 +123,7 @@ void up_allocate_kheap(void **heap_start, size_t *heap_size)
|
|||
* Check boards/risc-v/esp32c3.
|
||||
*/
|
||||
|
||||
extern uint8_t *_sheap;
|
||||
extern uint8_t _sheap[];
|
||||
|
||||
uintptr_t kbase = (uintptr_t)_sheap;
|
||||
uintptr_t ktop = KDRAM_END;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue