Date
1 - 3 of 3
help building using the latest zephyr version (nRF52840, pca10056)
Abderrezak Mekkaoui <ab.mekka@...>
Hi All,
My app does not build under the new version (1.12.99). I have been successfully building this app using versions <= 1.12.rc2 The issues were very likely described and debated by the group, but I would appreciate a quick pointer (links to documents or posts) to what needs to be adjusted. I use BLE, NVS, I2C, UART among other things. Error messages are pasted below. Thank you Abderrezak =========================================================================================== [0/1] Re-running CMake... ../zephyr/scripts/check_host_is_ok.py:5: DeprecationWarning: 'U' mode is deprecated f = open('{}/Kconfig'.format(os.environ["ZEPHYR_BASE"]), 'U') -- Selected BOARD nrf52840_pca10056 Zephyr version: 1.12.99 warning: HAS_DTS_I2C (defined at dts\Kconfig:28) was assigned the value 'y' but got the value 'n'. This symbol has no prompt, meaning assignments in configuration files have no effect on it. It can only be set indirectly, via Kconfig defaults (e.g. in a Kconfig.defconfig file) or through being 'select'ed or 'imply'd (note: try to avoid Kconfig 'select's except for trivial promptless "helper" symbols without dependencies, as it ignores dependencies and forces symbols on). You can check symbol information (including dependencies) in the 'menuconfig' interface (see the Application Development Primer section of the manual), or in the Kconfig reference at http://docs.zephyrproject.org/reference/kconfig/CONFIG_HAS_DTS_I2C.html (which is updated regularly from the master branch). See the 'Setting configuration values' section of the Board Porting Guide as well. It covers Kconfig.defconfig files. warning: SERIAL_HAS_DRIVER (defined at drivers\serial\Kconfig:18) was assigned the value 'y' but got the value 'n'. This symbol has no prompt, meaning assignments in configuration files have no effect on it. It can only be set indirectly, via Kconfig defaults (e.g. in a Kconfig.defconfig file) or through being 'select'ed or 'imply'd (note: try to avoid Kconfig 'select's except for trivial promptless "helper" symbols without dependencies, as it ignores dependencies and forces symbols on). You can check symbol information (including dependencies) in the 'menuconfig' interface (see the Application Development Primer section of the manual), or in the Kconfig reference at http://docs.zephyrproject.org/reference/kconfig/CONFIG_SERIAL_HAS_DRIVER.html (which is updated regularly from the master branch). See the 'Setting configuration values' section of the Board Porting Guide as well. It covers Kconfig.defconfig files. warning: SERIAL_SUPPORT_INTERRUPT (defined at drivers\serial\Kconfig:25) was assigned the value 'y' but got the value 'n'. This symbol has no prompt, meaning assignments in configuration files have no effect on it. It can only be set indirectly, via Kconfig defaults (e.g. in a Kconfig.defconfig file) or through being 'select'ed or 'imply'd (note: try to avoid Kconfig 'select's except for trivial promptless "helper" symbols without dependencies, as it ignores dependencies and forces symbols on). You can check symbol information (including dependencies) in the 'menuconfig' interface (see the Application Development Primer section of the manual), or in the Kconfig reference at http://docs.zephyrproject.org/reference/kconfig/CONFIG_SERIAL_SUPPORT_INTERRUPT.html (which is updated regularly from the master branch). See the 'Setting configuration values' section of the Board Porting Guide as well. It covers Kconfig.defconfig files. warning: BT_CTLR_EXT_SCAN_FP (defined at subsys\bluetooth\controller\Kconfig:237) was assigned the value 'y' but got the value 'n'. You can check symbol information (including dependencies) in the 'menuconfig' interface (see the Application Development Primer section of tParsing Kconfig tree in ../apps/ble_esp/ble_esp_src/Kconfig Using ../apps/ble_esp/ble_esp_build/zephyr/.config as base he manual), or in the Kconfig reference at http://docs.zephyrproject.org/reference/kconfig/CONFIG_BT_CTLR_EXT_SCAN_FP.html (which is updated regularly from the master branch). See the 'Setting configuration values' section of the Board Porting Guide as well. ../apps/ble_esp/ble_esp_build/zephyr/.config:149: warning: attempt to assign the value "n" to the undefined symbol WAITQ_FAST ../apps/ble_esp/ble_esp_build/zephyr/.config:268: warning: attempt to assign the value "y" to the undefined symbol UART_NRF5 ../apps/ble_esp/ble_esp_build/zephyr/.config:269: warning: attempt to assign the value "16000000" to the undefined symbol UART_NRF5_CLK_FREQ ../apps/ble_esp/ble_esp_build/zephyr/.config:270: warning: attempt to assign the value "n" to the undefined symbol UART_NRF5_FLOW_CONTROL ../apps/ble_esp/ble_esp_build/zephyr/.config:271: warning: attempt to assign the value "6" to the undefined symbol UART_NRF5_GPIO_TX_PIN ../apps/ble_esp/ble_esp_build/zephyr/.config:272: warning: attempt to assign the value "8" to the undefined symbol UART_NRF5_GPIO_RX_PIN ../apps/ble_esp/ble_esp_build/zephyr/.config:273: warning: attempt to assign the value "5" to the undefined symbol UART_NRF5_GPIO_RTS_PIN ../apps/ble_esp/ble_esp_build/zephyr/.config:274: warning: attempt to assign the value "7" to the undefined symbol UART_NRF5_GPIO_CTS_PIN ../apps/ble_esp/ble_esp_build/zephyr/.config:306: warning: attempt to assign the value "y" to the undefined symbol GPIO_NRF5 ../apps/ble_esp/ble_esp_build/zephyr/.config:307: warning: attempt to assign the value "40" to the undefined symbol GPIO_NRF5_INIT_PRIORITY ../apps/ble_esp/ble_esp_build/zephyr/.config:308: warning: attempt to assign the value "y" to the undefined symbol GPIO_NRF5_P0 ../apps/ble_esp/ble_esp_build/zephyr/.config:309: warning: attempt to assign the value ""GPIO_0"" to the undefined symbol GPIO_NRF5_P0_DEV_NAME ../apps/ble_esp/ble_esp_build/zephyr/.config:310: warning: attempt to assign the value "n" to the undefined symbol GPIO_NRF5_P1 ../apps/ble_esp/ble_esp_build/zephyr/.config:311: warning: attempt to assign the value "5" to the undefined symbol GPIOTE_NRF5_PRI ../apps/ble_esp/ble_esp_build/zephyr/.config:329: warning: attempt to assign the value "y" to the undefined symbol I2C_NRF5 ../apps/ble_esp/ble_esp_build/zephyr/.config:330: warning: attempt to assign the value "38" to the undefined symbol I2C_NRF5_0_GPIO_SDA_PIN ../apps/ble_esp/ble_esp_build/zephyr/.config:331: warning: attempt to assign the value "36" to the undefined symbol I2C_NRF5_0_GPIO_SCL_PIN ../apps/ble_esp/ble_esp_build/zephyr/.config:612: warning: attempt to assign the value "n" to the undefined symbol CONSOLE_PULL ../apps/ble_esp/ble_esp_build/zephyr/.config:675: warning: attempt to assign the value """" to the undefined symbol NET_APP_IEEE802154_DEV_NAME Error: Aborting due to non-whitelisted Kconfig warning '../apps/ble_esp/ble_esp_build/zephyr/.config:149: warning: attempt to assign the value "n" to the undef ined symbol WAITQ_FAST'. Note: If this warning doesn't point to an actual problem, you can add it to the whitelist at the top of ../zephyr/scripts/kconfig/kconfig.py. CMake Error at ../zephyr/cmake/kconfig.cmake:149 (message): command failed with return code: 1 Call Stack (most recent call first): ../zephyr/cmake/app/boilerplate.cmake:251 (include) CMakeLists.txt:3 (include) -- Configuring incomplete, errors occurred! See also "../apps/ble_esp/ble_esp_build/CMakeFiles/CMakeOutput.log". See also "../apps/ble_esp/ble_esp_build/CMakeFiles/CMakeError.log". FAILED: build.ninja "C:\Program Files\CMake\bin\cmake.exe" -H..\apps\ble_esp\ble_esp_src -B..\apps\ble_esp\ble_esp _build ninja: error: rebuilding 'build.ninja': subcommand failed
|
|
Carles Cufi
Hi there,
toggle quoted messageShow quoted text
+Ulf, who should be able to help you with the Kconfig issues. Regards, Carles
-----Original Message-----
|
|
Florian Vaussard
Hi,
Le 20. 08. 18 à 18:17, Abderrezak Mekkaoui a écrit : Error: Aborting due to non-whitelisted Kconfig warning '../apps/ble_esp/ble_esp_build/zephyr/.config:149: warning: attempt to assign the value "n" to the undefThis looks like the culprit. Looks for the WAITQ_FAST Kconfig in your prj.conf (or possibly elsewhere if you made changes). This Kconfig does not exist in v1.11 or v1.12, so I do not know where it is coming from. Regards, Florian
|
|