ch32v003fun
ch32v003fun copied to clipboard
An open source software development stack for the CH32V003, a 10¢ 48 MHz RISC-V Microcontroller
Not sure exactly how this should work, but I'm getting ``` In file included from src\blink.c:1: C:\Users\Max\.platformio\packages\framework-ch32v003fun\ch32v003fun/ch32v003fun.h:12942:6: error: #error "Invalid PLL multiplier" #error "Invalid PLL multiplier" ^~~~~ ``` My CH32V303CBT6...
Hello! While interfacing the ch32v003 with a rotary encoder, I could not find a quick and "easy" way to configure the input pins as pullups, so I wrote this snippet:...
I am getting this error while trying to flash CH32V003F4P6 Fault writing memory (DMABSTRACTS = 08000402) (Processor not halted.) DMSTATUS: 004c0c82 Fault on DefaultReadWord Part 1 Fault writing memory (DMABSTRACTS...
Compiling using the -DTINYVECTOR compile flag causes the program to fail to run at startup when compiling for CH32V203. Weirdly the program does run once after flashing. Maybe this compile...
Hi, I've got this board and compiled `ch32v003fun/examples_x035/blink/blink.c` modified the code a bit like the following: ``` #include "ch32v003fun.h" #include int main() { SystemInit(); funGpioInitAll(); funPinMode( PB12, GPIO_CFGLR_OUT_10Mhz_PP ); while(1)...
https://github.com/cnlohr/ch32v003fun/blob/master/examples_v30x/usbdevice_hs/hsusb.c#L619-L633 This code looks wrong - need to validate.
I spent half a day but still cannot solve this problem. I used to program OPA + ADC in the noneos framework. It was to read the analog signal from...
Current behavior: When both WCHLink and Ardulink are attached, it is not possible to use ardulink. ``` $ minichlink -c /dev/ttyACM2 Found WCH Link WCH Programmer is LinkE version 2.11...
Actually, it should be a FUNCONFIG_ parameter, but default should reboot. https://x.com/cnlohr/status/1830093505181446389