Outdated See https://elpa.gnu.org/packages/dts-mode.html for dts-mode
, which is now included in ELPA.
bgamari / dts-mode Goto Github PK
View Code? Open in Web Editor NEWA rudimentary emacs major mode for Device Tree sources
A rudimentary emacs major mode for Device Tree sources
Outdated See https://elpa.gnu.org/packages/dts-mode.html for dts-mode
, which is now included in ELPA.
Hi, and thanks for this mode!
When indenting a DTS file starting with:
/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2835", "brcm,bcm2708", "brcm,bcm2709";
};
It is indented as:
/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2835", "brcm,bcm2708", "brcm,bcm2709";
};
Notice the wrong indentation for the /plugin/
2nd line.
After a line ending in a left-angle bracket < we should increase the indentation level until reaching a right-angle bracket >.
See for example dts files in the Linux kernel arch/arm/boot/dts:
$ grep -A1 '<$' *|less
am335x-base0033.dts: pinctrl-single,pins = <
am335x-base0033.dts- 0x1b0 (PIN_OUTPUT | MUX_MODE3) /* xdma_event_intr0.clkout1 */
AFAIK this repository is obsolete, the up-to-date dts-mode
lives at https://elpa.gnu.org/packages/dts-mode.html.
Could someone update the README accordingly?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.