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

HTTP application update problem compiling

Hi,

I have problem compiling "HTTP application update" sample form the SDK for the NRF9160. I am using all the latest tools:
* segger embedded studio: v4.18
* nrf SDK v1.0

The error I get:
"opening dependency file C:/Users/NUC/Documents/nordic-sdk/ncs/nrf/samples/nrf9160/http_application_update/build_nrf9160_pca10090ns/spm\zephyr\modules\nrfxlib\nrf_security\src\mbedtls\CMakeFiles\spm_mbedcrypto_vanilla.dir\C_\Users\NUC\Documents\nordic-sdk\ncs\mbedtls\library\memory_buffer_alloc.c.obj.d: No such file or directory"

Best regards,
Voja

Parents Reply Children
  • No, just opened it and try to compile it. After that, I opened simple_mqtt sample, which I modified before, and it compiles and works. I do not know what can bi the problem, and why I am getting this kind of issue.

  • Can you give me a screenshot of the project configuration?

  • # General config
    CONFIG_TEST_RANDOM_GENERATOR=y
    CONFIG_ASSERT=y
    CONFIG_REBOOT=y
    CONFIG_FP_SHARING=y
    
    # Network
    CONFIG_NETWORKING=y
    CONFIG_NET_SOCKETS=y
    CONFIG_NET_SOCKETS_OFFLOAD=y
    
    # LTE link control
    CONFIG_LTE_LINK_CONTROL=y
    CONFIG_LTE_AUTO_INIT_AND_CONNECT=y
    CONFIG_LTE_NETWORK_MODE_NBIOT=y
    
    # BSD library
    CONFIG_BSD_LIBRARY=y
    
    # Library for buttons and LEDs
    CONFIG_DK_LIBRARY=y
    CONFIG_DK_LIBRARY_INVERT_LEDS=n
    
    # Console
    CONFIG_CONSOLE_SUBSYS=y
    CONFIG_CONSOLE_HANDLER=y
    CONFIG_CONSOLE_GETCHAR=y
    
    # Main thread
    CONFIG_MAIN_THREAD_PRIORITY=7
    
    # Heap and stacks
    CONFIG_HEAP_MEM_POOL_SIZE=1024
    CONFIG_MAIN_STACK_SIZE=8192
    CONFIG_HW_STACK_PROTECTION=y
    
    # Enable DOWNLOAD libs
    CONFIG_NRF_DOWNLOAD_CLIENT=y
    
    # Enable Log, with debug messages and in place processing
    CONFIG_LOG=y
    CONFIG_LOG_DEFAULT_LEVEL=3
    CONFIG_LOG_IMMEDIATE=y
    
    CONFIG_FOTA_DOWNLOAD=y
    
    # GPIO
    CONFIG_GPIO=y
    
    CONFIG_DOWNLOAD_HOST="s3.amazonaws.com"
    # Prebuilt version 2:
    CONFIG_DOWNLOAD_FILE="/nordic-firmware-files/c1838e44-9d6f-4f41-990e-70b4e60770ce"
    CONFIG_APPLICATION_VERSION=1
    CONFIG_BOOTLOADER_MCUBOOT=y
    
    # Disable native network stack to save some memory
    CONFIG_NET_IPV4=n
    CONFIG_NET_IPV6=n
    CONFIG_NET_UDP=n
    CONFIG_NET_TCP=n
    

    Hi,

    This is the prj.conf file from the project. 

  • I mean this window  . What options are you using?

Related