File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 11name = K210 Arduino
22version = 0.1.0
33
4+ # arch
5+ arch = k210
6+ arch_for_c_cpp = K210
7+
48# Compile variables
59compiler.path={runtime.tools.riscv64-unknown-elf-gcc.path}/bin/
610compiler.c.cmd=riscv64-unknown-elf-gcc
@@ -36,9 +40,9 @@ compiler.elf2hex.flags=-R .rel.dyn
3640
3741compiler.define=-DARDUINO=
3842
39- compiler.c.extra_flags=-DF_CPU={build.f_cpu} -D{build.board}
43+ compiler.c.extra_flags=-DF_CPU={build.f_cpu} -D{build.board} -D{arch_for_c_cpp} -DARCH={arch_for_c_cpp}
4044compiler.c.elf.extra_flags=
41- compiler.cpp.extra_flags=-DF_CPU={build.f_cpu} -D{build.board}
45+ compiler.cpp.extra_flags=-DF_CPU={build.f_cpu} -D{build.board} -D{arch_for_c_cpp} -DARCH={arch_for_c_cpp}
4246compiler.S.extra_flags=-DF_CPU={build.f_cpu} -D{build.board}
4347compiler.ar.extra_flags=
4448compiler.elf2hex.extra_flags=
You can’t perform that action at this time.
0 commit comments