Generate Zip file for FOTA DFu

Hello ,

i am using nrfutil tool and generate zip file but i am getting error which is mention in picture. i try ble_app_blinky code and generated ZIP file successfully, can you tell me how to solve this error

i am using

1 ..nRF5SDK1500a53641a sdk 

2.  nrfutil 7.4.1

3. windows 11 home

  

  • Hi DG,

    Please also add these include folders:

    ../../../../../../modules/nrfx for nrfx.h

    ../../../../../../integration/nrfx/legacy

    You might run into further missing include files as you proceed. Simply search for where those files are in the SDK, and provide a relative path to the file's containing folder.

    Also, if you are using the nRF5 SDK, please consider using the latest version, v17.1.0 instead.

    If you have strong reason to use v15.x.y, please consider using the latest version, v15.3.0.

    Otherwise, the nRF5 SDK is in maintenance mode, and we encourage all new projects to be based on the nRF Connect SDK.

  • Hi Hieu,

    now i am getting another error ,can you tell me what should add .and check this include directories

    c_user_include_directories="../../../config;../../../../../../components;../../../../../../components/ble/ble_advertising;../../../../../../components/ble/ble_dtm;../../../../../../components/ble/ble_link_ctx_manager;../../../../../../components/ble/ble_racp;../../../../../../components/ble/ble_services/ble_ancs_c;../../../../../../components/ble/ble_services/ble_ans_c;../../../../../../components/ble/ble_services/ble_bas;../../../../../../components/ble/ble_services/ble_bas_c;../../../../../../components/ble/ble_services/ble_cscs;../../../../../../components/ble/ble_services/ble_cts_c;../../../../../../components/ble/ble_services/ble_dfu;../../../../../../components/ble/ble_services/ble_dis;../../../../../../components/ble/ble_services/ble_gls;../../../../../../components/ble/ble_services/ble_hids;../../../../../../components/ble/ble_services/ble_hrs;../../../../../../components/ble/ble_services/ble_hrs_c;../../../../../../components/ble/ble_services/ble_hts;../../../../../../components/ble/ble_services/ble_ias;../../../../../../components/ble/ble_services/ble_ias_c;../../../../../../components/ble/ble_services/ble_lbs;../../../../../../components/ble/ble_services/ble_lbs_c;../../../../../../components/ble/ble_services/ble_lls;../../../../../../components/ble/ble_services/ble_nus;../../../../../../components/ble/ble_services/ble_nus_c;../../../../../../components/ble/ble_services/ble_rscs;../../../../../../components/ble/ble_services/ble_rscs_c;../../../../../../components/ble/ble_services/ble_tps;../../../../../../components/ble/common;../../../../../../components/ble/nrf_ble_gatt;../../../../../../components/ble/nrf_ble_qwr;../../../../../../components/ble/peer_manager;../../../../../../components/boards;../../../../../../components/drivers_nrf/usbd;../../../../../../components/libraries/atomic;../../../../../../../../components/libraries/atomic_fifo;../../../../../../components/libraries/atomic_flags;../../../../../../components/libraries/balloc;../../../../../../components/libraries/bootloader/ble_dfu;../../../../../../components/libraries/bsp;../../../../../../../../components/libraries/button;../../../../../../components/libraries/cli;../../../../../../components/libraries/crc16;../../../../../../components/libraries/crc32;../../../../../../components/libraries/crypto;../../../../../../components/libraries/crypto/backend/cc310;../../../../../../components/libraries/crypto/backend/cc310_bl;../../../../../../components/libraries/crypto/backend/cifra;../../../../../../components/libraries/crypto/backend/mbedtls;../../../../../../components/libraries/crypto/backend/micro_ecc;../../../../../../components/libraries/crypto/backend/nrf_hw;../../../../../../components/libraries/crypto/backend/nrf_sw;../../../../../../components/libraries/crypto/backend/oberon;../../../../../../components/libraries/csense;../../../../../../components/libraries/csense_drv;../../../../../../components/libraries/delay;../../../../../../components/libraries/ecc;../../../../../../components/libraries/experimental_log;../../../../../../components/libraries/experimental_log/src;../../../../../../components/libraries/experimental_memobj;../../../../../../components/libraries/experimental_mpu;../../../../../../components/libraries/experimental_ringbuf;../../../../../../components/libraries/experimental_section_vars;../../../../../../components/libraries/experimental_stack_guard;../../../../../../components/libraries/experimental_task_manager;../../../../../../components/libraries/fds;../../../../../../../../components/libraries/fifo;../../../../../../components/libraries/fstorage;../../../../../../components/libraries/gfx;../../../../../../../../components/libraries/gpiote;../../../../../../components/libraries/hardfault;../../../../../../components/libraries/hardfault/nrf52;../../../../../../components/libraries/hci;../../../../../../components/libraries/led_softblink;../../../../../../components/libraries/low_power_pwm;../../../../../../components/libraries/mem_manager;../../../../../../components/libraries/mutex;../../../../../../components/libraries/pwm;../../../../../../components/libraries/pwr_mgmt;../../../../../../components/libraries/queue;../../../../../../components/libraries/scheduler;../../../../../../components/libraries/stack_info;../../../../../../components/libraries/sdcard;../../../../../../components/libraries/slip;../../../../../../components/libraries/sortlist;../../../../../../components/libraries/spi_mngr;../../../../../../components/libraries/strerror;../../../../../../components/libraries/timer;../../../../../../components/libraries/twi_mngr;../../../../../../components/libraries/twi_sensor;../../../../../../../../components/libraries/uart;../../../../../../components/libraries/usbd;../../../../../../components/libraries/usbd/class/audio;../../../../../../components/libraries/usbd/class/cdc;../../../../../../components/libraries/usbd/class/cdc/acm;../../../../../../components/libraries/usbd/class/hid;../../../../../../components/libraries/usbd/class/hid/generic;../../../../../../components/libraries/usbd/class/hid/kbd;../../../../../../components/libraries/usbd/class/hid/mouse;../../../../../../components/libraries/usbd/class/msc;../../../../../../components/libraries/usbd/config;../../../../../../components/libraries/util;../../../../../../components/nfc/ndef/conn_hand_parser;../../../../../../components/nfc/ndef/conn_hand_parser/ac_rec_parser;../../../../../../components/nfc/ndef/conn_hand_parser/ble_oob_advdata_parser;../../../../../../components/nfc/ndef/conn_hand_parser/le_oob_rec_parser;../../../../../../components/nfc/ndef/connection_handover/ac_rec;../../../../../../components/nfc/ndef/connection_handover/ble_oob_advdata;../../../../../../components/nfc/ndef/connection_handover/ble_pair_lib;../../../../../../components/nfc/ndef/connection_handover/ble_pair_msg;../../../../../../components/nfc/ndef/connection_handover/common;../../../../../../components/nfc/ndef/connection_handover/ep_oob_rec;../../../../../../components/nfc/ndef/connection_handover/hs_rec;../../../../../../components/nfc/ndef/connection_handover/le_oob_rec;../../../../../../components/nfc/ndef/generic/message;../../../../../../components/nfc/ndef/generic/record;../../../../../../components/nfc/ndef/launchapp;../../../../../../components/nfc/ndef/parser/message;../../../../../../components/nfc/ndef/parser/record;../../../../../../components/nfc/ndef/text;../../../../../../components/nfc/ndef/uri;../../../../../../components/nfc/t2t_lib;../../../../../../components/nfc/t2t_lib/hal_t2t;../../../../../../components/nfc/t2t_parser;../../../../../../components/nfc/t4t_lib;../../../../../../components/nfc/t4t_lib/hal_t4t;../../../../../../components/nfc/t4t_parser/apdu;../../../../../../components/nfc/t4t_parser/cc_file;../../../../../../components/nfc/t4t_parser/hl_detection_procedure;../../../../../../components/nfc/t4t_parser/tlv;../../../../../../components/softdevice/common;../../../../../../components/softdevice/s140/headers;../../../../../../components/softdevice/s140/headers/nrf52;../../../../../../components/toolchain/cmsis/include;../../..;../../../../../../external/cifra_AES128-EAX;../../../../../../external/fprintf;../../../../../../external/mbedtls/include;../../../../../../external/micro-ecc/micro-ecc;../../../../../../external/nrf_cc310/include;../../../../../../external/nrf_oberon../../../../../../external/nrf_oberon/include;../../../../../../external/nrf_tls/mbedtls/nrf_crypto/config;../../../../../../external/segger_rtt;../../../../../../../../integration/nrfx;../../../../../../integration/nrfx/legacy;../../../../../../modules/nrfx;../../../../../../modules/nrfx/drivers/include;../../../../../../../../modules/nrfx/hal;../../../../../../modules/nrfx/mdk;../config"

  • Hi Hieu ,

    can you guide me how to solve these error. in which file 

  • Hii Hieu,

    i am getting latest this error .can you guide me how to solve it .

    Building ‘ble_app_uart_pca10056_s140’ from solution ‘ble_app_uart_pca10056_s140’ in configuration ‘Release’
    1> Compiling ‘nrf_drv_uart.c’
    2> Compiling ‘nrfx_clock.c’
    3> Compiling ‘nrfx_gpiote.c’
    4> Compiling ‘nrf_drv_clock.c’
    5> Compiling ‘nrfx_power_clock.c’
    6> Compiling ‘nrfx_uart.c’
    7> Compiling ‘nrfx_prs.c’
    8> Compiling ‘nrfx_uarte.c’
    9> Compiling ‘mbedtls_backend_aes.c’
    10> Compiling ‘mbedtls_backend_aes_aead.c’
    11> Compiling ‘mbedtls_backend_ecc.c’
    12> Compiling ‘mbedtls_backend_ecdh.c’
    9> C:\Users\firmw\Desktop\AES_BLE\nRF5_SDK_15.0.0_a53641a\components\libraries\crypto\backend\mbedtls\mbedtls_backend_aes.c:45:10: fatal error: mbedtls/md.h: No such file or directory
    9> compilation terminated.
    11> In file included from ../../../../../../components/libraries/crypto/nrf_crypto_ecc.h:73,
    11> from C:\Users\firmw\Desktop\AES_BLE\nRF5_SDK_15.0.0_a53641a\components\libraries\crypto\backend\mbedtls\mbedtls_backend_ecc.c:49:
    11> ../../../../../../components/libraries/crypto/nrf_crypto_ecc_backend.h:56:10: fatal error: mbedtls_backend_ecc.h: No such file or directory
    11> compilation terminated.
    12> In file included from ../../../../../../components/libraries/crypto/nrf_crypto_ecc.h:73,
    12> from ../../../../../../components/libraries/crypto/nrf_crypto_ecdh.h:72,
    12> from C:\Users\firmw\Desktop\AES_BLE\nRF5_SDK_15.0.0_a53641a\components\libraries\crypto\backend\mbedtls\mbedtls_backend_ecdh.c:50:
    12> ../../../../../../components/libraries/crypto/nrf_crypto_ecc_backend.h:56:10: fatal error: mbedtls_backend_ecc.h: No such file or directory
    12> compilation terminated.
    10> In file included from C:\Users\firmw\Desktop\AES_BLE\nRF5_SDK_15.0.0_a53641a\components\libraries\crypto\backend\mbedtls\mbedtls_backend_aes_aead.c:46:
    10> C:\Users\firmw\Desktop\AES_BLE\nRF5_SDK_15.0.0_a53641a\components\libraries\crypto\backend\mbedtls\mbedtls_backend_aes_aead.h:57:10: fatal error: mbedtls/ccm.h: No such file or directory
    10> compilation terminated.
    Build failed

    BR 

    DG

  • Hi DG,

    Hieu said:
    You might run into further missing include files as you proceed. Simply search for where those files are in the SDK, and provide a relative path to the file's containing folder.

    The errors you have are still "No such file or directory" kind of errors. Unless it is some files not available in the SDK, please just repeat the steps I described above.

    Please also consider searching the issue on DevZone or on an internet search engine to see if someone has a better way around it.

    Lastly, please be informed that I am out of office and will not be able to reply for the next few days.

    Best regards,

    Hieu

Related