initial version
added LEDs and switches
added support for TWR-K21D50M, but cannot test it as no hardware available