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

import nrf_serial to ble_app_blinky project SDK15.1

Good morning,

I can't import the nrf_serial library ( and nrf_queue ) on the ble_app_uart project, after that i compile, i read these errors :

linking...
.\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrfx_power_irq_enabled (referred from nrfx_clock.o).
.\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrfx_power_irq_handler (referred from nrfx_power_clock.o).
.\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrf_queue_in (referred from nrf_serial.o).
.\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrf_queue_is_empty (referred from nrf_serial.o).
.\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrf_queue_out (referred from nrf_serial.o).
.\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrf_queue_reset (referred from nrf_serial.o).
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 2 information, 0 warning and 6 error messages.
".\_build\nrf52840_xxaa.axf" - 6 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:01:12

I include the library paths in options for Target 'nrf52840_xxaa' -> C/C++ :

And i have modify the sdk_config.h in this way:

Where is the problema ? It is very urgent !!!

Parents
  • Hi,

    Based on the error it looks like you have not included the necessary source files, or have you added nrf_queue.c already?

    First two errors should go away if you compile with sdk_config.h -> NRFX_POWER_ENABLED set to '0'.

  • Hi,

    I have already add the nrf_queue.c file :

    I have already set to '1'  the NRFX_POWER_ENABLED module in the sdk_config.h file :

    I compile the project, i reading these errors :

    linking...
    .\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrfx_power_irq_enabled (referred from nrfx_clock.o).
    .\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrfx_power_irq_handler (referred from nrfx_power_clock.o).
    .\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrf_queue_in (referred from nrf_serial.o).
    .\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrf_queue_is_empty (referred from nrf_serial.o).
    .\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrf_queue_out (referred from nrf_serial.o).
    .\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrf_queue_reset (referred from nrf_serial.o).
    Not enough information to list image symbols.
    Not enough information to list load addresses in the image map.
    Finished: 2 information, 0 warning and 6 error messages.
    ".\_build\nrf52840_xxaa.axf" - 6 Error(s), 0 Warning(s).
    Target not created.
    Build Time Elapsed: 00:01:17

    Do you have an idea ? It is very urgent !!!

    100

Reply
  • Hi,

    I have already add the nrf_queue.c file :

    I have already set to '1'  the NRFX_POWER_ENABLED module in the sdk_config.h file :

    I compile the project, i reading these errors :

    linking...
    .\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrfx_power_irq_enabled (referred from nrfx_clock.o).
    .\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrfx_power_irq_handler (referred from nrfx_power_clock.o).
    .\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrf_queue_in (referred from nrf_serial.o).
    .\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrf_queue_is_empty (referred from nrf_serial.o).
    .\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrf_queue_out (referred from nrf_serial.o).
    .\_build\nrf52840_xxaa.axf: Error: L6218E: Undefined symbol nrf_queue_reset (referred from nrf_serial.o).
    Not enough information to list image symbols.
    Not enough information to list load addresses in the image map.
    Finished: 2 information, 0 warning and 6 error messages.
    ".\_build\nrf52840_xxaa.axf" - 6 Error(s), 0 Warning(s).
    Target not created.
    Build Time Elapsed: 00:01:17

    Do you have an idea ? It is very urgent !!!

    100

Children
Related