Skip to content

Commit

Permalink
Diagnostics and schedule section highlighting (#9)
Browse files Browse the repository at this point in the history
* Encoding types allow any character in the unit/text section
* Bumps version to 0.4.0
  • Loading branch information
c4deszes authored Nov 15, 2021
1 parent f116850 commit 0a9e79f
Show file tree
Hide file tree
Showing 5 changed files with 466 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,17 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how

## [Unreleased]

## [0.4.0] - 2021-11-15

### Added

- Support for bracket autoclosing, folding
- Support for comment toggling commands
- Diagnostic frames/signals and Schedule tables are now highlighted

### Fixed

- Physical and Logical encoder accept a broader range of characters in the unit/text definition

## [0.3.1] - 2021-11-05

Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ __TODO__: insert animation of snippet usage

## Known Issues

+ Schedule tables are not highlighted

+ Certain LIN 1.3 standard sections are not highlighted

## Helpful links for development
Expand Down
42 changes: 42 additions & 0 deletions example/lin22.ldf
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,48 @@ Event_triggered_frames {
Node_Status_Event : Collision_resolver, 0x06, RSM_Frm1, LSM_Frm1;
}

Diagnostic_signals {
MasterReqB0: 8, 0 ;
MasterReqB1: 8, 0 ;
MasterReqB2: 8, 0 ;
MasterReqB3: 8, 0 ;
MasterReqB4: 8, 0 ;
MasterReqB5: 8, 0 ;
MasterReqB6: 8, 0 ;
MasterReqB7: 8, 0 ;
SlaveRespB0: 8, 0 ;
SlaveRespB1: 8, 0 ;
SlaveRespB2: 8, 0 ;
SlaveRespB3: 8, 0 ;
SlaveRespB4: 8, 0 ;
SlaveRespB5: 8, 0 ;
SlaveRespB6: 8, 0 ;
SlaveRespB7: 8, 0 ;
}

Diagnostic_frames {
MasterReq: 60 {
MasterReqB0, 0;
MasterReqB1, 8;
MasterReqB2, 16;
MasterReqB3, 24;
MasterReqB4, 32;
MasterReqB5, 40;
MasterReqB6, 48;
MasterReqB7, 56;
}
SlaveResp: 61 {
SlaveRespB0, 0;
SlaveRespB1, 8;
SlaveRespB2, 16;
SlaveRespB3, 24;
SlaveRespB4, 32;
SlaveRespB5, 40;
SlaveRespB6, 48;
SlaveRespB7, 56;
}
}

Node_attributes {
RSM {
LIN_protocol = "2.0";
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"lin"
],
"license": "MIT",
"version": "0.3.1",
"version": "0.4.0",
"preview": true,
"publisher": "c4deszes",
"repository": {
Expand Down
Loading

0 comments on commit 0a9e79f

Please sign in to comment.