Commit Graph

1067 Commits

Author SHA1 Message Date
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
rusefillc f79d7f301e helping build 2022-06-01 13:48:39 -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 400b3c3547 Remove value copy from controller into outputChannels #4095 2022-05-09 08:24:55 -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 085d0d4941
Socket can (#4126)
* Linux is asking for SocketCAN ISO-TP console connector #4123

* Linux is asking for SocketCAN ISO-TP console connector #4123

* gradle

* Linux is asking for SocketCAN ISO-TP console connector #4123

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-05-03 16:41:24 -04:00
rusefillc 27a55eb36c Technical debt: ENUM_32_BITS #3874 2022-05-02 00:22:45 -04:00
rusefillc d4323d370a Technical debt: ENUM_32_BITS #3874 2022-05-01 23:52:29 -04:00
rusefillc e64b382662 one step back to help master 2022-04-29 09:18:20 -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 afff3bc872 2 byte pin index #4097 2022-04-24 17:27:45 -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 b685132e60 starting to really not like manual jar thing 2022-04-17 23:31:16 -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
Andrey 26cf99edeb bad bad manual jar process :( 2022-04-17 18:56:01 -04:00
Andrey d82157cd68 reducing smell 2022-04-17 18:48:22 -04:00
Andrey 03c2342d28 manual jar in repo not amazing 2022-04-17 18:47:30 -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
rusefillc b0158c8350 logging of live data structs was: data points #3614 2022-04-16 02:30:54 -04:00
rusefillc b9e56a36c7 logging of live data structs was: data points #3614 2022-04-16 00:48:15 -04:00
rusefillc 50a426858a establishing a bit of API 2022-04-15 22:43:10 -04:00
rusefillc 6d8978a006 establishing a bit of API 2022-04-15 22:19:43 -04:00
rusefillc cbcce9d84a establishing a bit of API 2022-04-15 21:41:52 -04:00
rusefillc 841b6469c2 extracting a few methods 2022-04-15 21:10:20 -04:00
rusefillc 60ee5a3320 logging of live data structs was: data points #3614 2022-04-15 16:51:09 -04:00
rusefillc 8d729b155c just Sensor rename 2022-04-15 16:37:31 -04:00
rusefillc b2925f292a better API 2022-04-15 13:53:50 -04:00
rusefillc 19aec9129b refactoring - useless abstract class 2022-04-15 13:47:14 -04:00
rusefillc f41e15245b step towards gradle folder structure 2022-04-15 11:02:00 -04:00
rusefillc 757a2f3bd1 step towards gradle folder structure
a bit more of skip rate
2022-04-15 10:55:46 -04:00
rusefillc 943409b979 logging of live data structs was: data points #3614 2022-04-14 22:11:18 -04:00
rusefillc 007396003e logging of live data structs was: data points #3614
unification with outputs
2022-04-14 21:01:26 -04:00
rusefillc 435ecc413c logging of live data structs was: data points #3614
unification with outputs
2022-04-14 15:46:01 -04:00
rusefillc 57df620087 logging of live data structs was: data points #3614 2022-04-13 22:27:44 -04:00
rusefillc 7c5e8c8fb8 logging of live data structs was: data points #3614
one step back
2022-04-13 21:46:38 -04:00
rusefillc 6518315af6 logging of live data structs was: data points #3614
progress & more consistent convention
2022-04-13 21:01:05 -04:00
rusefillc 4834683dc6 logging of live data structs was: data points #3614
progress & more consistent convention
2022-04-13 20:46:55 -04:00
rusefillc 413e636d4c typo/grammar 2022-04-13 17:55:31 -04:00
rusefillc cdee39b910 refactoring: merging state into state 2022-04-13 17:30:09 -04:00
rusefillc 6a924f14df Mark is an ass but by far the most potent combination of knowledgeable ass, smart ass, get it done ass and determined ass. and his ass consistently puts in time. 2022-04-11 11:43:35 -04:00
rusefillc 278154ad9c Log4j errors fix #4044 2022-04-04 23:12:05 -04:00
rusefillc 65a4d92f31 autoscale scale into java fields 2022-04-04 21:35:09 -04:00
rusefillc 75318803e8 Proper cam speed labels in triggers #4021 2022-04-03 14:06:22 -04:00
rusefillc e631988b22 Proper cam speed labels in triggers #4021 2022-04-03 12:22:47 -04:00
rusefillc 577b30c74a Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077 2022-04-02 21:01:29 -04:00
rusefillc f8fe063415 minor clean-up 2022-04-02 21:01:29 -04:00
rusefillc 613ce3bd7e transitive dependencies 2022-03-15 14:24:54 -04:00
rusefillc 5c4b8c24be docs 2022-03-13 11:34:41 -04:00
rusefillc 4d188faac4 random order in generated_ts_name_by_pin fix #3989 2022-03-10 20:32:20 -05:00
rusefillc 0f38f664ba id array length should match class array length 2022-02-16 13:03:53 -05:00
rusefillc d71e203b27 id array length should match class array length 2022-02-16 12:47:54 -05:00
rusefillc 2f488bfe46 id array length should match class array length 2022-02-16 12:17:25 -05:00
rusefillc 644dabf1bc id array length should match class array length 2022-02-16 11:55:07 -05:00
rusefillc b124225c6d Console logging is a mess #3930 2022-02-12 16:46:08 -05:00
rusefillc 1f97452359 Console logging is a mess #3930 2022-02-12 16:09:31 -05:00
Matthew Kennedy 35c4c0bfba
move allowLongResponse option to ECU side (#3917)
* executeCommand knows about opcodes

* kick

* remove allowLongResponse

* add api in firmware instead

* test size

* bad merge

* firmware missed a spot

* fix logic

* haha we have to disable it
2022-02-11 16:03:20 -05:00
Matthew Kennedy 5fc5bb40bd
executeCommand knows about opcodes (#3915)
* executeCommand knows about opcodes

* kick

* extra line

* gross duplication

* ugh more
2022-02-11 07:03:15 -05:00
rusefillc 0047805ce4 User board-specific terms in error messages #3886 2022-02-03 15:21:30 -05:00
rusefillc b900f7e5f2 User board-specific terms in error messages #3886
wow we are getting closer!
2022-02-03 15:01:26 -05:00
rusefillc 1b73e96152 User board-specific terms in error messages #3886 2022-02-03 14:27:47 -05:00
rusefillc fd712d50e1 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 5f8d481f31 User board-specific terms in error messages #3886
refactoring - explicit PinState class
2022-02-03 13:03:05 -05:00
rusefillc 4fb0e75d3c User board-specific terms in error messages #3886
just refactoring for now
2022-02-03 12:15:37 -05:00
rusefillc caced85ad0 User board-specific terms in error messages #3886
just refactoring for now
2022-02-03 12:15:02 -05:00
Matthew Kennedy 10be2d5f40
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 cc22937c65 better C++ enum handling 2022-01-27 16:51:58 -05:00
rusefillc 7850e6e57e assert that C and TS enum sizes match #3786
is this test testing anything?
2022-01-14 22:44:22 -05:00
rusefillc 3951d3236b assert that C and TS enum sizes match #3786 2022-01-12 21:28:33 -05:00
rusefillc 1990086c1c assert that C and TS enum sizes match #3786 2022-01-12 21:14:08 -05:00
rusefillc ee7f0f6da9 lib 2022-01-12 21:14:08 -05:00
rusefillc 08d6004ad3 fresh antlr 2022-01-11 16:39:47 -05:00
rusefillc fb60c2f1c7
fresh antlr (#3774)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-01-11 16:33:59 -05:00
rusefillc 25ca48c408 Live Data progress 2022-01-06 17:58:59 -05:00
rusefillc 17ae85748b migrate configuration_definition to gradle #3746 2022-01-06 05:26:05 -05:00
rusefillc ff84233d1d AlphaX 2022-01-05 16:08:10 -05:00
rusefillc 5b5597a653 reducing logging 2022-01-05 15:56:04 -05:00
rusefillc 3995d08bea reducing logging 2022-01-05 15:39:46 -05:00
rusefillc ed59d225ca live data progress 2022-01-05 01:34:48 -05:00
rusefillc a9b8fef332 more refactoring
'null' in header bugfix
2022-01-05 01:10:02 -05:00
rusefillc 25d3a401f3 grumbling 2022-01-05 00:19:50 -05:00
rusefillc 005f322ac9 minor refactoring 2022-01-05 00:19:50 -05:00
rusefillc 9ed57e36cd more dead code & reducing static magic 2022-01-04 23:48:16 -05:00
rusefillc 2117738d13 dead test & clean-up 2022-01-04 23:34:32 -05:00
rusefillc 462d0742d5 refactoring - splitting class a bit further 2022-01-04 00:28:41 -05:00
rusefillc 26a70b8107 refactoring - splitting class a bit further 2022-01-04 00:25:49 -05:00
rusefillc c95948c143 refactoring - splitting class a bit 2022-01-04 00:17:09 -05:00
rusefillc f80601eb87 HellenNA8_96 config folder #3724
resiliency
2021-12-29 23:48:06 -05:00
rusefillc 31e3265954 rusefi console - troubles with 'online' - java 11 does not hava JAXB #3128 2021-12-22 16:01:00 -05:00
rusefillc 96fb4b4638 better error message 2021-12-20 02:06:24 -05:00
rusefillc df354a338e clutch input via CAN #3605 2021-12-15 20:22:56 -05:00
rusefillc 86506a15a9 clutch input via CAN #3605 2021-12-15 20:11:23 -05:00
rusefillc 373e564ea2 clutch input via CAN #3605 2021-12-15 20:11:23 -05:00
rusefillc 5ed26f1ca1 Lua to read tsOutputs #3376 2021-12-14 22:28:41 -05:00
rusefillc 5854cbb75e Lua to read tsOutputs #3376 2021-12-14 16:04:39 -05:00
rusefillc 28449f3095 Lua to read tsOutputs #3376 2021-12-13 19:13:05 -05:00
rusefillc 0a7e2d04bd Lua to read tsOutputs #3376 2021-12-13 18:57:22 -05:00
rusefillc 5fdf9e420f Lua to read tsOutputs #3376 2021-12-12 23:17:56 -05:00
rusefillc d0592fa20d Lua to read tsOutputs #3376 2021-12-12 22:42:57 -05:00
rusefillc 8a75f86191 Lua to read tsOutputs #3376 2021-12-11 20:53:51 -05:00
rusefillc 256738680f refactoring 2021-12-11 13:00:33 -05:00
rusefillc 09c81c6a2e generator refactoring 2021-12-11 04:42:56 -05:00
rusefillc 2656f4b7b7 generator refactoring 2021-12-11 04:31:54 -05:00
rusefillc 1b84bac3d5 generator refactoring 2021-12-11 04:04:15 -05:00
rusefillc d129c43e0a extra coverage 2021-12-11 03:54:12 -05:00
rusefillc 742d0918b2 code generator: unifying size logic 2021-12-11 03:50:28 -05:00
rusefillc 90586f02a4 docs 2021-12-11 03:40:24 -05:00
rusefillc 1177b48d2a fresh jar 2021-12-09 21:53:11 -05:00
rusefillc c0b30287e7 random clean-up and more explicit handing of 33 bits in a row 2021-12-09 21:42:14 -05:00
rusefillc 4d03ff9751 refactoring: hiding 'prev' logic a bit deeper 2021-12-09 21:42:06 -05:00
rusefillc b890046f6e fresh jar 2021-12-09 17:41:46 -05:00
rusefillc cbca82f5fd toString 2021-12-09 17:41:18 -05:00
rusefillc 64354e1d79 unit test coverage for conditional structure 2021-12-09 17:41:08 -05:00
rusefillc 905760e84e docs 2021-12-08 23:18:38 -05:00
rusefillc e6e259c7d9 output channel name duplication fix #3681 2021-12-08 22:45:51 -05:00
Matthew Kennedy 1a618c9d6f
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 890cbd8cf2
remove define_constructor (#3640)
* no define_constructor

* jar

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

* jar
2021-11-28 23:46:48 -05:00
Matthew Kennedy f126302a0f
/bin/bash (#3635) 2021-11-28 23:46:37 -05:00
rusefillc 5eb3e76fb8 why so many channels are hidden in debug ? #3614 2021-11-28 23:09:24 -05:00
rusefillc bd48f83b73 why so many channels are hidden in debug ? #3614 2021-11-28 22:21:32 -05:00
rusefillc 8d2487ce2e why so many channels are hidden in debug ? #3614 2021-11-28 22:02:18 -05:00
rusefillc 86ff41cd17 refactoring: nicer API 2021-11-28 22:01:23 -05:00
rusefillc 76b746548c micro refactoring 2021-11-28 21:59:38 -05:00
rusefillc a24358f350 refactoring: nicer API 2021-11-28 21:18:21 -05:00
rusefillc 4c0631b2db automation around outputs section #197
datalog toolset
2021-11-28 17:55:33 -05:00
rusefillc 82397f149e Epic: Remove FSIO #2928 2021-11-28 17:31:38 -05:00
rusefillc 6a9a267314 automation around outputs section #197
datalog toolset
2021-11-28 17:04:46 -05:00
rusefillc 27e9540e78 automation around outputs section #197
datalog toolset
2021-11-28 16:36:30 -05:00
rusefillc 1bbe587716 automation around outputs section #197
datalog toolset
2021-11-28 14:40:16 -05:00
rusefillc 30ddb4fd22 automation around outputs section #197
datalog toolset
2021-11-28 14:10:13 -05:00
rusefillc 8674a8b830 automation around outputs section #197
datalog toolset
2021-11-28 13:57:56 -05:00
rusefillc d76d0f3326 automation around outputs section #197
refactoring: extract helper class & poke
2021-11-28 13:13:13 -05:00
rusefillc a6800cd384 automation around outputs section #197
refactoring: extract helper class
2021-11-28 13:04:51 -05:00
rusefillc 650527b1af automation around outputs section #197 2021-11-27 00:36:14 -05:00
Matthew Kennedy cdd27abb09
turn on c++ 20 (#3579)
* set flags

* emit initializers

* jar
2021-11-19 22:19:34 -05:00
rusefillc 1268129028 better error handling 2021-11-18 19:33:20 -05:00
rusefillc 7b99df46d0 docs 2021-11-18 19:19:22 -05:00
rusefillc 4e78a7f2d6 better error handling 2021-11-18 00:04:19 -05:00
Matthew Kennedy 14953c55dd
new parser handles enum values (#3492)
* simplify

* poke to force generate

* enums

* jar

* jar

* poke

* prepends formatted

* prepends

* eol

* eol

* allow no endl at eof

* Revert "eol"

This reverts commit 022029faef.

* Revert "eol"

This reverts commit 6274502db7.
2021-11-11 23:09:39 -05:00
rusefillc c2c335ea6d Bench Test IAC Valve fails #3534 2021-11-11 20:37:36 -05:00
rusefi 19fe90452a + symbol required to make TS tips show #3463
just to be
2021-11-10 16:10:55 -05:00
rusefillc 78b684945e fresh jar for https://github.com/rusefi/rusefi/pull/3518 2021-11-10 07:57:15 -05:00
Scott Smith 6b473bd168
Track ram4 sections too. (#3518) 2021-11-10 07:28:33 -05:00
Matthew Kennedy a3c569e5f0
TS parser improvements, compatibility (#3479)
* scalar layout

* wrong name in comments

* better compatibility for tooltips starting with + or not

* s

* sort of handle signature

* only strip nested

* new parse can mostly read signature

* oops

* jar

* jar
2021-11-06 18:17:03 -04:00
Matthew Kennedy a38b3f00c3
Remove array typedef syntax (#3477)
* remove array typedef support completely

* extraneous semicolon

* binary
2021-11-06 09:12:43 -04:00
Scott Smith 16378dcf59
Convert existing tables to use the simpler 3d table definition style in rusefi_config.txt (#3473)
This fixes #3465.
2021-11-05 21:55:33 -04:00
Scott Smith eb781f38b4
Determine the correct mul/div for autoscale from the TS config line instead of specifying it twice. (#3470) 2021-11-05 19:26:25 -04:00
Scott Smith 8e5d65978a
Add 3d table support to the java config file parser. (#3464)
This removes the need to use custom for 3d tables.  Syntax (to avoid changing the ANTLR parser) is
to use 'x' instead of separate [], i.e.:
        uint16_t[HPFP_TARGET_SIZE x HPFP_TARGET_SIZE] hpfpTarget;;"kPa", 1, 0, 0, 65000, 0
2021-11-05 14:27:32 -04:00
Matthew Kennedy 980a7cc833
autoscale fields in generated structs (#3444)
* add to grammar

* parser

* parser

* example consumer

* build config tool

* commit the right jar
2021-11-02 18:59:19 -04:00
rusefillc 7540f4f6cc parseCommentedOutEnumWithoutExplicitValues 2021-10-31 11:51:21 -04:00
rusefillc a8b922b008 https://rusefi.com/forum/viewtopic.php?f=19&t=2177 2021-10-28 13:11:32 -04:00
rusefillc d2b923edc8 https://rusefi.com/forum/viewtopic.php?f=19&t=2177
refactoring and test coverage
2021-10-28 13:02:08 -04:00
rusefillc f48d568be7 https://rusefi.com/forum/viewtopic.php?f=19&t=2177 2021-10-28 12:40:34 -04:00
rusefillc 0f5f0d7dd8 fixing Configuration Definition CI 2021-10-24 13:54:33 -04:00
rusefillc 4192aee6de generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-24 12:49:51 -04:00
rusefillc 23a3f4eef9 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-23 23:21:37 -04:00
rusefillc c45003060c generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-23 23:00:04 -04:00
rusefillc 94bfeec588 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-23 22:34:08 -04:00
rusefillc 4f681e1488 placing all logs into same folder 2021-10-23 21:00:54 -04:00
rusefillc 3882d3d824 placing all logs into same folder 2021-10-23 20:18:09 -04:00
rusefillc 5d5b4f0d56 Trigger setup in TS is highly confusing #3401
rabbit hole: integrating enums with TS templating
2021-10-23 20:09:10 -04:00
rusefillc 6e4c241d50 refactoring 2021-10-23 20:02:22 -04:00
rusefillc b5c122408c global static variable bad, dependency injection better 2021-10-23 19:41:45 -04:00
rusefillc d2f54daefd doc & greener code 2021-10-23 19:20:44 -04:00
rusefillc abadef0e96 enum reader progress 2021-10-20 22:01:50 -04:00
rusefillc ffc4e97ba5 enum reader progress 2021-10-20 21:46:43 -04:00
rusefillc 55a6de05ba validate field name duplicates at least sometimes 2021-10-16 23:02:06 -04:00
rusefillc eb91e23df1 refactoring 2021-10-16 22:13:35 -04:00
rusefillc 292173f818 progress - live doc generator works again! 2021-10-16 21:08:50 -04:00
rusefillc 315ae3d982 composition better than inheritance 2021-10-16 21:08:50 -04:00
rusefillc ed799501a8 probably progress 2021-10-16 20:44:07 -04:00
rusefillc 37db1559df Whatever we call it, whatever we implement it - we need live data / remote view into rusEFI actual state #3353
progress
2021-10-14 18:36:47 -04:00
rusefillc 1d76a667af fixing build 2021-10-14 17:10:11 -04:00
rusefillc 03fc9566ea fixing build 2021-10-14 17:09:26 -04:00
rusefillc 10582e1a9e refactoring 2021-10-14 16:40:43 -04:00
rusefillc eb6db5e5a4 Whatever we call it, no matter how we do it - we need live data / remote view into rusEFI actual state #3353
dead code
2021-10-14 14:11:52 -04:00
rusefillc 1886a42fe9 Whatever we call it, how ever we implement it - we need live data / remote view into rusEFI actual state #3353
this stuff is definitely dead code
2021-10-14 14:01:31 -04:00
rusefillc 83a7cb95ae GHA reliability: retry FTP upload #3011
refactoring: reducing code duplication
2021-10-09 01:46:29 -04:00
rusefillc 6a6dd45867 GHA reliability: retry FTP upload #3011 2021-10-09 01:41:28 -04:00
rusefillc b1a99c75d5 rusEFI console to compare current bundle against auto-DFU bundle #3266
putting signature into equation
2021-09-25 18:17:32 -04:00
Lenar Khannanov 424f69c42c
feat: migrated ts_plugin_launcher to gradle (#3176) 2021-08-18 17:02:42 -04:00
rusefillc 1d7b2726d7 was zero dwell warning at zero RPM now rusEFI online import/export error with tables #3153 2021-08-17 06:11:29 -04:00
Lenar Khannanov 47b5bd1f9d
Hotfix some java_tools gradle configs (#3165)
* fix: deleted mavenRepositories declaration

* fix: deleted unnecessary settings.gradle for enum_to_string

* fix: dependencies for junit, annotations, jsr305; feat: added new dependency for jsr305; fix: deleted settings.gradle for logging; fix: moved enum_to_string tests to test folder

* fix: deleted mavenRepositories declaration

* fix: deleted unnecessary settings.gradle for enum_to_string

* fix: dependencies for junit, annotations, jsr305; feat: added new dependency for jsr305; fix: deleted settings.gradle for logging; fix: moved enum_to_string tests to test folder

* fix: placed test classes to test folder in enum_to_string; feat: get updates from master
2021-08-16 23:52:52 +03:00
rusefillc c21623c356 progress 2021-08-16 10:21:14 -04:00
Lenar Khannanov 2043524e93
issue 3014 part 4 bin2header migration (#3163)
* feat: completed build.gradle for bin2header

* fix: deleted obsolete build.xml for bin2header
2021-08-16 09:55:18 -04:00
Lenar Khannanov 18ca33858f
Feat 3014 3 enum2string migration and logging and logging-api too (#3157)
* feat: completed working build.gradle for enum_to_string logging and logging-api; needed to rename jar and check it content carefully

* fix: added logging and logging-api dependencies to resulting jar file

* fix: deleted deprecated build.xml
2021-08-15 02:15:31 -04:00
Lenar Khannanov d374f7d57a
Feat 3014 2 logicdata2c version2header migration (#3135)
* feat: completed build.gradle for logicdata2c

* feat: completed build.gradle for version2header

* fix: deleted obsolete build.xml for logicdata2c and version2header
2021-08-11 18:12:39 -04:00
rusefillc 3ef821b9e6 fixing build? 2021-08-09 15:51:06 -04:00
Lenar Khannanov 636417140a
Feature 3014-1 Migrating gcc_map_reader to gradle (#3124)
* feat: completed build.gradle for gcc_map_reader

* feat: gcc_map_reader linked with android; deleted build.xml

* feat: added comment to clarify the purpose of redefining default paths

* fix: deleted .gitignore from gcc_map_reader

* fix: replaced 'compile' with 'compileClasspath' in dependencies of gcc_map_reader 'cause it deprecated in 6.1.1 gradle

* fix: bolder approach to migration to gradle

* fix: use junit from maven not local

* fix: deleted local junit library
2021-08-09 21:21:52 +03:00
rusefillc a55a3cc2d8 making IDEA happier? 2021-08-08 05:06:09 -04:00
Lenar Khannanov 555d9dfe4e
Feature 3014 migrating to gradle (#3079)
* feat: restructured autotest for migrating to gradle

* feat: restructured enum_to_string for migrating to gradle

* feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml

* feat: restructured logging for migrating to gradle; fix: corrected build.xml's

* feat: restructured romraider for migrating to gradle; fix: corrected build.xml's

* feat: restructured autotest for migrating to gradle

* feat: restructured enum_to_string for migrating to gradle

* feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml

* feat: restructured logging for migrating to gradle; fix: corrected build.xml's

* feat: restructured romraider for migrating to gradle; fix: corrected build.xml's

* feat: restructured autotest for migrating to gradle

* feat: restructured enum_to_string for migrating to gradle

* feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml

* feat: restructured logging for migrating to gradle; fix: corrected build.xml's

* feat: restructured romraider for migrating to gradle; fix: corrected build.xml's

* feat: restructured enum_to_string for migrating to gradle

* fix: corrected main build.xml

* fix: corrected main build.xml for romraider

* fix: corrected main build.xml for romraider

* feat: restructured autotest for migrating to gradle

* feat: restructured enum_to_string for migrating to gradle

* feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml

* feat: restructured logging for migrating to gradle; fix: corrected build.xml's

* feat: restructured romraider for migrating to gradle; fix: corrected build.xml's

* feat: restructured enum_to_string for migrating to gradle

* fix: corrected main build.xml

* fix: corrected main build.xml for romraider

* fix: corrected main build.xml for romraider

* feat: restructured enum_to_string for migrating to gradle

* feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml

* upd: get changes from master; fix: rebasing conflicts

* feat: restructured logging for migrating to gradle; fix: corrected build.xml's

* upd: up-to-master; fix: conflicts in build.xml's

* feat: restructured logging for migrating to gradle; fix: corrected build.xml's

* fix: conflicts from master

* feat: restructured shared_ui module for gradle; fix: main build.xml

* feat: restructured tools module; fix: main build.xml according to new structure

* feat: restructured modules in java_tools with build.xml; fix: corrected paths in build.xml's and .iml's according to the new structure; corrected path in gen_ptrace_enums.bat
2021-07-30 08:15:32 -04:00
rusefillc a42569382c https://github.com/rusefi/rusefi/issues/3053 2021-07-24 13:04:07 -04:00
Matthew Kennedy 0f0b84a6db
remove TS file read (#3004)
* remove

* more defines

* test

* lots of java

* s
2021-07-21 14:24:53 -04:00
rusefillc af73cd4b66 docs 2021-07-19 01:12:49 -04:00
rusefillc 80e345d503 docs 2021-07-13 09:01:08 -04:00
David Holdeman 5582518a04
ConfigDefinition stuff (#2940)
* add check for empty string

* try catching duplicates, while allowing same id on a pin

* js brain

* fixes

* fixes

* comment out

* build

* bump submo

* comment
2021-07-09 22:07:07 -04:00
rusefi 9fcca87332 extra state validation is needed 2021-07-09 01:11:20 -04:00
rusefi 8cde88aa31 refactoring 2021-07-09 00:28:03 -04:00
rusefillc 62ce798c0b human readable warning codes into TS #2898
preparation
2021-07-03 21:01:42 -04:00
rusefillc 7d7115d0d7 MRE same pin or not? #2897 2021-07-02 18:22:13 -04:00
rusefillc a27edf50fb H64 uses GPIOD_12 twice why does it not fail? #2877 2021-07-02 13:15:48 -04:00
rusefillc 5608caf6fc H64 uses GPIOD_12 twice why does it not fail? #2877
only code clean-up no functional changes
2021-07-02 13:11:11 -04:00
Matthew Kennedy 20ed673915
multi dim arrays (#2867) 2021-06-26 20:16:31 -04:00
Matthew Kennedy 3f99110467
new parse: write C structs (#2852)
* fix offsets inside struct arrays

* style

* fix index writing for arrays of structs

* write TS context comments

* cleanup

* ts writer copies all lines input -> output

* Add _hex and _char definitions

* definition tostring

* replace variables

* wire up firing order replacement

* c struct writer

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-24 19:43:56 -04:00
Matthew Kennedy 12bd5bdf2b
new parse: read rusefi.input, write almost-working output ini! (#2851)
* fix offsets inside struct arrays

* style

* fix index writing for arrays of structs

* write TS context comments

* cleanup

* ts writer copies all lines input -> output

* Add _hex and _char definitions

* definition tostring

* replace variables

* wire up firing order replacement

* jar
2021-06-24 16:36:30 -04:00
Matthew Kennedy 563c3d8c62
new parse: write TS tooltip comments (#2850)
* fix offsets inside struct arrays

* style

* fix index writing for arrays of structs

* write TS context comments

* cleanup
2021-06-24 15:54:04 -04:00
Matthew Kennedy 947e364d75
new parsing: fix names of arrays of structs (#2849)
* fix offsets inside struct arrays

* style

* fix index writing for arrays of structs
2021-06-24 05:13:06 -04:00
David Holdeman 81d38068d8
Yaml parsing refactor (#2842)
* throw error on unknown class

* build

* refactor, first try

* fix some errors

* fix some errors

* fix some errors

* fix some errors

* fix some errors

* build

* start at one more

* checks, minor refactor

* try toString

* check for null, idk

* try throwing class not found error

* oh duh

* oh duh numba two

* oh duh numba three

* build

* switch to switch_inputs

* switch output to outputs

* try

* build

* break loop when found

* fix maybe

* add missing s

* fix a bug

* move nothingname check

* catch other class

* use PinType
2021-06-21 19:10:25 -04:00
rusefillc 9d3f628f97 Yaml parsing refactor #2842 2021-06-20 22:55:48 -04:00
Matthew Kennedy aa8bfe0020
parse enums (#2832)
* enums and definitions

* bad merge

* txt format

* endBit

* handle 1-size arrays

* strings

* fix auto enum

* hard code 0 and 1

* jar

* jar
2021-06-20 17:35:31 -04:00
Matthew Kennedy b3e47b493b
fix dependencies (#2835) 2021-06-18 22:53:13 -04:00
Matthew Kennedy 6915efd500
config gen layout fixes (#2829)
* grammar and libs

* gitignore

* parsing

* allow empty line as root statement

* tolerate #if

* config def changes

* s

* ant build

* workaround

* compiled tool

* grammar for unions

* parse unions

* layout logic

* fix union alignment

* union in config

* enable definition resolve

* testing

* zero init behavior

* bit fields respect custom options

* ts prints arrays correctly

* ts prints structs correctly

* auto round numbers

* cleanup

* bad merge

* bad merge

* jar

* kick
2021-06-18 16:58:04 -04:00
Matthew Kennedy d57ea124a1
cleanup for easier ini compare (#2830)
* remove dot zero

* don't parse as double

* minor formatting

* Revert "don't parse as double"

This reverts commit f2427927f7.

* expect integer "1"

* jar
2021-06-18 15:43:16 -04:00
Matthew Kennedy e7e9ab0d5c
Antlr 2 (#2823)
* grammar and libs

* gitignore

* parsing

* allow empty line as root statement

* tolerate #if

* config def changes

* s

* ant build

* workaround

* compiled tool

* grammar for unions

* parse unions

* layout logic

* fix union alignment

* union in config

* jar

* comment

* jar

* jar

* no prefix on root struct

* stray space

* normalize some enums
2021-06-18 12:31:23 -04:00
Matthew Kennedy 2c6b8ae3c6
parse with antlr (#2747)
* grammar and libs

* gitignore

* parsing

* allow empty line as root statement

* tolerate #if

* config def changes

* s

* ant build

* workaround

* compiled tool

* console should not build config def tool

* ugh the dependency tree is insane

* this should fix hw ci

* console build

* console jenkins script

* test

* Revert "test"

This reverts commit 73f2da50f9.

* throw on parse failure

* jar

* fix #2821

* comment
2021-06-16 17:07:05 -04:00
Matthew Kennedy 8dec425cec
smarter enum file parsing (#2765)
* enumInputFiles

* fix
2021-05-30 19:24:52 -04:00
rusefillc fda22ad749 minor code refactoring, same exact logic 2021-05-20 20:02:25 -04:00
Matthew Kennedy 84368cae10
Config generator jar (#2716)
* fix test

* jar

* kick config

* guard stuff

* nmea

* nmea

* nmea

* c++ is type safe, which is good

* c++ is type safe
2021-05-17 12:32:59 +03:00
Matthew Kennedy 0ea1f15ca3
compile gpiochips as cpp (#2702)
* rename

* core

* structing

* more

* makefile

* structing

* 6240 compiles

* explicit cast instead of implicit narrowing

* 8888

* no extern C

* fix tests build

* extern "C"

* 33810

* 8860

* 33810

* linker

* unbreak master

* don't need that if compiling as C++

* bump config

* fix test

* tests

* unit tests bad merge

* build

* move subaru logic to cpp file

* cpp goodness

* hpp include

* this is probably the right thing to do

* simulator
2021-05-17 08:42:56 +03:00
rusefillc 0c6ec8fb29 gen_config.sh code duplication #2451
David saw dead code
2021-05-11 22:00:36 -04:00
rusefillc 969609f3e3 gen_config.sh code duplication #2451
docs
2021-05-09 13:16:18 -04:00
David Holdeman 550517eb6c
Fix config CI (#2638)
* add yaml to inputFiles

* add jar
2021-05-06 23:12:05 -04:00
rusefillc e32ec60dbe Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077 2021-05-06 10:44:14 -04:00
rusefillc d10115ae5c h64 more better error handling 2021-05-01 15:40:27 -04:00