mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
refactor(ulp): build the ULP coprocessor code as per-architecture components
A ULP program is built against ulp_riscv, lp_core or ulp_fsm, each stating its own sources, dependencies and memory layout. Sources shared with the driver stay in components/ulp.
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
# SPDX-FileCopyrightText: 2026 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
idf_component_register(SRCS "main.c"
|
||||
REQUIRES ulp)
|
||||
REQUIRES lp_core)
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
* LP UART read_bytes return-value test (HP + LP):
|
||||
* The burst must fit in the hardware RX FIFO yet typically exceed the LP UART
|
||||
* driver's default RX FIFO full threshold (LP_UART_FULL_THRESH_DEFAULT in
|
||||
* components/ulp/lp_core/lp_core/lp_core_uart.c). If either value changes,
|
||||
* components/ulp/subproject/components/lp_core/lp_core_uart.c). If either value changes,
|
||||
* revisit this guard.
|
||||
*/
|
||||
#if (SOC_LP_UART_FIFO_LEN) < 12
|
||||
|
||||
Reference in New Issue
Block a user