Zephyr Support for VS Code

via Freelancer ·

Budget / Salary$250–750
TypeFreelance project
LocationRemote
Posted4 hours ago
Zephyr in VS Code support
I created the Blinky project for the nRF9151 dev kit from Nordic.
I need help to build, flash, and debug the project, using the Windows GUI in VS Code
This will need to be a screen share session.
NOTE:
I already have VS Code and Zephyr set up, and can build, flash and debug various STM32 kits.
GOAL:
To use the Windows VS Code Gui, NOT fall back on a Linux/ Command line method.

-------------------------------------------------------------------------------------
===
xecuting task in folder zephyrproject: . C:\Users\Owner\.zinstaller\env.ps1 ; west build --pristine never --board nrf9151dk/nrf9151 --build-dir "d:\2\Zephyr_WB\zephyrproject\applications\nRF9151-DK-hello_world\build\primary" --source-dir "d:\2\Zephyr_WB\zephyrproject\applications\nRF9151-DK-hello_world"

Activated virtual environment at C:\Users\Owner\.zinstaller\.venv\Scripts\Activate.ps1
Environment variables and paths loaded from env.yml.
-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: D:/2/Zephyr_WB/zephyrproject/applications/nRF9151-DK-hello_world
-- CMake version: 4.1.2
-- Found Python3: C:/Users/Owner/.zinstaller/.venv/Scripts/python.exe (found suitable version "3.12.10", minimum required is "3.12") found components: Interpreter
-- Cache files will be written to: D:/2/Zephyr_WB/zephyrproject/deps/zephyr/.cache
-- Zephyr version: 4.4.2 (D:/2/Zephyr_WB/zephyrproject/deps/zephyr)
-- Found west (found suitable version "1.5.0", minimum required is "0.14.0")
-- Board: nrf9151dk, qualifiers: nrf9151
-- Found host-tools: zephyr 1.0.1 (D:/2/Zephyr_WB/zephyr-sdk-1.0.1)
-- Found toolchain: zephyr 1.0.1 (D:/2/Zephyr_WB/zephyr-sdk-1.0.1)
-- Found Dtc: C:/Users/Owner/.zinstaller/tools/dtc/usr/bin/dtc.exe (found suitable version "1.7.2", minimum required is "1.4.6")
-- Found BOARD.dts: D:/2/Zephyr_WB/zephyrproject/deps/zephyr/boards/nordic/nrf9151dk/nrf9151dk_nrf9151.dts
-- Generated zephyr.dts: D:/2/Zephyr_WB/zephyrproject/applications/nRF9151-DK-hello_world/build/primary/zephyr/zephyr.dts
-- Generated pickled edt: D:/2/Zephyr_WB/zephyrproject/applications/nRF9151-DK-hello_world/build/primary/zephyr/edt.pickle
-- Generated devicetree_generated.h: D:/2/Zephyr_WB/zephyrproject/applications/nRF9151-DK-hello_world/build/primary/zephyr/include/generated/zephyr/devicetree_generated.h

warning: HAS_NRFX (defined at modules\hal_nordic\nrfx/Kconfig:4) has direct dependencies 0 with value n, but is currently being y-selected by the following symbols:
- SOC_SERIES_NRF91 (defined at D:/2/Zephyr_WB/zephyrproject/deps/zephyr/soc/nordic\nrf91\Kconfig.soc:6, D:/2/Zephyr_WB/zephyrproject/deps/zephyr/soc/nordic\nrf91\Kconfig:6), with value y, direct dependencies y (value: y), and select condition SOC_FAMILY_NORDIC_NRF (value: y)

warning: NRFX_CLOCK (defined at modules\hal_nordic\nrfx/Kconfig:16) has direct dependencies HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols:
- CLOCK_CONTROL_NRF (defined at drivers/clock_control/Kconfig.nrf:13), with value y, direct dependencies DT_HAS_NORDIC_NRF_CLOCK_ENABLED && CLOCK_CONTROL (value: y), and select condition !CLOCK_CONTROL_NRF_FORCE_ALT && DT_HAS_NORDIC_NRF_CLOCK_ENABLED && CLOCK_CONTROL (value: y)

warning: NRFX_GPIOTE (defined at modules\hal_nordic\nrfx/Kconfig:116) has direct dependencies HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols:
- GPIO_NRFX_INTERRUPT (defined at drivers/gpio/Kconfig.nrfx:11), with value y, direct dependencies GPIO_NRFX && GPIO (value: y), and select condition GPIO_NRFX && GPIO (value: y)

warning: NRFX_CLOCK_LFXO_TWO_STAGE_ENABLED (defined at modules\hal_nordic\nrfx/Kconfig:25) has direct dependencies NRFX_CLOCK && HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols:
- CLOCK_CONTROL_NRF_K32SRC_XTAL (defined at drivers/clock_control/Kconfig.nrf:41), with value y, direct dependencies (value: y), and select condition !SOC_SERIES_BSIM_NRFXX && !CLOCK_CONTROL_NRF_FORCE_ALT && (value: y)

warning: NRFX_CLOCK_LF_SRC_XTAL (defined at modules\hal_nordic\nrfx/Kconfig:34) has direct dependencies NRFX_CLOCK && HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols:
- CLOCK_CONTROL_NRF_K32SRC_XTAL (defined at drivers/clock_control/Kconfig.nrf:41), with value y, direct dependencies (value: y), and select condition !CLOCK_CONTROL_NRF_FORCE_ALT && (value: y)

warning: NRFX_GPPI (defined at modules\hal_nordic\nrfx/Kconfig:131) has direct dependencies HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols:
- UART_0_ENHANCED_POLL_OUT (defined at drivers/serial\Kconfig.nrfx_uart_instance:50), with value y, direct dependencies !n && HAS_HW_NRF_UARTE0 && (HAS_HW_NRF_PPI || HAS_HW_NRF_DPPIC) && (HAS_HW_NRF_UART0 || HAS_HW_NRF_UARTE0) && UART_NRFX && SERIAL (value: y), and select condition !n && HAS_HW_NRF_UARTE0 && (HAS_HW_NRF_PPI || HAS_HW_NRF_DPPIC) && (HAS_HW_NRF_UART0 || HAS_HW_NRF_UARTE0) && UART_NRFX && SERIAL (value: y)
- UART_1_ENHANCED_POLL_OUT (defined at drivers/serial\Kconfig.nrfx_uart_instance:50), with value y, direct dependencies !n && HAS_HW_NRF_UARTE1 && (HAS_HW_NRF_PPI || HAS_HW_NRF_DPPIC) && HAS_HW_NRF_UARTE1 && UART_NRFX && SERIAL (value: y), and select condition !n && HAS_HW_NRF_UARTE1 && (HAS_HW_NRF_PPI || HAS_HW_NRF_DPPIC) && HAS_HW_NRF_UARTE1 && UART_NRFX && SERIAL (value: y)
Parsing D:/2/Zephyr_WB/zephyrproject/deps/zephyr/Kconfig
Loaded configuration 'D:/2/Zephyr_WB/zephyrproject/deps/zephyr/boards/nordic/nrf9151dk/nrf9151dk_nrf9151_defconfig'
Merged configuration 'D:/2/Zephyr_WB/zephyrproject/applications/nRF9151-DK-hello_world/prj.conf'

error: Aborting due to Kconfig warnings

------
-------------------------------------------------------------------------------------
error: Aborting due to Kconfig warnings

CMake Error at D:/2/Zephyr_WB/zephyrproject/deps/zephyr/cmake/modules/kconfig.cmake:423 (message):
command failed with return code: 1
Call Stack (most recent call first):
D:/2/Zephyr_WB/zephyrproject/deps/zephyr/cmake/modules/zephyr_default.cmake:129 (include)
D:/2/Zephyr_WB/zephyrproject/deps/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
D:/2/Zephyr_WB/zephyrproject/deps/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
CMakeLists.txt:5 (find_package)

-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: 'C:\Users\Owner\.zinstaller\tools\cmake\bin\cmake.EXE' -DWEST_PYTHON=C:/Users/Owner/.zinstaller/.venv/Scripts/python.exe '-Bd:\2\Zephyr_WB\zephyrproject\applications\nRF9151-DK-hello_world\build\primary' -GNinja -DBOARD=nrf9151dk/nrf9151 '-Sd:\2\Zephyr_WB\zephyrproject\applications\nRF9151-DK-hello_world'

=====================================================
python project management technical support debugging software development continuous integration embedded systems stm32 software engineering firmware development
Apply on Freelancer →

Project sourced from Freelancer.com. Applications happen directly on the original platform — we never collect your data.