soc: espressif: esp32c6: Add LP Core
Add ULP Coprocessor support for ESP32C6. Signed-off-by: Lucas Tamborrino <lucas.tamborrino@espressif.com>
This commit is contained in:
parent
cc282e56e8
commit
0b9e4e013a
14 changed files with 642 additions and 66 deletions
25
soc/espressif/esp32c6/start_lpcore.S
Normal file
25
soc/espressif/esp32c6/start_lpcore.S
Normal file
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
.section .text.vectors
|
||||
.global reset_vector
|
||||
|
||||
/* The reset vector, jumps to startup code */
|
||||
reset_vector:
|
||||
|
||||
/* _vector_table: Only 256-byte aligned addresses are allowed */
|
||||
la t0, _vector_table
|
||||
csrw mtvec, t0
|
||||
|
||||
j __start
|
||||
|
||||
__start:
|
||||
|
||||
/* setup the stack pointer */
|
||||
la sp, __stack_top
|
||||
call lp_core_startup
|
||||
loop:
|
||||
j loop
|
Loading…
Add table
Add a link
Reference in a new issue