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

pm_config.h no file or directory

When Build solution (example. at_client or gps or other) with SES Nordic Edition for Actinius(Icarus) board ,
an error occur :
'Compiling 'nrf_modem_lib.c' 1 error x pm_config.h: No such file or directory.

SES V5.34a (64-bit) SDK 1.5.0

Other error when try to compile for Thingy91_nrf9160:
expected expression before ')' token

in main.c

#if defined(CONFIG_MOTION) if (IS_ENABLED(CONFIG_ACCEL_USE_SIM) && (evt.button == FLIP_INPUT) && data_send_enabled()) { motion_simulate_trigger(); } #endif

what can I do ?

Thank you so much.

Silvio

Parents Reply
  • Hi!

    I see the problem. It's your configuration. FLIP_INPUT isn't being set because CONFIG_FLIP_INPUT isn't set. 

    The configuration only has defaults when building for the Thingy:91 or nRF9160 DK (see here) so when building for another board you need to add it to your prj.conf file.

    You will also need to modify the project to use sensors that are on the board you are using. For example the accelerometer is the ST LIS2DH12 so add CONFIG_LIS2DH to enable that driver.

Children
No Data
Related