Commit Graph

694 Commits

Author SHA1 Message Date
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
Matthew Kennedy 232c84a8f5 re-encapsulate 2023-07-19 11:34:45 -07:00
Matthew Kennedy bed48892aa
new parser touches all input files (#201)
* begin the resurrection

* use hw ci build script

* Revert "use hw ci build script"

This reverts commit e97e693eea.

* list serial ports

* bad merge

* Revert "list serial ports"

This reverts commit a29270405c.

* Revert "bad merge"

This reverts commit ea2541110e.

* unnecessary autoscales

* improve bad autoscale message

* bit group formatting

* formatting matching

* c struct writer mostly works

* tests and formatting alignment

* tests

* cherry pick potential hw ci fix

* format matching

* newparse reads live data files

* vvt scaling

* cleanup

* format matching

* format matching

* format matching

* format matching

* handle arrays of structs

* cleanup for merge

* jars
2023-07-19 00:21:41 -07:00
Matthew Kennedy c36840d0c3 nix gauge generation 2023-07-18 11:39:39 -07:00
Matthew Kennedy 4241b2885d don't need checked in libs 2023-07-17 22:54:07 -07:00
Matthew Kennedy 74cc3851a9 patch test 2023-07-01 21:34:11 -07:00
Matthew Kennedy 62427a21ec no output lookup in unit tests 2023-07-01 21:23:05 -07:00
Matthew Kennedy 212ed28612 flexibility for ptr vs. ref live data 2023-07-01 18:39:10 -07:00
Matthew Kennedy 06b39dbb07
trigger and engine types -> enum class (#113)
* trigger type is enum class

* java tooling

* enum class engine_type_e

* enum class engine_type_e
2023-06-01 13:47:49 -07:00
Matthew Kennedy befd3ae871
no autoupdate (#81)
* removing autoupdate

* related cleanup

* why does autoupdate util have nothing to do with autoupdate
2023-04-12 22:07:25 -07:00
Matthew Kennedy 3f0e73708d we no longer need iml files because intellij uses gradle now 2023-04-12 21:28:32 -07:00
Matthew Kennedy 328f7565ab print out more about test failures 2023-04-02 14:22:04 -07:00
Matthew Kennedy 6e04b2da98 tests 2023-03-27 02:09:57 -07:00
Matthew Kennedy de308f7eee test 2023-03-27 01:55:48 -07:00
Matthew Kennedy 9f0bb410dd tests 2023-03-27 01:55:18 -07:00
Matthew Kennedy 8d74470fee single line comments in generated 2023-03-27 01:34:51 -07:00
Matthew Kennedy afa261844b enum2string cherrypick 2023-03-16 11:45:13 -07:00
Matthew Kennedy e4c4da2b20 don't print the date in generated files, rely on git for that 2023-03-15 11:46:49 -07:00
Matthew Kennedy 60f5dd143f remove crazy firing order logic since we don't need it with "always two wire wasted" 2023-03-09 14:43:24 -08:00
Matthew Kennedy b5f2d3577b dead sensors.java 2023-03-09 11:48:30 -08:00
Matthew Kennedy b4c6c415e3 missed a file 2023-03-09 10:46:21 -08:00
rusefi e7a9f7f30f generated gauges do not depend on constexpr 2023-02-13 16:26:10 -05:00
David Holdeman 8c6053b509 Mapping pin templating (#5052)
* replace ___

* new jar

* Add test
2023-02-11 22:46:04 -05:00
rusefillc f8d302a6bd now with coverage 2023-02-11 20:30:52 -05:00
David Holdeman 88f6830d11 fix enum read 2023-02-11 20:28:02 -05:00
David Holdeman bb0a231274 try 2023-02-11 20:27:55 -05:00
rusefillc f9122f9119 minor progress 2023-02-11 15:22:58 -05:00
rusefillc 5f106d1f39 fixing things 2023-02-11 15:20:10 -05:00
rusefillc c14d791d53 future fully integrated PinoutLogic test 2023-02-11 15:12:55 -05:00
rusefillc e2a294d12f more refactoring - mostly reducing complexity of code flow, end goal is making class testable 2023-02-11 14:58:18 -05:00
rusefillc 33023b5eb1 refactoring - mostly reducing complexity of code flow, end goal is making class testable 2023-02-11 14:42:28 -05:00
rusefillc 470ea2f7a0 just move 2023-02-11 14:42:28 -05:00
Matthew Kennedy 40d2c9d2a8 pass board dir to scripts instead of board name (#5022)
* pass board dir instead of name

* makefiles

* dead file?

* hw ci

* unit tests

* fix sd card generation while we're here

* actually test sd category

* jar

* clean merge

* jar for good measure

* fix f767 properly
2023-02-06 08:37:17 -04:00
Matthew Kennedy 52defedb59 generate SD log category correctly (#5023) 2023-02-01 06:45:18 -05:00
Matthew Kennedy abffa262c2 emit v2 mlg (#4979)
* emit v2 mlg

* missed a spot

* s

* s

* binary log unit test

* sd generator test

* oop

* getcategory

* write zeroes instead of null pointer in case of no category
2023-01-21 07:31:40 +05:30
Matthew Kennedy 0b99eeb139 Signature contains git branch (#4950)
* back to full signature

* Put the branch name in the signature file

* I guess branch should go first

* parse branch in java code that touches it

* I can't count

* don't warn if we intentionally skipped this spark

* Revert "don't warn if we intentionally skipped this spark"

This reverts commit d89b7eb619dcdd9748beea3869ca10cb29664e0e.

* other tests

* happy test
2023-01-20 11:44:05 +05:30
rusefillc 22abadd19e helping kinetis 2023-01-16 22:47:06 -05:00
rusefillc 0f114c6fac helping kinetis 2023-01-16 20:49:55 -05:00
rusefillc 0d69f3c7b3 helping kinetis 2023-01-16 16:39:08 -05:00
Andrey 72428a1b6c TS gauges section should be auto-generated #4972 2023-01-16 00:24:42 -05:00
Andrey c4a3def994 TS gauges section should be auto-generated #4972 2023-01-15 23:37:13 -05:00
Andrey 05af64e508 TS gauges section should be auto-generated #4972 2023-01-15 21:46:00 -05:00
Andrey be0e9cc530 TS gauges section should be auto-generated #4972 2023-01-15 21:39:46 -05:00
Andrey c3c3be0832 this code is dead 2023-01-15 21:07:49 -05:00
Andrey ffe2b1a7b2 refactoring: encapsulation 2023-01-15 20:50:01 -05:00
rusefillc c224d7c203 minor progress 2023-01-15 05:43:21 -05:00
rusefillc f7f1ca6809 logging of live data structs was: data points, we are moving away from debug mode #3614 2023-01-14 22:57:14 -05:00
rusefillc 3399967310 a bit of dead code 2023-01-10 15:30:47 -05:00
rusefillc 63f00c5f2b refactoring 2023-01-08 22:30:57 -05:00
rusefillc 62d3559357 progress 2023-01-06 13:55:04 -05:00
rusefillc 079b8ce9ee refactoring 2023-01-06 12:31:42 -05:00
rusefillc 4f53dc424f refactoring 2023-01-06 12:28:42 -05:00
rusefillc 15058b0942 refactoring 2023-01-06 12:23:24 -05:00
rusefillc 573b8a5f30 refactoring 2023-01-06 12:09:11 -05:00
rusefillc d8150e3205 refactoring 2023-01-06 12:00:30 -05:00
rusefillc 55cdb57400 refactoring 2023-01-06 11:55:59 -05:00
rusefillc 29681eb444 refactoring 2023-01-06 11:11:50 -05:00
rusefillc bfcf35a87c refactoring 2023-01-06 11:08:23 -05:00
rusefillc 27ef1c61d0 refactoring 2023-01-06 11:01:32 -05:00
rusefillc a84335a76b refactoring 2023-01-06 10:54:29 -05:00
rusefillc 3496a2e9f4 refactoring 2023-01-06 10:52:09 -05:00
rusefillc c29bdac23a refactoring 2023-01-06 10:42:44 -05:00
rusefillc 95e06434fd refactoring 2023-01-06 10:36:47 -05:00
rusefillc e1ff1e3471 refactoring 2023-01-06 10:35:07 -05:00
rusefillc 6a46df98a1 refactoring 2023-01-06 10:30:26 -05:00
rusefillc c32506954d Mitsubishi 4G93 Trigger issues #4918 2023-01-04 09:08:08 -05:00
rusefillc ae31e06e75 Mitsubishi 4G93 Trigger issues #4918 2023-01-03 15:57:57 -05:00
rusefillc 1238e0d7fe TS Config comments trim at first new-line fix #4927 2023-01-02 14:53:33 -05:00
rusefillc 17a6a440c5 TS Config comments trim at first new-line fix #4927 2023-01-02 14:30:58 -05:00
rusefillc 096bf7587d TS Config comments trim at first new-line #4927
more better test
2023-01-02 14:28:43 -05:00
rusefillc fbe12589a6 better API 2023-01-02 13:20:58 -05:00
rusefillc aa7ffb47dd TS Config comments trim at first new-line #4927
reduce code duplication
2023-01-02 12:58:50 -05:00
rusefillc 3def03875d TS Config comments trim at first new-line #4927
random refactoring
2023-01-02 12:52:33 -05:00
rusefillc 9a50bb5923 docs & better method name 2023-01-02 12:18:56 -05:00
rusefillc 0a402624bb docs 2023-01-02 12:14:03 -05:00
rusefillc e33eac9a9a docs 2023-01-02 12:10:09 -05:00
rusefillc 8597b78b12 refactoring 2023-01-02 12:10:02 -05:00
rusefillc 434e21e5a7 lua getOutput documentation generator #4867 2022-12-20 12:12:42 -05:00
rusefillc e9142e48bb lua getOutput documentation generator #4867 2022-12-20 11:42:34 -05:00
rusefillc 5e3c7363f3 All live data not just outputs to be available in Lua #4866 2022-12-04 14:53:45 -05:00
rusefillc 0c7aaad887 reduce flash footprint by smarter code generation #4163 2022-12-04 00:56:59 -05:00
rusefillc 79917b5571 reduce flash footprint by smarter code generation #4163 2022-12-04 00:56:59 -05:00
rusefillc 951d14c573 reduce flash footprint by smarter code generation #4163 2022-12-04 00:46:07 -05:00
rusefillc 006d9f3d81 reduce flash footprint by smarter code generation #4163 2022-12-04 00:21:17 -05:00
rusefillc d320d2412c minor progress: generating less unused bit noise in java 2022-12-04 00:09:14 -05:00