diff --git a/ch32v003fun/ch32v003fun.mk b/ch32v003fun/ch32v003fun.mk
index 8d39c567534b7f7dc045a8ca3b72f069d749aa08..bed2fbe06c494795c86a9ae6b84e35b6aa3a39a7 100644
--- a/ch32v003fun/ch32v003fun.mk
+++ b/ch32v003fun/ch32v003fun.mk
@@ -10,6 +10,7 @@ CFLAGS+= \
 	-march=rv32ec \
 	-mabi=ilp32e \
 	-I/usr/include/newlib \
+	-I$(CH32V003FUN)/../extralibs \
 	-I$(CH32V003FUN) \
 	-nostdlib \
 	-I. -Wall
diff --git a/examples/ws2812bdemo/ws2812b_dma_spi_led_driver.h b/extralibs/ws2812b_dma_spi_led_driver.h
similarity index 100%
rename from examples/ws2812bdemo/ws2812b_dma_spi_led_driver.h
rename to extralibs/ws2812b_dma_spi_led_driver.h