diff --git a/platformio.ini b/platformio.ini index ae085dec..4a4e33ab 100644 --- a/platformio.ini +++ b/platformio.ini @@ -14,7 +14,7 @@ extends = fun_base ; for examples that use ch32v003fun as their base [fun_base] -board_build.ldscript = ch32v003fun/generated_ch32v003fun.ld +board_build.ldscript = ch32v003fun/generated_ch32v003.ld build_flags = -flto -Ich32v003fun -I/usr/include/newlib -lgcc -Iextralibs ; dynamically add "examples/$PIOENV" to the include path extra_scripts = .github/add_include.py