summaryrefslogtreecommitdiff
path: root/tests/projects
diff options
context:
space:
mode:
authorruki <[email protected]>2021-11-17 12:14:04 +0800
committerruki <[email protected]>2021-11-17 12:14:04 +0800
commitdcffc69b622da2048f6ee529f5974cb66cd6dc1a (patch)
treea7accc6ce1eb8784a39429c3ee5114926429dcff /tests/projects
parent7f3706c2ad219d6632b3be0a4705042ced0d0233 (diff)
add microlib runtime for mdk
Diffstat (limited to 'tests/projects')
-rw-r--r--tests/projects/mdk/hello/xmake.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/projects/mdk/hello/xmake.lua b/tests/projects/mdk/hello/xmake.lua
index 97d640297..6afb714af 100644
--- a/tests/projects/mdk/hello/xmake.lua
+++ b/tests/projects/mdk/hello/xmake.lua
@@ -1,5 +1,7 @@
add_rules("mode.debug", "mode.release")
+set_runtimes("microlib")
+
target("foo")
add_rules("mdk.static")
add_files("src/foo/*.c")
@@ -8,5 +10,4 @@ target("hello")
add_deps("foo")
add_rules("mdk.console")
add_files("src/*.c", "src/*.s")
- add_defines("__EVAL", "__MICROLIB")
add_includedirs("src/lib/cmsis")