Add ULP Coprocessor support for ESP32C6. Signed-off-by: Lucas Tamborrino <lucas.tamborrino@espressif.com>
25 lines
448 B
ArmAsm
25 lines
448 B
ArmAsm
/*
|
|
* 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
|