AlexanderMandera / arduino-wch32v003

Arduino Core for CH32V003 RISC-V microcontroller
GNU Lesser General Public License v2.1
142 stars 18 forks source link

undefined reference to `analogRead' #11

Open dzanis opened 1 year ago

dzanis commented 1 year ago

c:/users/zanis/.platformio/packages/toolchain-riscv/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: .pio\build\genericCH32V003F4P6\src\main.cpp.o: in function loop': main.cpp:(.text.loop+0xa): undefined reference toanalogRead' collect2.exe: error: ld returned 1 exit status *** [.pio\build\genericCH32V003F4P6\firmware.elf] Error 1