This commit is contained in:
Mikhail Yenuchenko
2026-01-20 16:23:00 +03:00
commit c8ab0ca4f7
107 changed files with 285173 additions and 0 deletions

13
sim/tests/hello/Makefile Normal file
View File

@@ -0,0 +1,13 @@
src_dir := $(dir $(lastword $(MAKEFILE_LIST)))
c_src := sc_print.c hello.c
include $(inc_dir)/common.mk
default: log_requested_tgt $(bld_dir)/hello.elf $(bld_dir)/hello.hex $(bld_dir)/hello.dump
log_requested_tgt:
echo hello.hex>> $(bld_dir)/test_info
clean:
$(RM) $(c_objs) $(asm_objs) $(bld_dir)/hello.elf $(bld_dir)/hello.hex $(bld_dir)/hello.dump

7
sim/tests/hello/hello.c Normal file
View File

@@ -0,0 +1,7 @@
#include "sc_print.h"
int main()
{
sc_printf("Hello from SCR1!\n");
return 0;
}