Commit Graph

620 Commits

Author SHA1 Message Date
rusefillc 7ba4f98dc6 status quo 2022-11-14 22:41:03 -05:00
rusefillc 955a90327d target lambda & afr log fields broken #4727 2022-11-02 22:17:00 -04:00
rusefillc e60dbbafd4 target lambda & afr log fields broken #4727 2022-11-02 21:59:09 -04:00
rusefillc b034ffb376 target lambda & afr log fields broken #4727 2022-11-02 21:50:42 -04:00
rusefillc 3476e8a87c reducing unusedBit clutter 2022-11-02 21:49:22 -04:00
rusefillc 7b0a4efd76 documenting current reality 2022-11-02 21:49:22 -04:00
rusefillc 76479a7261 Too long field comment becomes log field name fix #4716 2022-11-01 17:40:29 -04:00
rusefillc d8492e343f dead comment tag logic 2022-11-01 16:39:02 -04:00
rusefillc d1bbc6eb47 Automation coverage for RPM not reading #4709 2022-10-28 04:22:10 -04:00
rusefillc f47c36c92f renaming tool 2022-10-28 03:44:39 -04:00
rusefillc 6f8585f931 dead code 2022-10-28 03:37:11 -04:00
rusefillc eb23f8e3b3 LTS: signature considerations of long time support branches #4603 2022-10-27 22:33:08 -04:00
rusefillc 91f7a289e3 encapsulation 2022-10-27 22:12:39 -04:00
rusefillc 35ec353c15 making variable names just a bit less specific 2022-10-27 21:58:07 -04:00
rusefillc 0d3b5414fd refactoring: reducing code duplication 2022-10-27 20:59:11 -04:00
rusefillc cd2b121b5b reducing confusion just a bit 2022-10-27 19:59:52 -04:00
rusefillc 476bf26b92 refactoring: reducing code duplication 2022-10-27 19:59:52 -04:00
Matthew Kennedy c23d7ec077 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 f9d226f66a one step back 2022-10-19 16:22:36 -04:00
rusefillc 12aeefa1ea triggerImage: todo: support symmetrical crank 2022-10-19 15:12:51 -04:00
rusefillc fca14b9262 very strange mess 2022-10-16 11:53:33 -04:00
rusefillc 5bdf78fa8c triggerImage: todo: support symmetrical crank 2022-10-16 10:19:41 -04:00
rusefillc 69a048c944 let's separate Android from not Android 2022-10-15 18:14:29 -04:00
rusefillc 7d8cf66039 let's separate Android from not Android 2022-10-15 14:36:41 -04:00
rusefillc ffdffef642 SD card log fields list should be auto-generated #3985
progress
2022-10-12 19:46:17 -04:00
rusefillc 8fee40da6d SD card log fields list should be auto-generated #3985
Not good
2022-10-12 19:28:51 -04:00
rusefillc f6bcaf640c SD card log fields list should be auto-generated #3985
safer 'digits' default
2022-10-12 12:36:29 -04:00
rusefillc f80cda64f6 SD card log fields list should be auto-generated #3985
do not like this default
2022-10-12 12:34:07 -04:00
rusefillc 97bb8805fe SD card log fields list should be auto-generated #3985 2022-10-12 08:04:58 -04:00
rusefillc 2edd09c1b6 SD card log fields list should be auto-generated #3985
array support
2022-10-11 23:53:11 -04:00
rusefillc e00d4a819a SD card log fields list should be auto-generated #3985 2022-10-10 21:25:35 -04:00
rusefillc 5209c94102 SD card log fields list should be auto-generated #3985 2022-10-10 08:33:32 -04:00
rusefillc 5c61e6ba15 SD card log fields list should be auto-generated #3985 2022-10-09 21:46:38 -04:00
rusefillc b63f7da7ff SD card log fields list should be auto-generated #3985 2022-10-09 21:44:25 -04:00
rusefillc d16582c6c7 SD card log fields list should be auto-generated #3985 2022-10-09 21:39:20 -04:00
rusefillc f166cc2b26 refactoring 2022-10-09 17:38:57 -04:00
rusefillc a9cf096272 // 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 4dc734c880 VVT minimum RPM #4545
let's see who else is affected
2022-10-07 11:59:10 -04:00
rusefillc 741cad0b07 Adding stuff into livedata.yaml needs _two_ rounds of config generation #4514 2022-09-02 23:15:47 -04:00
Andrey 4e27fc85ab Revert "looks like dead logic"
This reverts commit 607cdbb132.
2022-09-02 23:07:09 -04:00
rusefillc 607cdbb132 looks like dead logic 2022-09-02 22:51:18 -04:00
rusefillc 7d3e508c6d romraider is gone part 3 2022-08-16 22:32:21 -04:00
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 92d10a4db8 this is separate enough 2022-08-15 21:39:30 -04:00
rusefillc 73d4154b55 refactoring: code flow simplification 2022-08-15 18:39:31 -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 2556e87b8f TODO: We have to move either forward or backwards with newparse #4441 2022-08-14 18:20:55 -04:00
rusefillc 4c3f16e6fa antlr 2022-08-08 21:22:47 -04:00
rusefillc 4367270cec Ant should go, gradle is the unified way #4371 2022-07-28 15:04:52 -04:00
rusefillc c22bb24bbd Ant should go, gradle is the unified way #4371 2022-07-28 14:55:50 -04:00
rusefillc 4f51158336 Ant should go, gradle is the unified way #4371 2022-07-28 13:32:00 -04:00
rusefillc abcc502aac Ant should go, gradle is the unified way #4371 2022-07-28 13:24:49 -04:00
rusefillc 17bf4d0c46 custom skipped wheel could be located on camshaft fix #4377 2022-07-25 08:05: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 ab4a5b5cdc better method name 2022-07-12 06:16:05 -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 ee927d6a29 typo 2022-07-12 04:19:42 -04:00
rusefillc 5e89bbc4c3 Make hard-coded gap ratios visible on trigger documentation images #4172 2022-07-12 02:57:18 -04:00
rusefillc ed1a0fc248 Make hard-coded gap ratios visible on trigger documentation images #4172 2022-07-12 01:41:35 -04:00
rusefillc b2cbd889f9 looks dead 2022-07-12 01:38:25 -04:00
rusefillc 693400a1c2 dead? 2022-07-12 01:29:08 -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
rusefillc 698f56c1eb 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 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
rusefillc 613fb57a71 Merge branch 'master' of https://github.com/rusefi/rusefi 2022-06-02 15:23:40 -04:00
rusefillc 157e7aab88 better logging 2022-06-02 15:23:38 -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
rusefillc 9afad189cd TS enum key-value form #4232 2022-06-02 12:47:39 -04:00
rusefillc d44068746a refactoring: reducing magic constant 2022-06-02 12:41:49 -04:00
rusefillc aeb02003ac typo 2022-06-02 12:40:20 -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
rusefillc 2c5419df23 heling build 2022-05-31 08:48:24 -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
rusefi b28122ac57 helping build 2022-05-15 21:41:53 -04:00
rusefillc e918719db8 reduce flash footprint by smarter code generation #4163 2022-05-15 19:36:40 -04:00
rusefillc abba034761 efi::size 2022-05-15 19:19:21 -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
rusefillc 727b3cdfe1 splitting test into two 2022-05-15 10:22:23 -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 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 9d462f05a1 progress towards compact enum syntax 2022-05-09 07:02:01 -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 881ecde7e0 new autoscale constraint #4111 2022-04-26 19:38:49 -04:00
rusefillc b3053d03c9 autoscale and scale 2022-04-26 19:25:45 -04:00
rusefillc 15c2699e08 would this ever end... 2022-04-25 18:14:11 -04:00
rusefillc 312f67e57d test coverage good 2022-04-25 00:46:27 -04:00
rusefillc f3fb27003f 2 byte pin index #4097
let's have another go?
2022-04-25 00:19:02 -04:00
rusefillc 1eb4dfe34e 2 byte pin index #4097
:( at least test coverage is being improved
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 cf5c411fce 2 byte pin index #4097
wow that's bad again
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 e172a36726 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 1fab166cca 2 byte pin index #4097
not good
2022-04-24 23:06:33 -04:00
rusefillc 13191e0694 2 byte pin index #4097
short alignment
2022-04-24 17:26:46 -04:00
rusefillc 88ace33b67 2 byte pin index #4097
bit alignment
2022-04-24 17:26:45 -04:00
rusefillc ba6d9436c4 2 byte pin index #4097
status quo
2022-04-24 17:26: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
rusefillc 6006697351 https://github.com/rusefi/web_backend/issues/166 2022-04-19 14:49:57 -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 6769604502 live data indicator usability 2022-04-18 11:44:11 -04:00
rusefillc 0b1e094e20 unique names in case of iteration 2022-04-18 11:06:57 -04:00
rusefillc 1b4418aa99 refactoring 2022-04-18 10:58:11 -04:00
rusefillc e733bd6881 docs 2022-04-18 10:57:54 -04:00
rusefillc b72eb04a26 fixing indicator prefix 2022-04-18 02:02:04 -04:00
rusefillc 8a1b12f048 only rename 2022-04-18 01:31: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 f72d2cab06 refactoring 2022-04-18 00:22:36 -04:00
rusefillc 125b735c86 minor fix - graph index 2022-04-18 00:05:15 -04:00
rusefillc c29c1a1170 no graphs for indicators, also limiting number of lines per graph 2022-04-17 22:49:58 -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
rusefillc c3d5ec4c59 look it's a bugfix! 2022-04-17 18:11:32 -04:00
rusefillc 7827d9210f Merge branch 'master' of https://github.com/rusefi/rusefi 2022-04-17 18:10:40 -04:00
Andrey 43428df4bc look it's a bug?! 2022-04-17 18:10:25 -04:00
rusefillc b438c2fce7 API 2022-04-17 18:01:38 -04:00
Andrey 2d901f8106 progress 2022-04-17 18:01:13 -04:00
rusefillc 0f74c0df64 logging of live data structs was: data points #3614
So close...
2022-04-17 17:22:21 -04:00
rusefillc e19124ae70 progress 2022-04-17 17:09:58 -04:00
rusefillc afa1ea0a39 logging of live data structs was: data points #3614
looks like progress
2022-04-17 16:51:17 -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 5a99f10c35 refactoring 2022-04-17 14:48:00 -04:00
rusefillc f69aa606a0 refactoring 2022-04-17 14:37:17 -04:00
rusefillc ca196a5de3 refactoring 2022-04-17 14:28:32 -04:00
rusefillc 481da56e8c refactoring 2022-04-17 14:18:42 -04:00
rusefillc e2d668186d refactoring 2022-04-17 14:18:42 -04:00