Commit Graph

678 Commits

Author SHA1 Message Date
Matthew Kennedy 2192fe1569 fix data log unit test 2024-12-14 16:13:03 -08:00
Matthew Kennedy e2a3b8b09a use real scale in datalog generation 2024-12-14 15:44:55 -08:00
Matthew Kennedy b95a7b89d3 append any live data prefix 2024-12-14 15:21:44 -08:00
Matthew Kennedy 294b9b1f59
multi live data (#518)
* multiple livedata of one type

* jar

* axe "fancy" content

* nix new fancy cleanup

* make it work for WBO too!

* friendlier fan names

* jar
2024-12-09 18:57:39 -08:00
Matthew Kennedy f9042f056f OutputChannelVisitor shares base too 2024-11-27 02:04:32 -08:00
Matthew Kennedy 340466333e data log element offset math 2024-11-27 02:01:04 -08:00
Matthew Kennedy 7b1a663ff7 dead code 2024-11-27 01:58:50 -08:00
Matthew Kennedy fd380e87b1 data log base 2024-11-27 01:56:28 -08:00
Matthew Kennedy 98cd6332e5 create DatalogVisitorBase 2024-11-27 01:02:29 -08:00
Matthew Kennedy 1f2647f173 DatalogVisitor commonality 2024-11-27 00:56:41 -08:00
Matthew Kennedy 1d05235e18
new parser writes outputs+datalogs (#418)
* move outputs/datalogs to new parse

* happy build

* testing progress

* test fixing

* ignore that one for now

* cleanup

* write SD logs

* no need for this extra junk

* improve tostring

* CStructsVisitor: defer that for later

* format

* jar
2024-11-27 00:53:17 -08:00
Matthew Kennedy aedba437de SD logs write with visitor 2024-05-01 23:48:45 -07:00
Matthew Kennedy 190f526a85 parameter names 2024-05-01 23:02:09 -07:00
Matthew Kennedy c213397a3f
refactor to use one visitor per output type (#416) 2024-05-01 22:59:37 -07:00
Matthew Kennedy 84086537ee make final things public 2024-04-30 00:52:14 -07:00
Matthew Kennedy 243524417c better test for array of struct iterate 2024-04-30 00:48:25 -07:00
Matthew Kennedy 3167c2cde3 new parser: stub duplicate field checks 2024-04-28 02:53:50 -07:00
Matthew Kennedy ebe78cbb4b cherry pick rename rusefi.input #391 2024-03-24 22:49:36 -07:00
Matthew Kennedy 0f69bc3b24 rename parameter to ts_template and don't calculate it in java 2024-03-20 01:29:11 -07:00
Matthew Kennedy 0864384714 dead script parameter 2024-03-20 01:05:14 -07:00
Nathan Schulte 2c42f5ba4f
config [grammar] improves (#389)
* add "units" field to config.txt comments

* remove tabs in config grammar
2024-03-14 16:08:45 -07:00
Matthew Kennedy d9e44b64a2 cleanup again 2024-02-14 12:28:43 -08:00
Matthew Kennedy f0188fe329 newlines 2024-02-14 12:26:15 -08:00
Matthew Kennedy 32577fb552 minor config gen logging cleanups 2024-02-14 12:21:45 -08:00
Matthew Kennedy 76708670a0
New parser writes output channel c structs (#350)
* new parser writes c structs

* jar

* missing defs for simulator

* don't put defines you need in live data txt
2024-01-19 04:00:59 -08:00
Matthew Kennedy d6f5d2ef89
do we need the FIELDS list? (#349)
* do we need the FIELDS list?

* jar
2024-01-18 23:01:33 -08:00
Matthew Kennedy 751003e6bc more stuff in to single generated folder 2024-01-17 14:43:25 -08:00
Matthew Kennedy f3b335fe8d
all generated files in one dir (#348)
* delete existing generated source files

* ignore new generated dir

* move all the generated files

* cleanup

* jars

* makefile

* bootloader

* simulator+tests
2024-01-17 14:25:00 -08:00
rusefillc 2d28408e6e
Gradle8 (#311)
* gradle 8

* gradle 8

* binary name

---------

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-12-20 21:23:44 -08:00
rusefillc 1478f279d7
extracting shadowVersion variable and version bump towards gradle 8 (#310) 2023-12-09 15:10:20 -08:00
Matthew Kennedy b3af6aa34d inspection: dead 2023-11-25 18:02:01 -08:00
Matthew Kennedy 77d6129016 inspection: unused imports 2023-11-25 17:53:18 -08:00
Matthew Kennedy 800c23960b EntryHandler as lambda 2023-11-25 17:51:34 -08:00
Matthew Kennedy b4cb4a1167 inspection cleanup 2023-11-25 17:39:44 -08:00
Matthew Kennedy ddc5400dc2 java inspection pass 2023-11-25 17:34:11 -08:00
Matthew Kennedy 7b7dc058c2 console doesn't have to depend on full config definition! 2023-11-25 13:22:24 -08:00
Matthew Kennedy ab151bb796 thinning dependency tree 2023-11-25 02:04:50 -08:00
Matthew Kennedy 6ac689fd0c
new parser can write SD log (#307)
* stub sd logs

* framing for SD log output

* make old and new match

* only grab one struct, prefix

* sd log seems to just work?

* wiring

* wiring

* wiring

* array-of-struct handling

* handle array of struct

* array of structs doesn't really work right

* sd log end file
2023-11-25 01:03:52 -08:00
Matthew Kennedy caa7e62b0e
new parser datalog support (#205)
* stale comments

* conform inputs

* implement datalog writing

* stale comment

* s

* stub out more support

* OutputChannelWriter

* tweak inputs so there's less diff later
2023-11-23 18:53:56 -08:00
Matthew Kennedy 4364a9730e soo many cleanups 2023-10-31 01:14:22 -07:00
Matthew Kennedy e506b69f4a code inspection cleanups 2023-10-31 01:08:12 -07:00
Matthew Kennedy b6995d6fb1 more inspection cleanup 2023-10-31 01:01:30 -07:00
Matthew Kennedy e89cba2b67 more code inspection cleanups 2023-10-31 00:45:49 -07:00
Matthew Kennedy ac972a07d7 inspection cleanups 2023-10-31 00:33:24 -07:00
Matthew Kennedy 99cc5de340 imports cleanup, delete some dead files 2023-10-30 23:56:12 -07:00
Nathan Schulte 85de2d47bf
consistent line endings in log_fields_generated.h (#276) 2023-10-29 12:54:29 -07:00
Matthew Kennedy e8e69a171c
remove livedata (#206)
* remove live data ui

* allow null java name

* delete generated java files

* remove most javas

* checked in copies of C source, tests

* jars
2023-07-26 10:11:28 -07:00
Matthew Kennedy eb7707a878 put livedata intermediates in the TS folder 2023-07-19 15:05:13 -07:00
Matthew Kennedy bbbf46deea new parser writes offset assertions 2023-07-19 14:48:09 -07:00
Matthew Kennedy 7fd38084e0 this is not dead 2023-07-19 11:46:04 -07:00