19 lines
780 B
CMake
19 lines
780 B
CMake
sdk_generate_library()
|
|
sdk_library_add_sources(croutine.c)
|
|
sdk_library_add_sources(event_groups.c)
|
|
sdk_library_add_sources(list.c)
|
|
sdk_library_add_sources(queue.c)
|
|
sdk_library_add_sources(tasks.c)
|
|
sdk_library_add_sources(timers.c)
|
|
sdk_library_add_sources(timers.c)
|
|
sdk_library_add_sources(freertos_port.c)
|
|
sdk_library_add_sources(portable/MemMang/heap_5.c)
|
|
|
|
sdk_library_add_sources(portable/GCC/RISC-V/port.c)
|
|
sdk_library_add_sources(portable/GCC/RISC-V/portASM.S)
|
|
sdk_add_include_directories(portable/GCC/RISC-V)
|
|
sdk_add_include_directories(portable/GCC/RISC-V/chip_specific_extensions/RV32I_CLINT_no_extensions)
|
|
sdk_add_include_directories(include)
|
|
|
|
sdk_add_compile_definitions(-DportasmHANDLE_INTERRUPT=interrupt_entry -Ddefault_interrupt_handler=freertos_risc_v_trap_handler)
|