Commit Graph

282 Commits

Author SHA1 Message Date
rusefillc 7882b97a1c Struct array for outputs #4442
extra option might help
2022-08-16 20:05:01 -04:00
rusefillc 6945f49cd8 reducing inconsistency between gen scripts 2022-08-16 16:58:01 -04:00
rusefillc e0172a170d We have to move either forward or backwards with newparse #4441
a step back anticipating changes
2022-08-15 17:34:03 -04:00
Andrey 6f47772e6b Revert "A safe place where stuff is consistent (#4444)"
This reverts commit b4eb56c7b4.
2022-08-15 17:05:40 -04:00
rusefillc b4eb56c7b4 A safe place where stuff is consistent (#4444)
* We have to move either forward or backwards with newparse #4441

only spot where newparse was used for real?

* We have to move either forward or backwards with newparse #4441

.jar

* Struct array for outputs #4442

* Struct array for outputs #4442

* Struct array for outputs #4442

making kinetis happy :(

* VVT target to allow negative values #4424

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-08-15 14:26:51 -04:00
rusefillc 4367270cec Ant should go, gradle is the unified way #4371 2022-07-28 15:04:52 -04:00
rusefillc 13825a29ac Drew reminds that humans like sorted drop downs #4339 2022-07-12 07:17:29 -04:00
rusefillc 1569a14821 a step back 2022-07-12 06:43:47 -04:00
rusefillc e0cff09dd6 Revert "removing strange condition"
This reverts commit a8234ef3e2.
2022-07-12 06:41:42 -04:00
rusefillc a8234ef3e2 removing strange condition 2022-07-12 06:20:30 -04:00
rusefillc 6bb00be498 Drew reminds that humans like sorted drop downs #4339 2022-07-12 05:36:06 -04:00
rusefillc 4941f392a9 Drew reminds that humans like sorted drop downs #4339 2022-07-12 05:01:36 -04:00
rusefillc 9960acbacb Make hard-coded gap ratios visible on trigger documentation images #4172
boring details
2022-07-12 03:00:19 -04:00
rusefillc 81f02dacee debug is set to idle mode, but none of the debug fields show anything #4335
a mess with quotes and new lines
2022-07-07 23:48:37 -04:00
rusefillc d18e4602c1 debug is set to idle mode, but none of the debug fields show anything #4335
code generator fix with multiline and quotes
2022-07-07 23:23:54 -04:00
Matthew Kennedy 40106224f0 Write output channels with new parser (#4219)
* let the new parser run

* s

* support for output channels

* usages reader uses new parser for output channels

* better debugging configuration

* bad merge

* test it a bit too

* more tests

* copy/paste the same content from other file

* s

* fix bugs where even the existing logic tries to write as an enum (?)

* jar

* print stream always unix

* print stream always unix

* use typedefs correctly

* jar

* stub support for multiple of each type

* s

* s

* name some more datas
2022-06-19 09:52:23 -04:00
Matthew Kennedy aa7a404a44 new parser TS output fixes, config file fixes (#4261)
* new parser TS output fixes, config file fixes

* jar
2022-06-18 17:24:50 -04:00
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