This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Migrating from sdk14.2 to sdk15.2

Hello! I am migrating ble_mpu_simple code from sdk 14.2 to sdk 15.2.While migrating,I am getting the error.

error:  #20: identifier "SPIM_CSNPOL_CSNPOL_LOW" is undefined

error:  #20: identifier "SPIM_CSNPOL_CSNPOL_HIGH" is undefined

I also checked in nrf_spim.h header file,but can't find.I don't know how to define this.Can anyone Please help me out.

 nrf_spim.rar

One more question ,I have to add  pm_mutex.c file.But in sdk 15.2, I can't find that file.Please help me!

Parents
  • My recommendation is to use the new nrfx driver directly as suggested in SDKv15 migration document directly when porting from sdkv14 to sdkv14.

    "

    For existing applications the migration to the new API in most cases will be quite simple and require only:

    • renaming used functions and types from nrf_drv_* to nrfx_*,
    • renaming used macros from NRF_DRV_* to NRFX_*,
    • replacing old configuration options contained in "sdk_config.h" with their new versions by adding NRFX_ prefix to their names.

    "

    Best regards,
    Kenneth

Reply
  • My recommendation is to use the new nrfx driver directly as suggested in SDKv15 migration document directly when porting from sdkv14 to sdkv14.

    "

    For existing applications the migration to the new API in most cases will be quite simple and require only:

    • renaming used functions and types from nrf_drv_* to nrfx_*,
    • renaming used macros from NRF_DRV_* to NRFX_*,
    • replacing old configuration options contained in "sdk_config.h" with their new versions by adding NRFX_ prefix to their names.

    "

    Best regards,
    Kenneth

Children
Related