Manually adding support for CH55x controller by adding existing ardunio core

Hello there

I want to assemble a little project using the ch552 low cost ic using the arduino framework in PIO. As far as i know this board is not supported in PIO.
But there is this github rep with all necessary arduino core files.

So can someone maybe guide me through the process of integrating this board into PIO?
Or do you maybe have some reference about the process in general, besides the already existing structures?

Best regards: Julius

CH559 is already officially supported in the platform for all the Intel 8051 based cores.

https://github.com/platformio/platform-intel_mcs51/blob/develop/boards/CH559.json

So if anywhere, just add a new board definition for CH552 and builer script for Arduino there.

The referenced core is a fork the SDuino (STM8) core, for which there already is a builder script:

https://github.com/platformio/platform-ststm8/blob/develop/builder/frameworks/arduino.py