From 4210beb734923bf59eacce8d6d98ba35200b69c7 Mon Sep 17 00:00:00 2001 From: cnlohr <lohr85@gmail.com> Date: Wed, 28 Jun 2023 05:26:02 -0400 Subject: [PATCH] Try using this env var for PlatformIO Compilation --- platformio.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformio.ini b/platformio.ini index a49e25e..659d490 100644 --- a/platformio.ini +++ b/platformio.ini @@ -15,7 +15,7 @@ extends = fun_base ; for examples that use ch32v003fun as their base [fun_base] board_build.ldscript = ch32v003fun/ch32v003fun.ld -build_flags = -flto -Ich32v003fun -I/usr/include/newlib -lgcc -Iextralibs -I. +build_flags = -flto -Ich32v003fun -I/usr/include/newlib -lgcc -Iextralibs -Iexamples/$PIOENV build_src_filter = +<ch32v003fun> extra_libs_srcs = +<extralibs> -- GitLab