GD32 Cortex-M4 and STM32 compatibility
GD32 and STM32 devices can share an Arm core while implementing different peripherals and boot behaviour.
Compare exact part numbers
Start with the GD32 and STM32 datasheets for the package actually fitted. Compare pin multiplexing, flash layout and erase rules, oscillator settings, ADC behaviour and peripheral reset values. A successful Blink build only proves a small subset of compatibility.
For software reuse inspect the licence in the specific SDK, example or binary you plan to redistribute. A shared Arm instruction set does not establish a licensing relationship between the vendors.
