Can't compile nRF24L01P_Hello_World on Keil Studio

I’m trying to compile nRF24L01P_Hello_World on Keil Studio, for FRDM-KL25Z but keep getting error
Configuration error: ‘static_memory_defines’ is not defined.
Fatal error: C3903U: Argument ‘Cortex-M0plus’ not permitted for option ‘cpu’.
nRF24L01P_Hello_World - Test program for the Nordic Semi nRF24L01+ Transc… | Mbed

Hello,

try to create new Mbed2 project in KeilStudio and then import the library and whole code from the main.

However, why do you want to use this with Mbed2? The library seems to be compatible also with newer MbedOS versions.

BR, Jan