SPI: warning: SSD1333 (defined at [...]/drivers/Kconfig.ssd1333:6) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies...

Hello,

I'm trying to figure out why I get this warning that seems to block the compilation process but a bit of context first :

I'm resuming a project that was paused almost 2 years now on the nrf52840. I was developping on MacOS and I'm trying now to get things work again.

Meanwhile, I had to reinstall my dev environment because of switching from Intel chip to Mac chip architecture and also had to upgrade to latest toolchain and Zephyr SDK versions available (both v3.0.2 now).

Ever since, it shows this warning along with CONFIG_LV_* symbols that seems to be now "undefined" (but that's for another story).

Now, I created a build configuration with the following :

SDK : nRF Connect SDK v3.0.2

Toolchain : nRF Connect SDK Toolchain v3.0.2

Board target : nrf52840_quantum ("compatible" option checked)

Base configuration files (Kconfig fragments) : prj.conf

Base Devicetree Overlays : boards/arm/nrf52840_quantum.overlay

prj.conf:

CONFIG_GPIO=y
CONFIG_DEBUG_OPTIMIZATIONS=y
CONFIG_DEBUG_THREAD_INFO=y
CONFIG_INIT_STACKS=y
CONFIG_FPU=y
CONFIG_NRFX_POWER=y
CONFIG_POWER_DOMAIN=y

CONFIG_NEWLIB_LIBC=y
CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y
CONFIG_CBPRINTF_FP_SUPPORT=y

#CONFIG_THREAD_STACK_INFO=y

CONFIG_HEAP_MEM_POOL_SIZE=50536
# CONFIG_IDLE_STACK_SIZE=8192
# CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096
CONFIG_MAIN_STACK_SIZE=8192
CONFIG_SYS_HEAP_RUNTIME_STATS=y

CONFIG_PRINTK=y
CONFIG_CONSOLE=y

CONFIG_THREAD_NAME=y


# USB
#CONFIG_USB=y
#CONFIG_USB_DEVICE_STACK=y
#CONFIG_USB_DEVICE_PRODUCT="DFKI zephyr SPI sample"
#CONFIG_USB_UART_CONSOLE=y
#CONFIG_USB_UART_DTR_WAIT=y

# ADC
CONFIG_ADC=y
CONFIG_ADC_ASYNC=n

CONFIG_SSD1333=y

CONFIG_DISPLAY=y

CONFIG_LOG=y
CONFIG_LOG_DEFAULT_LEVEL=4
# CONFIG_DISPLAY_LOG_LEVEL_DBG=y

CONFIG_LVGL=y
CONFIG_LV_USE_LARGE_COORD=y
CONFIG_LV_MEM_CUSTOM=n
#CONFIG_LV_Z_MEM_POOL_NUMBER_BLOCKS=8
CONFIG_LV_USE_LOG=y
CONFIG_LV_LOG_PRINTF=y
CONFIG_LV_LOG_LEVEL_WARN=y
# CONFIG_LV_LOG_LEVEL_TRACE=y
CONFIG_LV_USE_LABEL=y
CONFIG_LV_USE_BTN=y
CONFIG_LV_USE_IMG=y
# CONFIG_LV_USE_METER=y
CONFIG_LV_USE_CHART=y
CONFIG_LV_USE_LIST=y
CONFIG_LV_USE_ROLLER=y
CONFIG_LV_DRAW_COMPLEX=y
CONFIG_LV_Z_POINTER_KSCAN=n
CONFIG_LV_COLOR_DEPTH_16=y
CONFIG_LV_COLOR_16_SWAP=y
CONFIG_LV_THEME_DEFAULT_DARK=y
CONFIG_LV_USE_FONT_SUBPX=y
CONFIG_LV_COLOR_CHROMA_KEY_HEX=0x0000FF
CONFIG_LV_DISP_DEF_REFR_PERIOD=500

# I2C
CONFIG_I2C=n

# SPI (I tried a bit everything)
CONFIG_NORDIC_QSPI=y
CONFIG_QSPI=y
CONFIG_SPI_NRFX=y
CONFIG_SPI_ASYNC=y
CONFIG_SPI_NRFX_QSPI=y
CONFIG_SPI_NRFX_QSPI_DMA=y
CONFIG_SPI=y

Kconfig:

rsource "Kconfig.quantum"

Kconfig.quantum:

menu "Quantum"

rsource "drivers/Kconfig.ssd1333"

endmenu

drivers/Kconfig.ssd1333:

menuconfig SSD1333
	bool "SSD1333 display driver"
	depends on SPI || QSPI || I2C
	help
	  Enable driver for SSD1333 display driver.

if SSD1333
[...]

boards/arm/nrf52840_quantum.dts (spi3 / qspi section):

&spi3 {
  compatible = "nordic,nrf-spim";
  status = "disabled";
  pinctrl-0 = <&spi3_default>;
  pinctrl-1 = <&spi3_sleep>;
  pinctrl-names = "default", "sleep";
};

&qspi {
  status = "okay";
  pinctrl-0 = <&qspi_default>;
  pinctrl-1 = <&qspi_sleep>;
  pinctrl-names = "default", "sleep";
  mx25r64: mx25r6435f@0 {
    compatible = "nordic,qspi-nor";
    reg = <0>;
    /* MX25R64 supports only pp and pp4io */
    writeoc = "pp4io";
    /* MX25R64 supports all readoc options */
    readoc = "read4io";
    sck-frequency = <8000000>;
    label = "MX25R64";
    jedec-id = [ c2 28 17  ];
    sfdp-bfp = [ e5 20 f1 ff ff ff ff 03 44 eb 08 6b 08 3b 04 bb ee ff ff ff ff ff 00 ff ff ff 00 ff 0c 20 0f 52 10 d8 00 ff 23 72 f5 00 82 ed 04 cc 44 83 68 44 30 b0 30 b0 f7 c4 d5 5c 00 be 29 ff f0 d0 ff ff  ];
    size = <67108864>;
    has-dpd;
    t-enter-dpd = <10000>;
    t-exit-dpd = <35000>;
  };
};

boards/arm/nrf52840_quantum.overlay (spi3 section):

&spi3 {
  compatible = "nordic,nrf-spim";
  status = "okay";
  pinctrl-0 = <&spi3_default>;
  pinctrl-1 = <&spi3_sleep>;
  cs-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
  // mosi-pin = <32>;
  // sck-pin = <41>;
  pinctrl-names = "default", "sleep";
  clock-frequency = <8000000>;

  ssd1333: ssd1333@0 {
    compatible = "solomon,ssd1333";
    label = "SSD1333";
    spi-max-frequency = <8000000>;
    reg = <0>;
    data-ctrl-gpios = <&gpio0 30 GPIO_ACTIVE_LOW>;
    reset-gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
    width = <160>;
    height = <128>;
  };
};

Almost-full error:

 *  Executing task: nRF Connect: Generate config nrf52840_quantum for /Users/developpement/Quantum 

Building Quantum
west build --build-dir /Users/developpement/Quantum/build /Users/developpement/Quantum --pristine --board nrf52840_quantum -- -DCONF_FILE=prj.conf -DDTC_OVERLAY_FILE=boards/arm/nrf52840_quantum/nrf52840_quantum.overlay -DBOARD_ROOT=/Users/developpement/Quantum

-- west build: generating a build system
Loading Zephyr module(s) (Zephyr base): sysbuild_default
-- Found Python3: /opt/nordic/ncs/toolchains/ef4fc6722e/opt/[email protected]/bin/python3.12 (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter 
-- Cache files will be written to: /Users/Library/Caches/zephyr
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: nrf52840_quantum
Parsing /opt/nordic/ncs/v3.0.2/zephyr/share/sysbuild/Kconfig
Loaded configuration '/Users/developpement/Quantum/build/_sysbuild/empty.conf'
Merged configuration '/Users/developpement/Quantum/build/_sysbuild/empty.conf'
Configuration saved to '/Users/developpement/Quantum/build/zephyr/.config'
Kconfig header saved to '/Users/developpement/Quantum/build/_sysbuild/autoconf.h'
CMake Error at /opt/nordic/ncs/v3.0.2/nrf/sysbuild/CMakeLists.txt:111 (list):
  list GET given empty list
Call Stack (most recent call first):
  cmake/modules/sysbuild_extensions.cmake:583 (nrf_PRE_CMAKE)
  cmake/modules/sysbuild_extensions.cmake:583 (cmake_language)
  cmake/modules/sysbuild_images.cmake:36 (sysbuild_module_call)
  cmake/modules/sysbuild_default.cmake:21 (include)
  /opt/nordic/ncs/v3.0.2/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
  /opt/nordic/ncs/v3.0.2/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  /opt/nordic/ncs/v3.0.2/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
  template/CMakeLists.txt:10 (find_package)


-- 
   *****************************
   * Running CMake for Quantum *
   *****************************

Loading Zephyr default modules (Zephyr base).
-- Application: /Users/developpement/Quantum
-- CMake version: 3.21.0
-- Found Python3: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/python (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter 
-- Cache files will be written to: /Users/Library/Caches/zephyr
-- Zephyr version: 4.0.99 (/opt/nordic/ncs/v3.0.2/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: nrf52840_quantum
-- Found host-tools: zephyr 0.17.0 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.17.0 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
-- Found Dtc: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6") 
-- Found BOARD.dts: /Users/developpement/Quantum/boards/arm/nrf52840_quantum/nrf52840_quantum.dts
-- Found devicetree overlay: boards/arm/nrf52840_quantum/nrf52840_quantum.overlay
-- Generated zephyr.dts: /Users/developpement/Quantum/build/Quantum/zephyr/zephyr.dts
-- Generated pickled edt: /Users/developpement/Quantum/build/Quantum/zephyr/edt.pickle
-- Generated zephyr.dts: /Users/developpement/Quantum/build/Quantum/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /Users/developpement/Quantum/build/Quantum/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /Users/developpement/Quantum/build/Quantum/zephyr/dts.cmake
CMake Warning at /opt/nordic/ncs/v3.0.2/zephyr/cmake/modules/dts.cmake:428 (message):
  dtc raised one or more warnings:

  
  /Users/developpement/Quantum/build/Quantum/zephyr/zephyr.dts:72.25-77.5:
  Warning (unique_unit_address_if_enabled): /soc/clock@40000000: duplicate
  unit-address (also used in node /soc/power@40000000)

  
  /Users/developpement/Quantum/build/Quantum/zephyr/zephyr.dts:379.21-383.5:
  Warning (unique_unit_address_if_enabled): /soc/acl@4001e000: duplicate
  unit-address (also used in node /soc/flash-controller@4001e000)

Call Stack (most recent call first):
  /opt/nordic/ncs/v3.0.2/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
  /opt/nordic/ncs/v3.0.2/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  /opt/nordic/ncs/v3.0.2/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:5 (find_package)



warning: SSD1333 (defined at /Users/developpement/Quantum/drivers/Kconfig.ssd1333:6) was
assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: (SPI || QSPI ||
I2C) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_SSD1333 and/or look up
SSD1333 in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.


/Users/developpement/Quantum/boards/arm/nrf52840_quantum/nrf52840_quantum_defconfig:4: warning: attempt to assign the value 'y' to the undefined symbol SOC_SERIES_NRF52X
// And so on...

What I already did :

  • Deleting the associated build folder to generate a new one from VSCode's NRF Connect plugin ;
  • Adding `CONFIG_SPI=y` or `config SPI -> default y` at every Kconfig / *.defconfig project file (including the board) I could think of on the inclusion path ;
  • Making sure I define SPI / QSPI blocks on dts and overlay files ;
  • Check the .config file on the build directory but I only see `SB_*` vars defined

Has something changed since some versions when configuring/enabling SPI ? Can you point me out where I missed something or how could I debug this ?

Thanks in advance !

Parents
  • Hi,

    The CMake error "list GET given empty list" comes from here, so I wonder if there is a problem with your board files? I recommend having a look at how custom board files are generated for SDK 3.0.0 in module 3 in the intermediate nRF Connnect SDK course.

    Regarding the Kconfig warnings I am having problems undersanding them, as taking your CONFIG_SSD1333 as an exmaple, this depend on for instance SPI. which you have also set. But I do not see the whole logs so there may be more information there.

    Can you:

    1. Share the full build log?

    2. Share the generated .config file so we see all configs that is actually used in the build?

  • Thanks for your help; I tried playing with new elements I could gather from the course but still getting the same thing.

    Here is the full log :

     *  Executing task: nRF Connect: Generate config nrf52840_quantum for /Users/ferez/developpement/Quantum 
    
    Building Quantum
    west build --build-dir /Users/ferez/developpement/Quantum/build /Users/ferez/developpement/Quantum --pristine --board nrf52840_quantum -- -DCONF_FILE=prj.conf -DDTC_OVERLAY_FILE=boards/arm/nrf52840_quantum/nrf52840_quantum.overlay -DBOARD_ROOT=/Users/ferez/developpement/Quantum
    
    -- west build: generating a build system
    Loading Zephyr module(s) (Zephyr base): sysbuild_default
    -- Found Python3: /opt/nordic/ncs/toolchains/ef4fc6722e/opt/[email protected]/bin/python3.12 (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter 
    -- Cache files will be written to: /Users/ferez/Library/Caches/zephyr
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf52840_quantum
    Parsing /opt/nordic/ncs/v3.0.2/zephyr/share/sysbuild/Kconfig
    Loaded configuration '/Users/ferez/developpement/Quantum/build/_sysbuild/empty.conf'
    Merged configuration '/Users/ferez/developpement/Quantum/build/_sysbuild/empty.conf'
    Configuration saved to '/Users/ferez/developpement/Quantum/build/zephyr/.config'
    Kconfig header saved to '/Users/ferez/developpement/Quantum/build/_sysbuild/autoconf.h'
    CMake Error at /opt/nordic/ncs/v3.0.2/nrf/sysbuild/CMakeLists.txt:111 (list):
      list GET given empty list
    Call Stack (most recent call first):
      cmake/modules/sysbuild_extensions.cmake:583 (nrf_PRE_CMAKE)
      cmake/modules/sysbuild_extensions.cmake:583 (cmake_language)
      cmake/modules/sysbuild_images.cmake:36 (sysbuild_module_call)
      cmake/modules/sysbuild_default.cmake:21 (include)
      /opt/nordic/ncs/v3.0.2/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
      /opt/nordic/ncs/v3.0.2/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
      /opt/nordic/ncs/v3.0.2/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
      template/CMakeLists.txt:10 (find_package)
    
    
    -- 
       *****************************
       * Running CMake for Quantum *
       *****************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: /Users/ferez/developpement/Quantum
    -- CMake version: 3.21.0
    -- Found Python3: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/python (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter 
    -- Cache files will be written to: /Users/ferez/Library/Caches/zephyr
    -- Zephyr version: 4.0.99 (/opt/nordic/ncs/v3.0.2/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf52840_quantum
    -- Found host-tools: zephyr 0.17.0 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.17.0 (/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk)
    -- Found Dtc: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6") 
    -- Found BOARD.dts: /Users/ferez/developpement/Quantum/boards/arm/nrf52840_quantum/nrf52840_quantum.dts
    -- Found devicetree overlay: boards/arm/nrf52840_quantum/nrf52840_quantum.overlay
    -- Generated zephyr.dts: /Users/ferez/developpement/Quantum/build/Quantum/zephyr/zephyr.dts
    -- Generated pickled edt: /Users/ferez/developpement/Quantum/build/Quantum/zephyr/edt.pickle
    -- Generated zephyr.dts: /Users/ferez/developpement/Quantum/build/Quantum/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: /Users/ferez/developpement/Quantum/build/Quantum/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: /Users/ferez/developpement/Quantum/build/Quantum/zephyr/dts.cmake
    CMake Warning at /opt/nordic/ncs/v3.0.2/zephyr/cmake/modules/dts.cmake:428 (message):
      dtc raised one or more warnings:
    
      
      /Users/ferez/developpement/Quantum/build/Quantum/zephyr/zephyr.dts:72.25-77.5:
      Warning (unique_unit_address_if_enabled): /soc/clock@40000000: duplicate
      unit-address (also used in node /soc/power@40000000)
    
      
      /Users/ferez/developpement/Quantum/build/Quantum/zephyr/zephyr.dts:379.21-383.5:
      Warning (unique_unit_address_if_enabled): /soc/acl@4001e000: duplicate
      unit-address (also used in node /soc/flash-controller@4001e000)
    
    Call Stack (most recent call first):
      /opt/nordic/ncs/v3.0.2/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
      /opt/nordic/ncs/v3.0.2/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
      /opt/nordic/ncs/v3.0.2/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
      CMakeLists.txt:5 (find_package)
    
    
    
    warning: SSD1333 (defined at /Users/ferez/developpement/Quantum/drivers/Kconfig.ssd1333:6) was
    assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: (SPI || QSPI ||
    I2C) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_SSD1333 and/or look up
    SSD1333 in the menuconfig/guiconfig interface. The Application Development Primer, Setting
    Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
    too.
    
    
    /Users/ferez/developpement/Quantum/boards/arm/nrf52840_quantum/nrf52840_quantum_defconfig:4: warning: attempt to assign the value 'y' to the undefined symbol SOC_SERIES_NRF52X
    
    /Users/ferez/developpement/Quantum/boards/arm/nrf52840_quantum/nrf52840_quantum_defconfig:5: warning: attempt to assign the value 'y' to the undefined symbol SOC_NRF52840_QIAA
    
    /Users/ferez/developpement/Quantum/boards/arm/nrf52840_quantum/nrf52840_quantum_defconfig:6: warning: attempt to assign the value 'y' to the undefined symbol BOARD_NRF52840_QUANTUM
    
    /Users/ferez/developpement/Quantum/boards/arm/nrf52840_quantum/nrf52840_quantum_defconfig:9: warning: attempt to assign the value 'y' to the undefined symbol ARM_MPU
    
    /Users/ferez/developpement/Quantum/boards/arm/nrf52840_quantum/nrf52840_quantum_defconfig:12: warning: attempt to assign the value 'y' to the undefined symbol HW_STACK_PROTECTION
    
    /Users/ferez/developpement/Quantum/boards/arm/nrf52840_quantum/nrf52840_quantum_defconfig:15: warning: attempt to assign the value 'y' to the undefined symbol USE_SEGGER_RTT
    
    /Users/ferez/developpement/Quantum/boards/arm/nrf52840_quantum/nrf52840_quantum_defconfig:18: warning: attempt to assign the value 'y' to the undefined symbol GPIO
    
    /Users/ferez/developpement/Quantum/boards/arm/nrf52840_quantum/nrf52840_quantum_defconfig:21: warning: attempt to assign the value 'y' to the undefined symbol SERIAL
    
    /Users/ferez/developpement/Quantum/boards/arm/nrf52840_quantum/nrf52840_quantum_defconfig:24: warning: attempt to assign the value 'y' to the undefined symbol CONSOLE
    
    /Users/ferez/developpement/Quantum/boards/arm/nrf52840_quantum/nrf52840_quantum_defconfig:25: warning: attempt to assign the value 'y' to the undefined symbol UART_CONSOLE
    
    /Users/ferez/developpement/Quantum/boards/arm/nrf52840_quantum/nrf52840_quantum_defconfig:28: warning: attempt to assign the value 'y' to the undefined symbol GPIO_AS_PINRESET
    
    /Users/ferez/developpement/Quantum/boards/arm/nrf52840_quantum/nrf52840_quantum_defconfig:30: warning: attempt to assign the value 'y' to the undefined symbol PINCTRL
    
    /Users/ferez/developpement/Quantum/boards/arm/nrf52840_quantum/nrf52840_quantum_defconfig:32: warning: attempt to assign the value 'y' to the undefined symbol SPI
    
    /Users/ferez/developpement/Quantum/boards/arm/nrf52840_quantum/nrf52840_quantum_defconfig:34: warning: attempt to assign the value 'y' to the undefined symbol I2C
    
    /Users/ferez/developpement/Quantum/prj.conf:1: warning: attempt to assign the value 'y' to the undefined symbol GPIO
    
    /Users/ferez/developpement/Quantum/prj.conf:2: warning: attempt to assign the value 'y' to the undefined symbol DEBUG_OPTIMIZATIONS
    
    /Users/ferez/developpement/Quantum/prj.conf:3: warning: attempt to assign the value 'y' to the undefined symbol DEBUG_THREAD_INFO
    
    /Users/ferez/developpement/Quantum/prj.conf:4: warning: attempt to assign the value 'y' to the undefined symbol INIT_STACKS
    
    /Users/ferez/developpement/Quantum/prj.conf:5: warning: attempt to assign the value 'y' to the undefined symbol FPU
    
    /Users/ferez/developpement/Quantum/prj.conf:6: warning: attempt to assign the value 'y' to the undefined symbol NRFX_POWER
    
    /Users/ferez/developpement/Quantum/prj.conf:7: warning: attempt to assign the value 'y' to the undefined symbol POWER_DOMAIN
    
    /Users/ferez/developpement/Quantum/prj.conf:9: warning: attempt to assign the value 'y' to the undefined symbol NEWLIB_LIBC
    
    /Users/ferez/developpement/Quantum/prj.conf:10: warning: attempt to assign the value 'y' to the undefined symbol NEWLIB_LIBC_FLOAT_PRINTF
    
    /Users/ferez/developpement/Quantum/prj.conf:11: warning: attempt to assign the value 'y' to the undefined symbol CBPRINTF_FP_SUPPORT
    
    /Users/ferez/developpement/Quantum/prj.conf:15: warning: attempt to assign the value '50536' to the undefined symbol HEAP_MEM_POOL_SIZE
    
    /Users/ferez/developpement/Quantum/prj.conf:18: warning: attempt to assign the value '8192' to the undefined symbol MAIN_STACK_SIZE
    
    /Users/ferez/developpement/Quantum/prj.conf:19: warning: attempt to assign the value 'y' to the undefined symbol SYS_HEAP_RUNTIME_STATS
    
    /Users/ferez/developpement/Quantum/prj.conf:21: warning: attempt to assign the value 'y' to the undefined symbol PRINTK
    
    /Users/ferez/developpement/Quantum/prj.conf:22: warning: attempt to assign the value 'y' to the undefined symbol CONSOLE
    
    /Users/ferez/developpement/Quantum/prj.conf:24: warning: attempt to assign the value 'y' to the undefined symbol THREAD_NAME
    
    /Users/ferez/developpement/Quantum/prj.conf:35: warning: attempt to assign the value 'y' to the undefined symbol ADC
    
    /Users/ferez/developpement/Quantum/prj.conf:36: warning: attempt to assign the value 'n' to the undefined symbol ADC_ASYNC
    
    /Users/ferez/developpement/Quantum/prj.conf:40: warning: attempt to assign the value 'y' to the undefined symbol DISPLAY
    
    /Users/ferez/developpement/Quantum/prj.conf:42: warning: attempt to assign the value 'y' to the undefined symbol LOG
    
    /Users/ferez/developpement/Quantum/prj.conf:43: warning: attempt to assign the value '4' to the undefined symbol LOG_DEFAULT_LEVEL
    
    /Users/ferez/developpement/Quantum/prj.conf:46: warning: attempt to assign the value 'y' to the undefined symbol LVGL
    
    /Users/ferez/developpement/Quantum/prj.conf:47: warning: attempt to assign the value 'y' to the undefined symbol LV_USE_LARGE_COORD
    
    /Users/ferez/developpement/Quantum/prj.conf:48: warning: attempt to assign the value 'n' to the undefined symbol LV_MEM_CUSTOM
    
    /Users/ferez/developpement/Quantum/prj.conf:50: warning: attempt to assign the value 'y' to the undefined symbol LV_USE_LOG
    
    /Users/ferez/developpement/Quantum/prj.conf:51: warning: attempt to assign the value 'y' to the undefined symbol LV_LOG_PRINTF
    
    /Users/ferez/developpement/Quantum/prj.conf:52: warning: attempt to assign the value 'y' to the undefined symbol LV_LOG_LEVEL_WARN
    
    /Users/ferez/developpement/Quantum/prj.conf:54: warning: attempt to assign the value 'y' to the undefined symbol LV_USE_LABEL
    
    /Users/ferez/developpement/Quantum/prj.conf:55: warning: attempt to assign the value 'y' to the undefined symbol LV_USE_BTN
    
    /Users/ferez/developpement/Quantum/prj.conf:56: warning: attempt to assign the value 'y' to the undefined symbol LV_USE_IMG
    
    /Users/ferez/developpement/Quantum/prj.conf:58: warning: attempt to assign the value 'y' to the undefined symbol LV_USE_CHART
    
    /Users/ferez/developpement/Quantum/prj.conf:59: warning: attempt to assign the value 'y' to the undefined symbol LV_USE_LIST
    
    /Users/ferez/developpement/Quantum/prj.conf:60: warning: attempt to assign the value 'y' to the undefined symbol LV_USE_ROLLER
    
    /Users/ferez/developpement/Quantum/prj.conf:61: warning: attempt to assign the value 'y' to the undefined symbol LV_DRAW_COMPLEX
    
    /Users/ferez/developpement/Quantum/prj.conf:62: warning: attempt to assign the value 'n' to the undefined symbol LV_Z_POINTER_KSCAN
    
    /Users/ferez/developpement/Quantum/prj.conf:63: warning: attempt to assign the value 'y' to the undefined symbol LV_COLOR_DEPTH_16
    
    /Users/ferez/developpement/Quantum/prj.conf:64: warning: attempt to assign the value 'y' to the undefined symbol LV_COLOR_16_SWAP
    
    /Users/ferez/developpement/Quantum/prj.conf:65: warning: attempt to assign the value 'y' to the undefined symbol LV_THEME_DEFAULT_DARK
    
    /Users/ferez/developpement/Quantum/prj.conf:66: warning: attempt to assign the value 'y' to the undefined symbol LV_USE_FONT_SUBPX
    
    /Users/ferez/developpement/Quantum/prj.conf:67: warning: attempt to assign the value '0x0000FF' to the undefined symbol LV_COLOR_CHROMA_KEY_HEX
    
    /Users/ferez/developpement/Quantum/prj.conf:68: warning: attempt to assign the value '500' to the undefined symbol LV_DISP_DEF_REFR_PERIOD
    
    /Users/ferez/developpement/Quantum/prj.conf:71: warning: attempt to assign the value 'n' to the undefined symbol I2C
    
    /Users/ferez/developpement/Quantum/prj.conf:74: warning: attempt to assign the value 'y' to the undefined symbol NORDIC_QSPI
    
    /Users/ferez/developpement/Quantum/prj.conf:75: warning: attempt to assign the value 'y' to the undefined symbol QSPI
    
    /Users/ferez/developpement/Quantum/prj.conf:76: warning: attempt to assign the value 'y' to the undefined symbol SPI_NRFX
    
    /Users/ferez/developpement/Quantum/prj.conf:77: warning: attempt to assign the value 'y' to the undefined symbol SPI_ASYNC
    
    /Users/ferez/developpement/Quantum/prj.conf:78: warning: attempt to assign the value 'y' to the undefined symbol SPI_NRFX_QSPI
    
    /Users/ferez/developpement/Quantum/prj.conf:79: warning: attempt to assign the value 'y' to the undefined symbol SPI_NRFX_QSPI_DMA
    
    /Users/ferez/developpement/Quantum/prj.conf:80: warning: attempt to assign the value 'y' to the undefined symbol SPI
    
    /Users/ferez/developpement/Quantum/prj.conf:82: warning: attempt to assign the value 'y' to the undefined symbol SOC_NRF52840_QIAA
    
    /Users/ferez/developpement/Quantum/prj.conf:83: warning: attempt to assign the value 'y' to the undefined symbol BOARD_NRF52840_QUANTUM
    
    /Users/ferez/developpement/Quantum/build/Quantum/zephyr/.config.sysbuild:2: warning: attempt to assign the value 'n' to the undefined symbol PARTITION_MANAGER_ENABLED
    
    /Users/ferez/developpement/Quantum/build/Quantum/zephyr/.config.sysbuild:3: warning: attempt to assign the value 'y' to the undefined symbol BUILD_OUTPUT_BIN
    
    /Users/ferez/developpement/Quantum/build/Quantum/zephyr/.config.sysbuild:4: warning: attempt to assign the value 'y' to the undefined symbol BUILD_OUTPUT_HEX
    
    /Users/ferez/developpement/Quantum/build/Quantum/zephyr/.config.sysbuild:5: warning: attempt to assign the value 'n' to the undefined symbol BOOTLOADER_MCUBOOT
    
    /Users/ferez/developpement/Quantum/build/Quantum/zephyr/.config.sysbuild:6: warning: attempt to assign the value '""' to the undefined symbol MCUBOOT_SIGNATURE_KEY_FILE
    
    /Users/ferez/developpement/Quantum/build/Quantum/zephyr/.config.sysbuild:7: warning: attempt to assign the value '""' to the undefined symbol MCUBOOT_ENCRYPTION_KEY_FILE
    
    error: Aborting due to Kconfig warnings
    
    Parsing /Users/ferez/developpement/Quantum/Kconfig
    Loaded configuration '/Users/ferez/developpement/Quantum/boards/arm/nrf52840_quantum/nrf52840_quantum_defconfig'
    Merged configuration '/Users/ferez/developpement/Quantum/prj.conf'
    Merged configuration '/Users/ferez/developpement/Quantum/build/Quantum/zephyr/.config.sysbuild'
    CMake Error at /opt/nordic/ncs/v3.0.2/zephyr/cmake/modules/kconfig.cmake:396 (message):
      command failed with return code: 1
    Call Stack (most recent call first):
      /opt/nordic/ncs/v3.0.2/nrf/cmake/modules/kconfig.cmake:36 (include)
      /opt/nordic/ncs/v3.0.2/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
      /opt/nordic/ncs/v3.0.2/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
      /opt/nordic/ncs/v3.0.2/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
      CMakeLists.txt:5 (find_package)
    
    
    -- Configuring incomplete, errors occurred!
    CMake Error at cmake/modules/sysbuild_extensions.cmake:514 (message):
      CMake configure failed for Zephyr project: Quantum
    
      Location: /Users/ferez/developpement/Quantum
    Call Stack (most recent call first):
      cmake/modules/sysbuild_images.cmake:43 (ExternalZephyrProject_Cmake)
      cmake/modules/sysbuild_default.cmake:21 (include)
      /opt/nordic/ncs/v3.0.2/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
      /opt/nordic/ncs/v3.0.2/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
      /opt/nordic/ncs/v3.0.2/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
      template/CMakeLists.txt:10 (find_package)
    
    
    -- Configuring incomplete, errors occurred!
    See also "/Users/ferez/developpement/Quantum/build/CMakeFiles/CMakeOutput.log".
    FATAL ERROR: command exited with status 1: /opt/nordic/ncs/toolchains/ef4fc6722e/bin/cmake -DWEST_PYTHON=/opt/nordic/ncs/toolchains/ef4fc6722e/opt/[email protected]/bin/python3.12 -B/Users/ferez/developpement/Quantum/build -GNinja -DBOARD=nrf52840_quantum -DCONF_FILE=prj.conf -DDTC_OVERLAY_FILE=boards/arm/nrf52840_quantum/nrf52840_quantum.overlay -DBOARD_ROOT=/Users/ferez/developpement/Quantum -S/opt/nordic/ncs/v3.0.2/zephyr/share/sysbuild -DAPP_DIR:PATH=/Users/ferez/developpement/Quantum
    
     *  The terminal process terminated with exit code: 1. 
     *  Terminal will be reused by tasks, press any key to close it.

    And the build/zephyr/.config file : 

    #
    # Sysbuild image configuration
    #
    
    #
    # Modules
    #
    
    #
    # Available modules.
    #
    
    #
    # nrf (/opt/nordic/ncs/v3.0.2/nrf)
    #
    # SB_CONFIG_PARTITION_MANAGER is not set
    SB_CONFIG_BUILD_OUTPUT_BIN=y
    SB_CONFIG_BUILD_OUTPUT_HEX=y
    SB_CONFIG_APPCORE_REMOTE_BOARD_TARGET_CPUCLUSTER="cpuapp"
    SB_CONFIG_APPCORE_REMOTE_DOMAIN="CPUAPP"
    
    #
    # Secure Bootloader
    #
    # SB_CONFIG_SECURE_BOOT_APPCORE is not set
    # end of Secure Bootloader
    
    #
    # Bluetooth Fair Pair
    #
    SB_CONFIG_BT_FAST_PAIR_MODEL_ID=0x1000000
    SB_CONFIG_BT_FAST_PAIR_ANTI_SPOOFING_PRIVATE_KEY=""
    # end of Bluetooth Fair Pair
    
    # SB_CONFIG_MATTER is not set
    
    #
    # Wi-Fi
    #
    # SB_CONFIG_WIFI_NRF70 is not set
    # end of Wi-Fi
    
    #
    # SUIT
    #
    # SB_CONFIG_SUIT_ENVELOPE is not set
    # SB_CONFIG_SUIT_BUILD_RECOVERY is not set
    # SB_CONFIG_SUIT_BUILD_FLASH_COMPANION is not set
    # SB_CONFIG_SUIT_BUILD_AB_UPDATE is not set
    # SB_CONFIG_SUIT_SOC_FLASH_NRF_RADIO_SYNC_RPC is not set
    # end of SUIT
    
    #
    # SUIT provisioning
    #
    # SB_CONFIG_SUIT_MPI_GENERATE is not set
    # end of SUIT provisioning
    
    # SB_CONFIG_HPF is not set
    SB_CONFIG_ZEPHYR_NRF_MODULE=y
    # end of nrf (/opt/nordic/ncs/v3.0.2/nrf)
    
    SB_CONFIG_ZEPHYR_HOSTAP_MODULE=y
    SB_CONFIG_ZEPHYR_MCUBOOT_MODULE=y
    SB_CONFIG_ZEPHYR_MBEDTLS_MODULE=y
    SB_CONFIG_ZEPHYR_OBERON_PSA_CRYPTO_MODULE=y
    SB_CONFIG_ZEPHYR_TRUSTED_FIRMWARE_M_MODULE=y
    SB_CONFIG_ZEPHYR_PSA_ARCH_TESTS_MODULE=y
    SB_CONFIG_ZEPHYR_CJSON_MODULE=y
    SB_CONFIG_ZEPHYR_AZURE_SDK_FOR_C_MODULE=y
    SB_CONFIG_ZEPHYR_CIRRUS_LOGIC_MODULE=y
    SB_CONFIG_ZEPHYR_OPENTHREAD_MODULE=y
    SB_CONFIG_ZEPHYR_SUIT_GENERATOR_MODULE=y
    SB_CONFIG_ZEPHYR_SUIT_PROCESSOR_MODULE=y
    SB_CONFIG_ZEPHYR_MEMFAULT_FIRMWARE_SDK_MODULE=y
    SB_CONFIG_ZEPHYR_COREMARK_MODULE=y
    SB_CONFIG_ZEPHYR_CANOPENNODE_MODULE=y
    SB_CONFIG_ZEPHYR_CHRE_MODULE=y
    SB_CONFIG_ZEPHYR_LZ4_MODULE=y
    SB_CONFIG_ZEPHYR_NANOPB_MODULE=y
    SB_CONFIG_ZEPHYR_TF_M_TESTS_MODULE=y
    SB_CONFIG_ZEPHYR_ZSCILIB_MODULE=y
    SB_CONFIG_ZEPHYR_CMSIS_MODULE=y
    SB_CONFIG_ZEPHYR_CMSIS_DSP_MODULE=y
    SB_CONFIG_ZEPHYR_CMSIS_NN_MODULE=y
    SB_CONFIG_ZEPHYR_FATFS_MODULE=y
    SB_CONFIG_ZEPHYR_HAL_NORDIC_MODULE=y
    SB_CONFIG_ZEPHYR_HAL_ST_MODULE=y
    SB_CONFIG_ZEPHYR_HAL_TDK_MODULE=y
    SB_CONFIG_ZEPHYR_HAL_WURTHELEKTRONIK_MODULE=y
    SB_CONFIG_ZEPHYR_LIBLC3_MODULE=y
    SB_CONFIG_ZEPHYR_LIBMETAL_MODULE=y
    SB_CONFIG_ZEPHYR_LITTLEFS_MODULE=y
    SB_CONFIG_ZEPHYR_LORAMAC_NODE_MODULE=y
    SB_CONFIG_ZEPHYR_LVGL_MODULE=y
    SB_CONFIG_ZEPHYR_MIPI_SYS_T_MODULE=y
    SB_CONFIG_ZEPHYR_NRF_WIFI_MODULE=y
    SB_CONFIG_ZEPHYR_OPEN_AMP_MODULE=y
    SB_CONFIG_ZEPHYR_PERCEPIO_MODULE=y
    SB_CONFIG_ZEPHYR_PICOLIBC_MODULE=y
    SB_CONFIG_ZEPHYR_SEGGER_MODULE=y
    SB_CONFIG_ZEPHYR_TINYCRYPT_MODULE=y
    SB_CONFIG_ZEPHYR_UOSCORE_UEDHOC_MODULE=y
    SB_CONFIG_ZEPHYR_ZCBOR_MODULE=y
    SB_CONFIG_ZEPHYR_NRFXLIB_MODULE=y
    SB_CONFIG_ZEPHYR_NRF_HW_MODELS_MODULE=y
    SB_CONFIG_ZEPHYR_CONNECTEDHOMEIP_MODULE=y
    
    #
    # Unavailable modules, please install those via the project manifest.
    #
    # end of Modules
    
    # SB_CONFIG_WARN_EXPERIMENTAL is not set
    SB_CONFIG_WARN_DEPRECATED=y
    SB_CONFIG_SUPPORT_BOOTLOADER=y
    SB_CONFIG_SUPPORT_BOOTLOADER_MCUBOOT_ZEPHYR=y
    SB_CONFIG_BOOTLOADER_NONE=y
    # SB_CONFIG_BOOTLOADER_MCUBOOT is not set
    
    #
    # Build options
    #
    # SB_CONFIG_COMPILER_WARNINGS_AS_ERRORS is not set
    # end of Build options
    

    But I may still have old definitions file format on my custom board since I just modified the .yml and board's Kconfig file to match the course:

    boards/arm/nrf52840_quantum/Kconfig.boardnrf52840_quantum.yml:

    board:
      identifier: nrf52840_quantum
      name: nrf52840_quantum
      vendor: Kiwi Electronics
      description: "Kiwi Electronics nRF52840 Quantum board"
      socs:
      - name: nrf52840  
        variants:
        - name: ns
      revision:
        format: major.minor.patch
        default: 0.9.0
        revisions:
        - version: 0.9.0
          description: Initial release
      type: mcu
      arch: arm
      ram: 256
      flash: 1024
      toolchain:
        - zephyr
        - gnuarmemb
        - xtools
      supported:
        - adc
        - arduino_gpio
        - arduino_i2c
        - arduino_spi
        - ble
        - counter
        - gpio
        - i2c
        - i2s
        - ieee802154
        - pwm
        - spi
        - qspi
        - usb_cdc
        - usb_device
        - watchdog
        - netif:openthread
    

    Updated boards/arm/nrf52840_quantum/Kconfig.board:

    # Copyright (c) 2022 Nordic Semiconductor ASA
    # SPDX-License-Identifier: Apache-2.0
    
    config BOARD_NRF52840_QUANTUM
    	select SOC_NRF52840_QIAA
    
    config SPI
      bool "SPI hardware support"

  • Hi,

    The board must be migrated to hardware model v2 from nRF Connect SDK 3.0 release notes:

    If you still face issues, can you share the project and board and also share the build folder? Regarding the .config file, the most important is the one for the application itself which you can now find under <build_folder>/<application_name>/zephyr/. (The .config you added is for sysbuild which can sometimes be relevant, but normally less so).

  • I had to fix an issue with nRF Connect first and was finally able to generate another board from 3.0.2 SDK.

    I adapted a bit this template but unfortunately, I got the same errors.

    Please find here the partial project files

    EDIT: I updated files on the shared link to include the board's related change on prj.conf, now Cmake error is not there anymore, only remains warnings from the SSD1333 warning (this post title :D)

  • Hi,

    The most important problem here is that you are missingthis as the first line in the Kconfig for the project itself (not in the board files):

    source "Kconfig.zephyr"

    And because of that, you saw issues and started adding configs to try to migitate that. So you need to remove a set of configs next:

    Do not set BOARD_NRF52840_QUANTUM_V2, SOC_NRF52840_QIAA, CONFIG_SOC_SERIES_NRF52X nor CONFIG_SOC_NRF52840_QIAA in any config file (neither in the project not he board files). When I test with that I end up with m any undefined configs LV_... which is probably because you only uploaded part of the proejct. But you should be able to continue the process by looking at errors and resolving as you go.

  • Thanks a lot ! That's what I was missing out. 
    Now I have plenty new errors and warning from this major upgrade but I should be able to continue from there :)

Reply Children
No Data
Related