2022-09-14 15:49:05 +08:00
|
|
|
idf_component_register(
|
|
|
|
SRCS
|
|
|
|
../../../libcpu/risc-v/common/cpuport.c
|
|
|
|
../../../libcpu/risc-v/common/context_gcc.S
|
|
|
|
../../../components/drivers/ipc/completion.c
|
|
|
|
../../../components/drivers/ipc/dataqueue.c
|
|
|
|
../../../components/drivers/ipc/pipe.c
|
|
|
|
../../../components/drivers/ipc/ringblk_buf.c
|
|
|
|
../../../components/drivers/ipc/ringbuffer.c
|
|
|
|
../../../components/drivers/ipc/waitqueue.c
|
|
|
|
../../../components/drivers/ipc/workqueue.c
|
|
|
|
../../../components/drivers/misc/pin.c
|
|
|
|
../../../components/drivers/serial/serial.c
|
|
|
|
../drivers/drv_uart.c
|
|
|
|
../drivers/board.c
|
|
|
|
../drivers/drv_gpio.c
|
|
|
|
../../../components/finsh/shell.c
|
|
|
|
../../../components/finsh/msh.c
|
|
|
|
../../../components/finsh/msh_parse.c
|
|
|
|
../../../components/finsh/cmd.c
|
|
|
|
../../../src/clock.c
|
|
|
|
../../../src/components.c
|
|
|
|
../../../src/device.c
|
|
|
|
../../../src/idle.c
|
|
|
|
../../../src/ipc.c
|
|
|
|
../../../src/irq.c
|
|
|
|
../../../src/kservice.c
|
|
|
|
../../../src/mem.c
|
|
|
|
../../../src/mempool.c
|
|
|
|
../../../src/object.c
|
|
|
|
../../../src/scheduler.c
|
|
|
|
../../../src/thread.c
|
|
|
|
../../../src/timer.c
|
|
|
|
main.c
|
2022-06-04 17:04:19 +08:00
|
|
|
|
2022-09-14 15:49:05 +08:00
|
|
|
INCLUDE_DIRS
|
|
|
|
../../../libcpu/risc-v/common
|
|
|
|
../../../components/drivers/include
|
|
|
|
../drivers
|
|
|
|
../../../components/finsh
|
|
|
|
..
|
|
|
|
../../../include
|
|
|
|
)
|
2022-06-04 17:04:19 +08:00
|
|
|
|
2022-09-14 15:49:05 +08:00
|
|
|
target_link_libraries(${COMPONENT_LIB}
|
|
|
|
INTERFACE "-u __rt_init_rt_work_sys_workqueue_init"
|
|
|
|
INTERFACE "-u __rt_init_rt_hw_uart_init"
|
|
|
|
INTERFACE "-u __rt_init_rt_hw_pin_init"
|
|
|
|
INTERFACE "-u __rt_init_finsh_system_init"
|
2022-06-04 17:04:19 +08:00
|
|
|
)
|