@@ -9,6 +9,8 @@ This extension provides syntax highlighting for DMOD Dependencies (`.dmd`) files
99- Highlighting for:
1010 - Module entries with optional versions (` module@version ` )
1111 - Version range constraints (` module@>=1.0 ` , ` module@<=2.0 ` , ` module@>=1.0<=2.0 ` )
12+ - Configuration file paths (` module config/path.ini ` )
13+ - Custom destination names (` module config/path.ini custom_name.ini ` )
1214 - Include directives (` $include ` )
1315 - Source directives (` $from ` )
1416
@@ -49,6 +51,13 @@ spi@>=1.0 # Version 1.0 or newer
4951uart@<=2.0 # Version 2.0 or older
5052i2c@>=1.0<=2.0 # Version between 1.0 and 2.0
5153
54+ # Module with configuration file
55+ dmclk board/stm32f746g-disco.ini
56+ uart@1.2.3 configs/uart_115200.ini
57+
58+ # Module with configuration and custom destination name
59+ gpio configs/gpio_default.cfg custom_gpio.cfg
60+
5261# Include another dependencies file
5362$include http://repo.com/other.dmd
5463
@@ -69,6 +78,10 @@ can@>=1.5
6978 - ` @>1.0 ` - Greater than 1.0
7079 - ` @<2.0 ` - Less than 2.0
7180 - ` @>=1.0<=2.0 ` - Combined range (1.0 to 2.0)
81+ - ** Configuration paths** : Module entries can include configuration file paths
82+ - Format: ` module[@version] config_path [custom_dest_name] `
83+ - Example: ` dmclk@1.0 board/stm32f746g-disco.ini `
84+ - Example with custom name: ` gpio config/default.cfg my_gpio.cfg `
7285- ** Include directive** : ` $include <url> ` to include other ` .dmd ` files
7386- ** From directive** : ` $from <manifest_url> ` to change the manifest source
7487
0 commit comments