rb532: migrate platform to common led helper functions