Zephyr notes

From Wiki at Neela Nurseries
Jump to: navigation, search


2021-11-16 Tuesday

Some build time messages, noting `cmake` warning regarding policies of `cmake`:

   .
   .
   .

  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  /home/ted/projects/zephyr-based/zephyr/CMakeLists.txt:1253 (configure_linker_script)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /home/ted/projects/zephyr-based/zephyr/cmake/linker/ld/target.cmake:33 (add_custom_command):
  Policy CMP0116 is not set: Ninja generators transform DEPFILEs from
  add_custom_command().  Run "cmake --help-policy CMP0116" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  /home/ted/projects/zephyr-based/zephyr/CMakeLists.txt:1198 (configure_linker_script)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /home/ted/projects/zephyr-based/hardware-Stage1-firmware-aws-iot-stand-alone/build/mcuboot
=== child image mcuboot -  end ===

CMake Warning at /home/ted/projects/zephyr-based/nrf/modules/mcuboot/CMakeLists.txt:151 (message):
  

        ---------------------------------------------------------
        --- WARNING: Using default MCUBoot key, it should not ---
        --- be used for production.                           ---
        ---------------------------------------------------------
        



CMake Deprecation Warning at /home/ted/projects/zephyr-based/modules/lib/civetweb/CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Upd
  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Warning at /home/ted/projects/zephyr-based/zephyr/CMakeLists.txt:1607 (message):
  __ASSERT() statements are globally ENABLED


Dropping partition 'nrf_modem_lib_trace' since its size is 0.
-- Configuring done
CMake Warning (dev) at /home/ted/projects/zephyr-based/zephyr/cmake/extensions.cmake:416 (add_library):
  Policy CMP0115 is not set: Source file extensions must be explicit.  Run
  "cmake --help-policy CMP0115" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  File:

    /home/ted/projects/zephyr-based/zephyr/drivers/sensor/iis2dh/iis2dh.c
Call Stack (most recent call first):
  /home/ted/projects/zephyr-based/zephyr/cmake/extensions.cmake:393 (zephyr_library_named)
  /home/ted/projects/zephyr-based/zephyr/drivers/sensor/iis2dh/CMakeLists.txt:7 (zephyr_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /home/ted/projects/zephyr-based/zephyr/cmake/linker/ld/target.cmake:33 (add_custom_command):
  Policy CMP0116 is not set: Ninja generators transform DEPFILEs from
  add_custom_command().  Run "cmake --help-policy CMP0116" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  /home/ted/projects/zephyr-based/zephyr/CMakeLists.txt:1253 (configure_linker_script)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /home/ted/projects/zephyr-based/zephyr/cmake/linker/ld/target.cmake:33 (add_custom_command):
  Policy CMP0116 is not set: Ninja generators transform DEPFILEs from
  add_custom_command().  Run "cmake --help-policy CMP0116" for policy
  details.  Use the cmake_policy command to set the policy and suppress this

  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  /home/ted/projects/zephyr-based/zephyr/CMakeLists.txt:1198 (configure_linker_script)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /home/ted/projects/zephyr-based/hardware-Stage1-firmware-aws-iot-stand-alone/build
-- west build: building application
[1/369] Preparing syscall dependency handling

[10/369] Performing build step for 'mcuboot_subimage'
[1/175] Preparing syscall dependency handling

[168/175] Linking C executable zephyr/zephyr_prebuilt.elf

[175/175] Linking C executable zephyr/zephyr.elf
Memory region         Used Size  Region Size  %age Used
           FLASH:       34952 B        48 KB     71.11%
            SRAM:       20928 B     178968 B     11.69%
        IDT_LIST:          0 GB         2 KB      0.00%
[17/369] Performing build step for 'spm_subimage'
[1/219] Preparing syscall dependency handling

[212/219] Linking C executable zephyr/zephyr_prebuilt.elf
   .
   .
   .