final version for the production with GD32 MCU