You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried compiling an sketch for my ch32v003, everything else works fine, except analogwrite aswell and analogread i got this error
riscv-none-elf-g++: warning: '-x c++' after last input file has no effect
/home/etore/.arduino15/packages/alexandermandera/tools/riscv-none-elf-gcc/12.2.0-3-xPack/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: /tmp/ccBBIZmj.ltrans0.ltrans.o: in function .L0 ': /home/etore/Arduino/pcmplayerch32v003/pcmplayerch32v003.ino:9: undefined reference to analogRead' (this is the important part)
collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board CH32V003.
And also an undefined reference to "analogwrite"
I understand you haven't implemented everything yet, but i would love for analogwrite and analogread to be implemented instead of having to resort to using digitalwrite and simulated pwm instead of analogwrite
The text was updated successfully, but these errors were encountered:
MangyCat
changed the title
No analogread :/
No analogread or analogwrite :/
Nov 12, 2023
I tried compiling an sketch for my ch32v003, everything else works fine, except analogwrite aswell and analogread i got this error
riscv-none-elf-g++: warning: '-x c++' after last input file has no effect
/home/etore/.arduino15/packages/alexandermandera/tools/riscv-none-elf-gcc/12.2.0-3-xPack/bin/../lib/gcc/riscv-none-elf/12.2.0/../../../../riscv-none-elf/bin/ld: /tmp/ccBBIZmj.ltrans0.ltrans.o: in function
.L0 ': /home/etore/Arduino/pcmplayerch32v003/pcmplayerch32v003.ino:9: undefined reference to
analogRead' (this is the important part)collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board CH32V003.
And also an undefined reference to "analogwrite"
I understand you haven't implemented everything yet, but i would love for analogwrite and analogread to be implemented instead of having to resort to using digitalwrite and simulated pwm instead of analogwrite
The text was updated successfully, but these errors were encountered: