Commit Graph

585 Commits

Author SHA1 Message Date
rusefillc de122de978 Too long field comment becomes log field name fix #4716 2022-11-01 17:40:29 -04:00
rusefillc aca054b1f8 dead comment tag logic 2022-11-01 16:39:02 -04:00
rusefillc 9a3deff720 Automation coverage for RPM not reading #4709 2022-10-28 04:22:10 -04:00
rusefillc 3c5f8f8f3c renaming tool 2022-10-28 03:44:39 -04:00
rusefillc 391d058ae0 dead code 2022-10-28 03:37:11 -04:00
rusefillc b06c0eea9f LTS: signature considerations of long time support branches #4603 2022-10-27 22:33:08 -04:00
rusefillc 0ec0fca9be encapsulation 2022-10-27 22:12:39 -04:00
rusefillc 8c2a524773 making variable names just a bit less specific 2022-10-27 21:58:07 -04:00
rusefillc cdb6353eb0 refactoring: reducing code duplication 2022-10-27 20:59:11 -04:00
rusefillc 8db0c36367 reducing confusion just a bit 2022-10-27 19:59:52 -04:00
rusefillc bae8959e78 refactoring: reducing code duplication 2022-10-27 19:59:52 -04:00
Matthew Kennedy 2924d98609
use offsetof instead of generated offset defines (#4696)
* constify efi_gpio, use size_t

* use offsetof instead of macros

* don't generate offsets in rusefi_generated.h

* comment explaining the madness

* java fixes

* casing
2022-10-23 16:39:18 -04:00
Andrey 0bf44c7b64 one step back 2022-10-19 16:22:36 -04:00
rusefillc f45347a00a triggerImage: todo: support symmetrical crank 2022-10-19 15:12:51 -04:00
rusefillc 1704964d14 triggerImage: todo: support symmetrical crank 2022-10-16 10:19:41 -04:00
rusefillc ddaf9fb838 SD card log fields list should be auto-generated #3985
progress
2022-10-12 19:46:17 -04:00
rusefillc 4aaa56436c SD card log fields list should be auto-generated #3985
Not good
2022-10-12 19:28:51 -04:00
rusefillc 8a86e6f1a9 SD card log fields list should be auto-generated #3985
safer 'digits' default
2022-10-12 12:36:29 -04:00
rusefillc 81d155f47a SD card log fields list should be auto-generated #3985
do not like this default
2022-10-12 12:34:07 -04:00
rusefillc 2733270a83 SD card log fields list should be auto-generated #3985 2022-10-12 08:04:58 -04:00
rusefillc a9c63c92a1 SD card log fields list should be auto-generated #3985
array support
2022-10-11 23:53:11 -04:00
rusefillc 3acc8af0b4 SD card log fields list should be auto-generated #3985 2022-10-10 21:25:35 -04:00
rusefillc 01799e1ac7 SD card log fields list should be auto-generated #3985 2022-10-10 08:33:32 -04:00
rusefillc 63412455be SD card log fields list should be auto-generated #3985 2022-10-09 21:46:38 -04:00
rusefillc 57f4a1eb2c SD card log fields list should be auto-generated #3985 2022-10-09 21:44:25 -04:00
rusefillc f668508958 SD card log fields list should be auto-generated #3985 2022-10-09 21:39:20 -04:00
rusefillc 753598483f refactoring 2022-10-09 17:38:57 -04:00
rusefillc 6a99469c8a
// todo: what is broken _exactly_? (#4531)
* // todo: what is broken _exactly_?

* hold on, why "float autoscale" at all here?

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-10-08 23:13:14 -04:00
rusefillc 9a7054008a VVT minimum RPM #4545
let's see who else is affected
2022-10-07 11:59:10 -04:00
rusefillc 6e405c9e0c Adding stuff into livedata.yaml needs _two_ rounds of config generation #4514 2022-09-02 23:15:47 -04:00
Andrey 484103deb9 Revert "looks like dead logic"
This reverts commit f936204798.
2022-09-02 23:07:09 -04:00
rusefillc f936204798 looks like dead logic 2022-09-02 22:51:18 -04:00
rusefillc 0785bc6e86 romraider is gone part 3 2022-08-16 22:32:21 -04:00
rusefillc 4593c96979 Struct array for outputs #4442
extra option might help
2022-08-16 20:05:01 -04:00
rusefillc 7173d947d6 reducing inconsistency between gen scripts 2022-08-16 16:58:01 -04:00
rusefillc b36f058d1f refactoring: code flow simplification 2022-08-15 18:39:31 -04:00
rusefillc afc376bf8c 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 9785c68e82 Revert "A safe place where stuff is consistent (#4444)"
This reverts commit 15d42bd293.
2022-08-15 17:05:40 -04:00
rusefillc 15d42bd293
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 4c93418599 TODO: We have to move either forward or backwards with newparse #4441 2022-08-14 18:20:55 -04:00
rusefillc 5f988e867c Ant should go, gradle is the unified way #4371 2022-07-28 13:32:00 -04:00
rusefillc 02682fba34 Ant should go, gradle is the unified way #4371 2022-07-28 13:24:49 -04:00
rusefillc 247ad0ddec custom skipped wheel could be located on camshaft fix #4377 2022-07-25 08:05:52 -04:00
rusefillc bf532e5c3e Drew reminds that humans like sorted drop downs #4339 2022-07-12 07:17:29 -04:00
rusefillc 9f2ec710db a step back 2022-07-12 06:43:47 -04:00
rusefillc acc8ceec76 Revert "removing strange condition"
This reverts commit 249bc2c6bc.
2022-07-12 06:41:42 -04:00
rusefillc 249bc2c6bc removing strange condition 2022-07-12 06:20:30 -04:00
rusefillc 7475f63111 better method name 2022-07-12 06:16:05 -04:00
rusefillc 116cc881d3 Drew reminds that humans like sorted drop downs #4339 2022-07-12 05:36:06 -04:00
rusefillc cede67c5e5 Drew reminds that humans like sorted drop downs #4339 2022-07-12 05:01:36 -04:00
rusefillc f3f6fe288c typo 2022-07-12 04:19:42 -04:00
rusefillc 16c2c459a5 Make hard-coded gap ratios visible on trigger documentation images #4172 2022-07-12 02:57:18 -04:00
rusefillc 76762318cc Make hard-coded gap ratios visible on trigger documentation images #4172 2022-07-12 01:41:35 -04:00
rusefillc 5fe87f091b looks dead 2022-07-12 01:38:25 -04:00
rusefillc 8583173771 dead? 2022-07-12 01:29:08 -04:00
rusefillc bbb869c073 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 2f4a3b0646 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
rusefillc a4dfdb3165 debug is set to idle mode, but none of the debug fields show anything #4335
current state is a bit broken
2022-07-07 23:23:53 -04:00
Matthew Kennedy 7e8ae7c8a3
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 606e04364b
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 7cc09ade6f
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 ca775ef489
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 d701c1c8ef
new autoscale constraint #4111 (#4111) 2022-06-03 02:06:55 -04:00
Matthew Kennedy 41dbf51d06
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 14cf368dcc helping build 2022-06-02 15:25:10 -04:00
rusefillc 68801865f3 Merge branch 'master' of https://github.com/rusefi/rusefi 2022-06-02 15:23:40 -04:00
rusefillc 34d4cd17bb better logging 2022-06-02 15:23:38 -04:00
Andrey ac213c31d8 new validation and a lot of clean-up! 2022-06-02 15:18:18 -04:00
rusefillc fc9ed9ca43 https://github.com/rusefi/hellen-gm-e67/issues/36 2022-06-02 14:04:03 -04:00
rusefillc b4e3bb63ef TS enum key-value form #4232 2022-06-02 12:47:39 -04:00
rusefillc 0aab6d10e0 refactoring: reducing magic constant 2022-06-02 12:41:49 -04:00
rusefillc bd51e1ae64 typo 2022-06-02 12:40:20 -04:00
Matthew Kennedy 7748997f56
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
rusefillc 22d9bf056a heling build 2022-05-31 08:48:24 -04:00
Matthew Kennedy aaa5afbf38
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 1d629df884 trying to reduce confusion x2 2022-05-30 17:06:56 -04:00
rusefillc b0252fd3df trying to reduce confusion 2022-05-30 16:42:08 -04:00
rusefi 3da1457f99 helping build 2022-05-15 21:41:53 -04:00
rusefillc 95ea662735 reduce flash footprint by smarter code generation #4163 2022-05-15 19:36:40 -04:00
rusefillc 9000af369b efi::size 2022-05-15 19:19:21 -04:00
rusefi a1b6be5452 reduce flash footprint by smarter code generation #4163 2022-05-15 18:33:22 -04:00
rusefillc e13a34a956 reduce flash footprint by smarter code generation #4163 2022-05-15 17:56:39 -04:00
rusefillc 8611950460 splitting test into two 2022-05-15 10:22:23 -04:00
rusefi 91ca4d549b 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 bc204bc239 compact pinout enum syntax part two 2022-05-09 08:12:25 -04:00
rusefillc 05ed284419 compact pinout enum syntax part two 2022-05-09 07:39:56 -04:00
rusefillc f2ffb337bb compact pinout enum syntax 2022-05-09 07:13:50 -04:00
rusefillc 56d5d77300 progress towards compact enum syntax 2022-05-09 07:02:01 -04:00
rusefillc 27a55eb36c Technical debt: ENUM_32_BITS #3874 2022-05-02 00:22:45 -04:00
Matthew Kennedy e4a0979dc2
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 d4a1811f7f new autoscale constraint #4111 2022-04-26 19:38:49 -04:00
rusefillc ee028acb5f autoscale and scale 2022-04-26 19:25:45 -04:00
rusefillc c3636eafb1 would this ever end... 2022-04-25 18:14:11 -04:00
rusefillc a48654ce74 test coverage good 2022-04-25 00:46:27 -04:00
rusefillc 35b7546f22 2 byte pin index #4097
let's have another go?
2022-04-25 00:19:02 -04:00
rusefillc 4793687c34 2 byte pin index #4097
:( at least test coverage is being improved
2022-04-25 00:19:02 -04:00
rusefillc 388a4d238c 2 byte pin index #4097
fixing what was just broken
2022-04-24 23:49:41 -04:00
rusefillc 7e40edbebc 2 byte pin index #4097
wow that's bad again
2022-04-24 23:49:41 -04:00
rusefillc 66e661361b 2 byte pin index #4097
wow we have so many useful 'todo's :)
2022-04-24 23:23:12 -04:00
rusefillc 10409ebd59 2 byte pin index #4097
Matt by the way we do support '#if' in code generation

but for now without alignment any longer
2022-04-24 23:18:53 -04:00
rusefillc cc03380a84 2 byte pin index #4097
not good
2022-04-24 23:06:33 -04:00
rusefillc 6354f6372c 2 byte pin index #4097
short alignment
2022-04-24 17:26:46 -04:00
rusefillc 9947b34aec 2 byte pin index #4097
bit alignment
2022-04-24 17:26:45 -04:00
rusefillc 23fb96f399 2 byte pin index #4097
status quo
2022-04-24 17:26:45 -04:00
Andrey e50c678623 https://github.com/rusefi/web_backend/issues/166
one step back for now
2022-04-22 01:54:54 -04:00
rusefillc 406405ab8d better default handling 2022-04-22 01:24:49 -04:00
rusefillc 13ccfefb7e https://github.com/rusefi/web_backend/issues/166 2022-04-19 14:49:57 -04:00
Andrey 1eafeb3ed1 code generation bugfix 2022-04-18 12:22:50 -04:00
rusefillc f55ad6ff23 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 0b61af507f live data indicator usability 2022-04-18 11:44:11 -04:00
rusefillc a6d3b2f028 unique names in case of iteration 2022-04-18 11:06:57 -04:00
rusefillc 6c089dbdc4 refactoring 2022-04-18 10:58:11 -04:00
rusefillc 387dfafe74 docs 2022-04-18 10:57:54 -04:00
rusefillc 9caec21e36 fixing indicator prefix 2022-04-18 02:02:04 -04:00
rusefillc 2b23e712eb only rename 2022-04-18 01:31:04 -04:00
rusefillc 4297173e15 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 282eec37e6 refactoring 2022-04-18 00:22:36 -04:00
rusefillc 5a5ae49d27 minor fix - graph index 2022-04-18 00:05:15 -04:00
rusefillc 403a534ae8 no graphs for indicators, also limiting number of lines per graph 2022-04-17 22:49:58 -04:00
rusefillc 3d44f6d2c0 logging of live data structs was: data points #3614
alpha version of TS UI
2022-04-17 22:28:36 -04:00
rusefillc 73d5898c5e logging of live data structs was: data points #3614
huge step!
2022-04-17 21:01:54 -04:00
rusefillc 7e4c12171d helping build 2022-04-17 20:08:21 -04:00
rusefillc 53f7d2e16e look it's a bugfix! 2022-04-17 18:11:32 -04:00
rusefillc 1d9af6ef1f Merge branch 'master' of https://github.com/rusefi/rusefi 2022-04-17 18:10:40 -04:00
Andrey 5cd5783c02 look it's a bug?! 2022-04-17 18:10:25 -04:00
rusefillc 4eed0e417e API 2022-04-17 18:01:38 -04:00
Andrey 567751b5a3 progress 2022-04-17 18:01:13 -04:00
rusefillc 8f0eb676a5 logging of live data structs was: data points #3614
So close...
2022-04-17 17:22:21 -04:00
rusefillc 00b3372929 progress 2022-04-17 17:09:58 -04:00
rusefillc 2666cb7c5a logging of live data structs was: data points #3614
looks like progress
2022-04-17 16:51:17 -04:00
rusefillc c00a24e9fd trying to fix build 2022-04-17 16:12:42 -04:00
Andrey 4db874a607 shameless reminder about time-sensitive Proteus fabrication issue which worries me 2022-04-17 16:00:31 -04:00
rusefillc f3897cda58 refactoring 2022-04-17 14:48:00 -04:00
rusefillc e6095e1e56 refactoring 2022-04-17 14:37:17 -04:00
rusefillc 8a0c109dc2 refactoring 2022-04-17 14:28:32 -04:00
rusefillc c64e52c940 refactoring 2022-04-17 14:18:42 -04:00
rusefillc fca9f998ea refactoring 2022-04-17 14:18:42 -04:00
rusefillc dc1c6c035d refactoring 2022-04-17 14:18:42 -04:00
rusefillc 5ddbd5ef2f refactoring 2022-04-17 14:18:42 -04:00
rusefillc 2624d0ad07 logging of live data structs was: data points #3614
progress!
2022-04-17 13:16:13 -04:00
rusefillc 7e067bb5a1 reducing confusion 2022-04-17 13:15:39 -04:00
rusefillc b8bb95f636 refactoring 2022-04-17 13:12:58 -04:00
Andrey f1d70ecc0c 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 ead4b5488f logging of live data structs was: data points #3614 2022-04-17 02:26:40 -04:00
rusefillc 359ff68778 logging of live data structs was: data points #3614
fancy TS progress
2022-04-17 01:58:05 -04:00
rusefillc 07d8ac77bc reducing code duplication 2022-04-17 01:43:46 -04:00
rusefillc feccf3e19e logging of live data structs was: data points #3614 2022-04-16 21:04:02 -04:00
rusefillc b707812788 logging of live data structs was: data points #3614 2022-04-16 19:43:12 -04:00
Andrey 9d6a7b6ee1 bugfix: order of complexity 2022-04-16 13:57:16 -04:00
Matthew Kennedy 6aef4f10d0
fragment refactoring (#4072)
* fragment refactoring

* jar

* jar?
2022-04-16 09:24:45 -04:00