mylonics / zephyr-ide

Apache License 2.0
22 stars 3 forks source link

Unable to open. dts file for non arm architecture #5

Closed IOT4566 closed 4 months ago

IOT4566 commented 4 months ago

001 002

Unable to open. dtc file for non arm architecture。pic1:when i click "Board nrf52840dk_nrf52840" item, then auto to open nrf52840dk_nrf52840.dts, but when i when i click "Board tlsr9518adk80d" item, tlsr9518adk80d.dts file cann't be open. Later, I found that it was because the function parameter in pic2 was fixed to ‘arm’, changing this parameter to the arch type of the board can solve this problem。

rijesha commented 4 months ago

Thanks for the issue. I will get a fix going.

rijesha commented 4 months ago

I fixed this in version 1.0.10. Should be available in a few minutes.

IOT4566 commented 4 months ago

I fixed this in version 1.0.10. Should be available in a few minutes.

https://github.com/mylonics/zephyr-ide/assets/169084509/8c87240f-0540-4701-8d0b-b53adec742b8

cann't open non arm board dts files still

rijesha commented 4 months ago

It works for me when I do the same board. Can you see if the log shows anything: Ctrl-Shift-p -> Show Logs -> Extension Host Can you also send the settings.json file?

IOT4566 commented 4 months ago

It works for me when I do the same board. Can you see if the log shows anything: Ctrl-Shift-p -> Show Logs -> Extension Host Can you also send the settings.json file?

002

arch of esp32c3 is not arm, the path is error

rijesha commented 4 months ago

Can you also send the settings.json file?

rijesha commented 4 months ago

When I did this with a fresh build it works fine.

IOT4566 commented 4 months ago

When I did this with a fresh build it works fine.

settings.json

rijesha commented 4 months ago

So in the settings file the relBoardSubDir is "relBoardSubDir": "arm\esp32c3_devkitm".

Did you manually change the setting file? Any build defined before v1.0.10 would need to have the setting files manually changed. Could you also make a new build and post what the relBoardSubDir is?

IOT4566 commented 4 months ago

So in the settings file the relBoardSubDir is "relBoardSubDir": "arm\esp32c3_devkitm".

Did you manually change the setting file? Any build defined before v1.0.10 would need to have the setting files manually changed. Could you also make a new build and post what the relBoardSubDir is?

no, the settings file is generate auto

IOT4566 commented 4 months ago

The settings file is generate auto before 1.0.10, it not match 1.0.10

rijesha commented 4 months ago

Ok. So any builds made before v1.0.9 (that are not arm) you will need to manually set the relBoardSubDir.

rijesha commented 4 months ago

By build I mean build configuration, not the action of performing a "build" or "build pristine".

rijesha commented 4 months ago

This should fix the problem with the other issue as well.

IOT4566 commented 4 months ago

This should fix the problem with the other issue as well.

ok

IOT4566 commented 4 months ago

OK,this issuse is fixed