PlatformIO can not add custom processor

One does not have to do all that. We’ve demonstrated that at Bare metal on arduino due / atmelsam. Custom board definition + a tiny bit of builder script in a baremetal project get CMSIS up and running just fine.