I installed mdk528a and set toolchain to ARM MDK Generic, as you adviced. Now i get the following error:
Fatal error: L3900U: Unrecognized option '--vfemode=force'.
The command 'armcc.exe' failed with exit code '1'.
I can successfully compile CYPD2122-24LQXI_mobile after updaing componet with mdk528a. If you still can not successfully compile the project, I suggest you use PSoC Creator 3.3 with ARM MDK Generic. The component will not need updating.
with the PSOC version 3.3 I had already tried it of course, the error is the same.
After I installed PSoC 4.2 and MDK528a on another computer everything works. Why I don't know.
Many thanks for your help