nRF5 SDK is not maintained anymore
More Info: Consider nRF Connect SDK for new designs
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error building serial_lte_modem for nRF52840

Hello Community!

I have an nRF52840 DK and the Segger Embedded Studio. I have Open nRF Connect SDK Project... and chosen serial_lte_modem. I build the solution modifying nothing, and get these errors:

3> In file included from [01m[K../src/main.c:17[m[K:
3> [01m[K/opt/nRF/src/ncs/modules/hal/nordic/nrfx/hal/nrf_regulators.h:140:50:[m[K [01;31m[Kerror: [m[Kunknown type name '[01m[KNRF_REGULATORS_Type[m[K'; did you mean '[01m[KNRF_REGULATORS_H__[m[K'?
3> [01m[K/opt/nRF/src/ncs/modules/hal/nordic/nrfx/hal/nrf_regulators.h:152:50:[m[K [01;31m[Kerror: [m[Kunknown type name '[01m[KNRF_REGULATORS_Type[m[K'; did you mean '[01m[KNRF_REGULATORS_H__[m[K'?
3> [01m[K/opt/nRF/src/ncs/modules/hal/nordic/nrfx/hal/nrf_regulators.h:236:50:[m[K [01;31m[Kerror: [m[Kunknown type name '[01m[KNRF_REGULATORS_Type[m[K'; did you mean '[01m[KNRF_REGULATORS_H__[m[K'?
3> [01m[K/opt/nRF/src/ncs/modules/hal/nordic/nrfx/hal/nrf_regulators.h:245:50:[m[K [01;31m[Kerror: [m[Kunknown type name '[01m[KNRF_REGULATORS_Type[m[K'; did you mean '[01m[KNRF_REGULATORS_H__[m[K'?
3> [01m[K../src/main.c:[m[K In function '[01m[Kenter_sleep[m[K':
3> [01m[K../src/main.c:170:2:[m[K [01;35m[Kwarning: [m[Kimplicit declaration of function '[01m[Knrf_regulators_system_off[m[K'; did you mean '[01m[Knrf_power_system_off[m[K'? [[01;35m[K-Wimplicit-function-declaration[m[K]
3> [01m[K../src/main.c:170:28:[m[K [01;31m[Kerror: [m[K'[01m[KNRF_REGULATORS_NS[m[K' undeclared (first use in this function); did you mean '[01m[KNRF_REGULATORS_H__[m[K'?
3> [01m[K../src/main.c:170:28:[m[K [01;36m[Knote: [m[Keach undeclared identifier is reported only once for each function it appears in
Build failed

It seems something is not found, but it's a bit weird that it fails just outside the box.

I would appreciate any help. Regards,

David.

Parents
  • Good morning!

    I was reviewing all my open cases just to close them, but I don't find how I can accept the answer. Is there a way to accept and close cases?

    Thank you,

    David.

  • Hello again David,

    That is very thoughtful of you, the majority simply leaves them like this. 

    To close a ticket that has been answered you may click the "Verify answer" button on the reply that solved the case. If no options show up on the answer you would like to verify, try clicking on the timestamp of the answer (right under the username of the user who made the reply), and see if the options shows up then.

    Regards,

    Elfving

Reply
  • Hello again David,

    That is very thoughtful of you, the majority simply leaves them like this. 

    To close a ticket that has been answered you may click the "Verify answer" button on the reply that solved the case. If no options show up on the answer you would like to verify, try clicking on the timestamp of the answer (right under the username of the user who made the reply), and see if the options shows up then.

    Regards,

    Elfving

Children
No Data
Related