PlatformIOWCH-LinkRISC-V microcontrollerCH32V macOS developmentWCHembedded macOS
Building a CH32V307 dev environment on Mac from scratch, only to find PlatformIO's platform hands you a pile of Windows .exe files? This article is a faithful, blow-by-blow record of the real debugging session: manually swapping in a native macOS RISC-V toolchain, clearing the Gatekeeper quarantine, getting the on-board WCH-Link to flash, all the way down to the real root cause behind 'compile and flash both succeed, the serial port prints, but the LED flat-out won't light' — the on-board LED isn't even wired to the MCU at the factory. Every command and error here was actually run; all 10 gotchas I hit are laid out in full, as a heads-up for anyone coming over from Arduino/ESP.