View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000100 | file | General | public | 2019-08-16 14:50 | 2019-09-11 22:55 |
Reporter | SIGSTACKFAULT | Assigned To | christos | ||
Priority | low | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | x86_64 (vbox) | OS | Ubuntu | OS Version | 19.04 |
Product Version | 5.35 | ||||
Fixed in Version | 5.38 | ||||
Summary | 0000100: device tree configuration (.dts) files listed as "C source" | ||||
Description | Device tree configuration files, `.dts` are listed as "C source" files despite being, well, not C source code. | ||||
Steps To Reproduce | For example, I'm going to use .dts files from the zephyr RTOS. git clone https://github.com/zephyrproject-rtos/zephyr --depth 10 file zephyr/boards/arm/nrf52840_mdk/nrf52840_mdk.dts files in `zephyr/boards/*/*/*.dts` all do this. Some are listed as just "ASCII text". I'm not sure if that says anything about your C magic. One is marked as UTF-8 unicode but I think that's zephyr's fault. `--extension` doesn't help either. | ||||
Tags | magic | ||||
|
reproduce.sh (98 bytes)
git clone https://github.com/zephyrproject-rtos/zephyr --depth 50 cd zephyr/boards file */*/*.dts |
|
The magic string you're looking for is "/dts-v1/", but it's not necessarily at the start; there may be comments before it. |
|
Added magic. |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-08-16 14:50 | SIGSTACKFAULT | New Issue | |
2019-08-16 14:50 | SIGSTACKFAULT | File Added: reproduce.sh | |
2019-08-16 14:50 | SIGSTACKFAULT | Tag Attached: magic | |
2019-08-16 15:04 | SIGSTACKFAULT | Note Added: 0003285 | |
2019-09-11 22:55 | christos | Assigned To | => christos |
2019-09-11 22:55 | christos | Status | new => assigned |
2019-09-11 22:55 | christos | Status | assigned => resolved |
2019-09-11 22:55 | christos | Resolution | open => fixed |
2019-09-11 22:55 | christos | Fixed in Version | => 5.38 |
2019-09-11 22:55 | christos | Note Added: 0003297 |