Commit Graph

315 Commits

Author SHA1 Message Date
Matthew Kennedy 2e56c9dd6f More fragment refactoring: encode by type, not enum index (#4075)
* fragment refactoring

* jar

* jar?

* look up fragment by type, not index

* don't even include that

* jar again

* jar again

* unit tests are happy

* guards

* jar

* hpfp guarding

* handle knock controller

* jar

* s

* stub multiple for each

* jar

* Update live_data.cpp

* s

* s
2022-06-18 09:23:44 -04:00
Matthew Kennedy 945fd58657 no trailing invalid (#4257)
* don't pad

* test & jar

* do it in the new parser too

* remove from config txt

* minor file format cleanups while we're at it
2022-06-17 21:23:42 -04:00
rusefillc dc24f27532 new autoscale constraint #4111 (#4111) 2022-06-03 02:06:55 -04:00
Matthew Kennedy e274fba799 use yaml like you're supposed to (#4233)
* use yaml like you're supposed to

* parse output names (but don't use it yet)
2022-06-03 01:02:16 -04:00
rusefillc e1984a937f helping build 2022-06-02 15:25:10 -04:00
Andrey 39b7746397 new validation and a lot of clean-up! 2022-06-02 15:18:18 -04:00
rusefillc fd82c8b64a https://github.com/rusefi/hellen-gm-e67/issues/36 2022-06-02 14:04:03 -04:00
Matthew Kennedy 01f1782d4c test new parser TS layout (#4220)
* layout tests

* code analysis

* LOL java changes its line ending behavior based on your platform

* jar
2022-05-31 19:55:45 -04:00
Matthew Kennedy 289a01fd05 actually run the new parser (#4218)
* let the new parser run

* s

* ant

* minor cleanups

* allow passing string

* tests found a genuine bug

* test definitions

* helper

* test lots of parsing

* test missing define

* test typedefs, bits

* fix bug with more than 32 consecutive bits overflowing a single field

* s

* test extra hex definitions

* jar
2022-05-31 08:38:23 -04:00
rusefi 991c4aa7b8 trying to reduce confusion x2 2022-05-30 17:06:56 -04:00
rusefillc 0951be94aa trying to reduce confusion 2022-05-30 16:42:08 -04:00
rusefillc e918719db8 reduce flash footprint by smarter code generation #4163 2022-05-15 19:36:40 -04:00
rusefi 35a44bd1e7 reduce flash footprint by smarter code generation #4163 2022-05-15 18:33:22 -04:00
rusefillc 14ab5e566b reduce flash footprint by smarter code generation #4163 2022-05-15 17:56:39 -04:00
rusefi 48d63f9c3c one step back to avoid 'bit Constant engineType, contains fewer options (103) that expected(128)' TS warning 2022-05-14 11:10:49 -04:00
rusefillc 634e788d2d Remove value copy from controller into outputChannels #4095 2022-05-09 08:24:55 -04:00
rusefillc 240e0c38a6 compact pinout enum syntax part two 2022-05-09 08:12:25 -04:00
rusefillc d70d6a1d37 compact pinout enum syntax part two 2022-05-09 07:39:56 -04:00
rusefillc e461288403 compact pinout enum syntax 2022-05-09 07:13:50 -04:00
rusefillc 3ef4508f1f Technical debt: ENUM_32_BITS #3874 2022-05-02 00:22:45 -04:00
Matthew Kennedy 83caf1ea1b Brain pin is enum class (#4108)
* change most usages to Gpio::

* board configs

* engine configs etc

* isBrainPinValid, smart gpio

* generator

* generator

* generator

* connector yamls

* kinetis enums

* cypress txt

* kinetis config

* frankenso

* config generator

* actually do it for the others

* disable skips for pr ci

* fix tle8888

* misc

* weird cast from int

* needs this operator too

* this can be an unsigned subtract

* happy tests

* s

* kinetis isConfigurationChanged weirdness

* missed J/K

* cypress efifeatures

* build script mistake (!)

* mistake in smart gpio

* debounce

* eg33

* kinetis, so needy

* it's pretty green, we can skip these again
2022-04-28 17:32:39 -04:00
rusefillc 15c2699e08 would this ever end... 2022-04-25 18:14:11 -04:00
rusefillc f3fb27003f 2 byte pin index #4097
let's have another go?
2022-04-25 00:19:02 -04:00
rusefillc 3913ec4f71 2 byte pin index #4097
fixing what was just broken
2022-04-24 23:49:41 -04:00
rusefillc 78993e7281 2 byte pin index #4097
wow we have so many useful 'todo's :)
2022-04-24 23:23:12 -04:00
rusefillc 36fd27ac0a 2 byte pin index #4097 2022-04-24 17:27:45 -04:00
Andrey 1ad9df994b https://github.com/rusefi/web_backend/issues/166
one step back for now
2022-04-22 01:54:54 -04:00
rusefillc 534ad1e219 better default handling 2022-04-22 01:24:49 -04:00
Andrey 50cfc72332 code generation bugfix 2022-04-18 12:22:50 -04:00
rusefillc 31d6a74c71 logging of live data structs was: data points fix #3614
we now have what Martin has asked for :)
2022-04-18 11:44:57 -04:00
rusefillc b72eb04a26 fixing indicator prefix 2022-04-18 02:02:04 -04:00
rusefillc c331d22d6c logging of live data structs was: data points #3614
sub-structures handling fix
more better liveGraph .ini syntax
2022-04-18 00:31:30 -04:00
rusefillc 0d1f7f48e3 starting to really not like manual jar thing 2022-04-17 23:31:16 -04:00
rusefillc 31c3c33972 logging of live data structs was: data points #3614
alpha version of TS UI
2022-04-17 22:28:36 -04:00
rusefillc 1f7dc3dc0d logging of live data structs was: data points #3614
huge step!
2022-04-17 21:01:54 -04:00
rusefillc 5bc121dfd1 helping build 2022-04-17 20:08:21 -04:00
Andrey c97a53b39c bad bad manual jar process :( 2022-04-17 18:56:01 -04:00
Andrey 72eb8c4e13 manual jar in repo not amazing 2022-04-17 18:47:30 -04:00
rusefillc d18db8b5d9 trying to fix build 2022-04-17 16:12:42 -04:00
Andrey 220dea05a8 shameless reminder about time-sensitive Proteus fabrication issue which worries me 2022-04-17 16:00:31 -04:00
rusefillc 481da56e8c refactoring 2022-04-17 14:18:42 -04:00
rusefillc 42beed94d2 logging of live data structs was: data points #3614
progress!
2022-04-17 13:16:13 -04:00
Andrey 698e856803 logging of live data structs was: data points #3614
fixing a couple of brand new bugs
2022-04-17 03:10:39 -04:00
rusefillc 35d8cc461e logging of live data structs was: data points #3614 2022-04-17 02:26:40 -04:00
rusefillc 54be720fca logging of live data structs was: data points #3614 2022-04-16 21:04:02 -04:00
rusefillc d7e8d2179f logging of live data structs was: data points #3614 2022-04-16 19:43:12 -04:00
Andrey b6bee29238 bugfix: order of complexity 2022-04-16 13:57:16 -04:00
Matthew Kennedy 75c7fb3b18 fragment refactoring (#4072)
* fragment refactoring

* jar

* jar?
2022-04-16 09:24:45 -04:00
rusefillc c2f2867daa logging of live data structs was: data points #3614 2022-04-16 00:48:15 -04:00
rusefillc 42276fa173 establishing a bit of API 2022-04-15 22:43:10 -04:00
rusefillc 142a4b925d establishing a bit of API 2022-04-15 22:19:43 -04:00
rusefillc b164b93dbd logging of live data structs was: data points #3614 2022-04-14 22:11:18 -04:00
rusefillc d9fccb4383 logging of live data structs was: data points #3614
unification with outputs
2022-04-14 21:01:26 -04:00
rusefillc 06f2006626 logging of live data structs was: data points #3614
unification with outputs
2022-04-14 15:46:01 -04:00
rusefillc 725e5467bd logging of live data structs was: data points #3614 2022-04-13 22:27:44 -04:00
rusefillc f7e2d5a4d2 logging of live data structs was: data points #3614
one step back
2022-04-13 21:46:38 -04:00
rusefillc d3afe354a1 logging of live data structs was: data points #3614
progress & more consistent convention
2022-04-13 21:01:05 -04:00
rusefillc 57be5a2147 logging of live data structs was: data points #3614
progress & more consistent convention
2022-04-13 20:46:55 -04:00
rusefillc 5a8725a8aa autoscale scale into java fields 2022-04-04 21:35:09 -04:00
rusefillc 68a0ac9991 Proper cam speed labels in triggers #4021 2022-04-03 14:06:22 -04:00
rusefillc 5896f9054d random order in generated_ts_name_by_pin fix #3989 2022-03-10 20:32:20 -05:00
rusefillc 544dfc762e id array length should match class array length 2022-02-16 13:03:53 -05:00
rusefillc 2b123b1be9 id array length should match class array length 2022-02-16 12:47:54 -05:00
rusefillc 596858f3b5 id array length should match class array length 2022-02-16 12:17:25 -05:00
rusefillc 9a37d08403 id array length should match class array length 2022-02-16 11:55:07 -05:00
rusefillc a8849e067b User board-specific terms in error messages #3886 2022-02-03 15:21:30 -05:00
rusefillc 8aa564161a User board-specific terms in error messages #3886
wow we are getting closer!
2022-02-03 15:01:26 -05:00
rusefillc 81bbf8ec7d User board-specific terms in error messages #3886 2022-02-03 14:27:47 -05:00
rusefillc c89e2ff044 User board-specific terms in error messages #3886
EFI_ADC_13 used multiple times in hellen121vag #2925

enforcing new constraint
2022-02-03 13:11:43 -05:00
rusefillc cb35a832a7 User board-specific terms in error messages #3886
just refactoring for now
2022-02-03 12:15:37 -05:00
Matthew Kennedy 57525283ac Remove FSIO, byeeeeeeeee (#3865)
* vestigial config

* replace last functionality

* engine/board configs include

* files that didn't need to include this

* remove FSIO implementation

* stragglers

* random little bits

* s

* s

* ConfigDefinition

* jar

* s
2022-02-02 02:03:31 -05:00
rusefillc b0b91e8d0d assert that C and TS enum sizes match #3786 2022-01-12 21:28:33 -05:00
rusefillc ae8b288c33 assert that C and TS enum sizes match #3786 2022-01-12 21:14:08 -05:00
rusefillc 6240d83d5c fresh antlr 2022-01-11 16:39:47 -05:00
rusefillc ca6b7bba23 Live Data progress 2022-01-06 17:58:59 -05:00
rusefillc eb889eb6ff reducing logging 2022-01-05 15:56:04 -05:00
rusefillc efe0e5abc0 reducing logging 2022-01-05 15:39:46 -05:00
rusefillc 7fa58f61be live data progress 2022-01-05 01:34:48 -05:00
rusefillc 567784bbff more refactoring
'null' in header bugfix
2022-01-05 01:10:02 -05:00
rusefillc b4c8819752 more dead code & reducing static magic 2022-01-04 23:48:16 -05:00
rusefillc 2503a0f93c dead test & clean-up 2022-01-04 23:34:32 -05:00
rusefillc f40b172d6c refactoring - splitting class a bit further 2022-01-04 00:28:41 -05:00
rusefillc 1bce67af08 refactoring - splitting class a bit further 2022-01-04 00:25:49 -05:00
rusefillc 261276448a refactoring - splitting class a bit 2022-01-04 00:17:09 -05:00
rusefillc fb8f769567 HellenNA8_96 config folder #3724
resiliency
2021-12-29 23:48:06 -05:00
rusefillc c213a842c0 clutch input via CAN #3605 2021-12-15 20:22:56 -05:00
rusefillc c559bcea59 Lua to read tsOutputs #3376 2021-12-14 22:28:41 -05:00
rusefillc 86415b9dd0 Lua to read tsOutputs #3376 2021-12-14 16:04:39 -05:00
rusefillc aeddcedd3c Lua to read tsOutputs #3376 2021-12-13 19:13:05 -05:00
rusefillc 0e1f0c264c Lua to read tsOutputs #3376 2021-12-13 18:57:22 -05:00
rusefillc b870a2a00b generator refactoring 2021-12-11 04:42:56 -05:00
rusefillc 74b76e4f3e generator refactoring 2021-12-11 04:31:54 -05:00
rusefillc 7a04b3d9e5 generator refactoring 2021-12-11 04:04:15 -05:00
rusefillc 7bc46cf448 code generator: unifying size logic 2021-12-11 03:50:28 -05:00
rusefillc 2b9e3df449 fresh jar 2021-12-09 21:53:11 -05:00
rusefillc 7ed2dadf82 fresh jar 2021-12-09 17:41:46 -05:00
rusefillc 034e704608 output channel name duplication fix #3681 2021-12-08 22:45:51 -05:00
Matthew Kennedy ee38fb4cca remove cache zip, rely on LazyFile instead (#3639)
* don't use cache.zip

* delete cache zip

* withConstructor

* I can't type

* bad merge

* jar

* jar
2021-12-01 23:00:54 -05:00
Matthew Kennedy faf4801175 remove define_constructor (#3640)
* no define_constructor

* jar

* sim needs live doc
2021-11-30 19:31:54 -05:00
Matthew Kennedy 9b596d2ef3 fix output channel dependency detection (#3634)
* s

* jar
2021-11-28 23:46:48 -05:00