Skip to content

Commit fcbe59e

Browse files
committed
[legacy] Add lib with syscalls
Should be used when malloc is required alongside the linker flag `-specs=nosys.specs`. Signed-off-by: Douglas Reis <[email protected]>
1 parent 8148e7a commit fcbe59e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sw/legacy/common/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44

55
add_library(common OBJECT sonata_system.c usbdev.c uart.c timer.c rv_plic.c gpio.c i2c.c pwm.c spi.c crt0.S)
66
target_include_directories(common INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}")
7+
8+
9+
add_library(syscall OBJECT ../../../vendor/cheriot_debug_module/tb/prog/syscalls.c)

0 commit comments

Comments
 (0)