From d472fb516fca9d3dbae809736adbb761fc2af4f6 Mon Sep 17 00:00:00 2001 From: Alexander Mandera <alexander@mandera.eu> Date: Fri, 23 Jun 2023 23:36:51 +0200 Subject: [PATCH] Fix error with cpp_virtual_methods --- examples/cpp_virtual_methods/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/cpp_virtual_methods/Makefile b/examples/cpp_virtual_methods/Makefile index 749b3b5..1de1859 100644 --- a/examples/cpp_virtual_methods/Makefile +++ b/examples/cpp_virtual_methods/Makefile @@ -18,6 +18,7 @@ CFLAGS:= \ -I/usr/include/newlib \ -I$(CH32V003FUN) \ -nostdlib \ + -DCH32V003 \ -I. -Wall CFLAGS+=-fno-rtti -DSTDOUT_UART -DCPLUSPLUS -- GitLab