Commit Graph

643 Commits

Author SHA1 Message Date
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