Пытаюсь настроить `CLion-2025.3` для работы с ZephyrProject.
Через консоль проект собирается.
А вот при открытии проекта(app/CMakeLists.txt) в IDE вылезает ошибка.
Что я делаю не так?
Ошибка в CLion:
-- Found devicetree overlay: /home/max/sources/bare-metal/zephyr-ws/zephyr/boards/others/stm32_min_dev/stm32_min_dev_stm32f103xb_blue.overlay
CMake Error at /home/max/sources/bare-metal/zephyr-ws/zephyr/cmake/modules/extensions.cmake:2995 (file):
file COPY_FILE failed to copy
/home/max/sources/bare-metal/zephyr-ws/app/build/zephyr/zephyr.dts.new
to
/home/max/sources/bare-metal/zephyr-ws/app/build/zephyr/zephyr.dts
because: No such file or directory (input)
Call Stack (most recent call first):
Настройки проекта:
(venv) max@undefined:~/sources/bare-metal/zephyr-ws
$ ls -l
итого 24
drwxrwxr-x 1 max max 158 янв 5 20:33 app
drwxrwxr-x 1 max max 14 янв 5 20:21 bootloader
drwxrwxr-x 1 max max 416 янв 5 21:07 build
drwxrwxr-x 1 max max 72 янв 5 20:24 modules
drwxrwxr-x 1 max max 26 янв 5 20:21 tools
drwxrwxr-x 1 max max 74 ноя 29 15:30 venv
-rw-rw-r-- 1 max max 24417 ноя 29 16:03 west-completion.sh
drwxrwxr-x 1 max max 956 янв 5 19:57 zephyr
(venv) max@undefined:~/sources/bare-metal/zephyr-ws
$ cat app/west.yml
# Example T2 west.yml, using manifest imports.
manifest:
remotes:
- name: zephyrproject-rtos
url-base: https://github.com/zephyrproject-rtos
projects:
- name: zephyr
remote: zephyrproject-rtos
revision: v4.3.0
import: true
self:
path: app
(venv) max@undefined:~/sources/bare-metal/zephyr-ws
$ cat .west/config
[manifest]
path = app
file = west.yml
[zephyr]
base = zephyr
[build]
board = stm32_min_dev@blue/stm32f103xb