Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pm_config No such file or directory #1

Open
RaysoftTechnologiesInc opened this issue Aug 10, 2023 · 10 comments
Open

pm_config No such file or directory #1

RaysoftTechnologiesInc opened this issue Aug 10, 2023 · 10 comments

Comments

@RaysoftTechnologiesInc
Copy link

RaysoftTechnologiesInc commented Aug 10, 2023

Hi,
Thank you for the examples on the nrf9160, I am currently trying to run the Basic networking example on the 9160 DK, however when building it, I am getting this error.
image

Do you know where the header file might be?

@craigpeacock
Copy link
Owner

craigpeacock commented Aug 10, 2023

I suspect you may be building for the nrf9160dk_nrf9160 version. Building with the nrf9160dk_nrf9160_ns board should work.

I just tried with nRF Connect SDK 2.4.1, the same version you are using and it appears to build o.k.

@RaysoftTechnologiesInc
Copy link
Author

I have the configuration on non secure
image

@craigpeacock
Copy link
Owner

Interesting. This is my successful compile with nRF SDK 2.4.1:

nRF9160

I assume you can build other projects and it's just this one you are having trouble with?

@craigpeacock
Copy link
Owner

With Zephyr configuration switches may determine what is compiled in. Normally CONFIG_PM=y is added at the board level, but what happens if you add it to your proj.conf?

@RaysoftTechnologiesInc
Copy link
Author

I think it is something to do with TFM.
I am still quite new to nrf. This is the full error
image

image

@craigpeacock
Copy link
Owner

craigpeacock commented Aug 10, 2023

At one point is it unable to link an intermediate file (memory_buffer_alloc.o.d) - that the build tools should have created.

I've seen something similar before and in that case it was a file system path issue. What does the output say towards the start - does it give any warnings about path being too long etc?

@RaysoftTechnologiesInc
Copy link
Author

I have checked there no warning about that at all. This is very weird, Is there anything i might need to enable/disable in the menu config?

@RaysoftTechnologiesInc
Copy link
Author

Hi @craigpeacock,
Just a question do you have any example on setting up and connecting via the NB-IoT?

@KaiWelsing
Copy link

Hey guys,
I got the exact same error message. Did you figure out what caused your problem @RaysoftTechnologiesInc ?

@KaiWelsing
Copy link

I figured out what my problem was. There was file that could not be read, because the file path was too long. It might also be the solution for your problem to move your project to a directory with a shorter path name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants