Closed Rockwell1799 closed 1 week ago
Never mind! By removing the line debug.h, everything is working fine!
This is still supposed to work because the CH32X035 SDK (also used for X033) does have the debug.h
.
https://github.com/Community-PIO-CH32V/framework-wch-noneos-sdk/tree/main/Debug/ch32x035
Let me check it out..
Why is this set to no
, so that the debug directory and code won't be added, but still debug.h
is included?
Mhmm I see. The include doesn't come from the firmware code, but from the auto-included SDK code. ch32x035_pwr.c
always wants debug.h
. Nasty.
And it only needs in one case where it needs a delay:
Update your packages and rebuild. (Simplest: Delete C:\Users\<user>\.platformio\packages\framework-wch-noneos-sdk
)
Hello I'm using the examples on this repository below, but I keep getting a fatal error regarding a debug.h file missing. I have used other examples on CH32V003 and they are all working fine. Can someone help me please?
https://github.com/wagiminator/Development-Boards/tree/main/CH32X033F8P6_DevBoard/software/blink