I would like to build the bootloader project of AN4368 for TWR-K60D100M using Keil MDK. The zip file contains only projects for IAR and CW. Porting the code seems to be a bit tricky since there are a lot of compiler switches (__CWCC__ or __IAR_SYSTEMS_ICC__). I get hundreds of warnings and errors.
Is there an existing port or a guideline on how to port bare metal projects to Keil?