2022-06-04 17:04:19 +08:00
|
|
|
idf_component_register(SRCS "board.c" "main.c"
|
|
|
|
"drv_gpio.c"
|
2022-08-06 01:35:38 +08:00
|
|
|
"drv_uart.c"
|
2022-04-29 09:01:44 +08:00
|
|
|
"../../../libcpu/risc-v/common/cpuport.c"
|
|
|
|
"../../../libcpu/risc-v/common/context_gcc.S"
|
|
|
|
"../../../src/components.c"
|
|
|
|
"../../../src/scheduler.c"
|
|
|
|
"../../../src/device.c"
|
|
|
|
"../../../src/clock.c"
|
|
|
|
"../../../src/irq.c"
|
|
|
|
"../../../src/thread.c"
|
|
|
|
"../../../src/mempool.c"
|
|
|
|
"../../../src/ipc.c"
|
|
|
|
"../../../src/mem.c"
|
|
|
|
"../../../src/object.c"
|
|
|
|
"../../../src/idle.c"
|
|
|
|
"../../../src/timer.c"
|
|
|
|
"../../../src/kservice.c"
|
2022-06-04 17:04:19 +08:00
|
|
|
"../../../src/device.c"
|
|
|
|
"../../../components/drivers/misc/pin.c"
|
|
|
|
"../../../components/drivers/ipc/pipe.c"
|
|
|
|
"../../../components/drivers/ipc/ringblk_buf.c"
|
|
|
|
"../../../components/drivers/ipc/waitqueue.c"
|
|
|
|
"../../../components/drivers/ipc/completion.c"
|
|
|
|
"../../../components/drivers/ipc/dataqueue.c"
|
|
|
|
"../../../components/drivers/ipc/ringbuffer.c"
|
|
|
|
"../../../components/drivers/ipc/workqueue.c"
|
2022-08-06 01:35:38 +08:00
|
|
|
"../../../components/drivers/serial/serial.c"
|
|
|
|
"../../../components/finsh/cmd.c"
|
|
|
|
"../../../components/finsh/msh_file.c"
|
|
|
|
"../../../components/finsh/msh_parse.c"
|
|
|
|
"../../../components/finsh/msh.c"
|
|
|
|
"../../../components/finsh/shell.c"
|
2022-06-04 17:04:19 +08:00
|
|
|
|
2022-04-29 09:01:44 +08:00
|
|
|
INCLUDE_DIRS
|
2022-06-04 17:04:19 +08:00
|
|
|
"../../../components/drivers/include/drivers"
|
|
|
|
|
|
|
|
"../../../components/drivers/include"
|
2022-08-06 01:35:38 +08:00
|
|
|
"../../../components/finsh"
|
2022-06-04 17:04:19 +08:00
|
|
|
"."
|
2022-04-29 09:01:44 +08:00
|
|
|
"../../../include"
|
|
|
|
"../../../libcpu/risc-v/common"
|
|
|
|
"../")
|
|
|
|
ADD_DEFINITIONS(
|
|
|
|
-D__RTTHREAD__
|
2022-06-04 17:04:19 +08:00
|
|
|
)
|
|
|
|
#TODO
|
|
|
|
#list(APPEND LINK_FLAGS "-u __rt_init_desc_rt_hw_pin_init")
|
|
|
|
#set(compile_options "-u __rt_init_desc_rt_hw_pin_init")
|