Commit Graph

934 Commits

Author SHA1 Message Date
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 4cadc95811 User board-specific terms in error messages #3886
refactoring - explicit PinState class
2022-02-03 13:03:05 -05:00
rusefillc cb35a832a7 User board-specific terms in error messages #3886
just refactoring for now
2022-02-03 12:15:37 -05:00
rusefillc 345a03b309 User board-specific terms in error messages #3886
just refactoring for now
2022-02-03 12:15:02 -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 8343816772 better C++ enum handling 2022-01-27 16:51:58 -05:00
rusefillc a54410f297 assert that C and TS enum sizes match #3786
is this test testing anything?
2022-01-14 22:44:22 -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 0b149fc05d lib 2022-01-12 21:14:08 -05:00
rusefillc 6240d83d5c fresh antlr 2022-01-11 16:39:47 -05:00
rusefillc 556f230800 fresh antlr (#3774)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-01-11 16:33:59 -05:00
rusefillc ca6b7bba23 Live Data progress 2022-01-06 17:58:59 -05:00
rusefillc e963a3fe74 migrate configuration_definition to gradle #3746 2022-01-06 05:26:05 -05:00
rusefillc 2065299abc AlphaX 2022-01-05 16:08:10 -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 3bda42926b grumbling 2022-01-05 00:19:50 -05:00
rusefillc dbbbbf751a minor refactoring 2022-01-05 00:19:50 -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 aaebcad942 rusefi console - troubles with 'online' - java 11 does not hava JAXB #3128 2021-12-22 16:01:00 -05:00
rusefillc 9cf44dfdec better error message 2021-12-20 02:06:24 -05:00
rusefillc c213a842c0 clutch input via CAN #3605 2021-12-15 20:22:56 -05:00
rusefillc d5f8abb508 clutch input via CAN #3605 2021-12-15 20:11:23 -05:00
rusefillc 460a972d41 clutch input via CAN #3605 2021-12-15 20:11:23 -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 a3914c59cb Lua to read tsOutputs #3376 2021-12-12 23:17:56 -05:00
rusefillc 8485377236 Lua to read tsOutputs #3376 2021-12-12 22:42:57 -05:00
rusefillc 546b8c655b Lua to read tsOutputs #3376 2021-12-11 20:53:51 -05:00
rusefillc bb68230233 refactoring 2021-12-11 13:00:33 -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 c221a9c893 extra coverage 2021-12-11 03:54:12 -05:00
rusefillc 7bc46cf448 code generator: unifying size logic 2021-12-11 03:50:28 -05:00
rusefillc 3d33f45ab2 docs 2021-12-11 03:40:24 -05:00
rusefillc 2b9e3df449 fresh jar 2021-12-09 21:53:11 -05:00
rusefillc 1b2485a6d9 random clean-up and more explicit handing of 33 bits in a row 2021-12-09 21:42:14 -05:00
rusefillc c1155671a3 refactoring: hiding 'prev' logic a bit deeper 2021-12-09 21:42:06 -05:00
rusefillc 7ed2dadf82 fresh jar 2021-12-09 17:41:46 -05:00
rusefillc abc2d94214 toString 2021-12-09 17:41:18 -05:00
rusefillc 90e54bc348 unit test coverage for conditional structure 2021-12-09 17:41:08 -05:00
rusefillc 5dde76ee6a docs 2021-12-08 23:18:38 -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
Matthew Kennedy 04333f61f3 /bin/bash (#3635) 2021-11-28 23:46:37 -05:00
rusefillc 11fdd6658b why so many channels are hidden in debug ? #3614 2021-11-28 23:09:24 -05:00
rusefillc 057bcba5cd why so many channels are hidden in debug ? #3614 2021-11-28 22:21:32 -05:00
rusefillc 166c5c7a3c why so many channels are hidden in debug ? #3614 2021-11-28 22:02:18 -05:00
rusefillc ed949eb4ed refactoring: nicer API 2021-11-28 22:01:23 -05:00
rusefillc 27cde1ca38 micro refactoring 2021-11-28 21:59:38 -05:00
rusefillc c670931414 refactoring: nicer API 2021-11-28 21:18:21 -05:00
rusefillc e61a6add76 automation around outputs section #197
datalog toolset
2021-11-28 17:55:33 -05:00
rusefillc e3887b35c3 Epic: Remove FSIO #2928 2021-11-28 17:31:38 -05:00
rusefillc 8465c920a2 automation around outputs section #197
datalog toolset
2021-11-28 17:04:46 -05:00
rusefillc f72f081cc2 automation around outputs section #197
datalog toolset
2021-11-28 16:36:30 -05:00
rusefillc da4f41ce3e automation around outputs section #197
datalog toolset
2021-11-28 14:40:16 -05:00
rusefillc 6fcb42a258 automation around outputs section #197
datalog toolset
2021-11-28 14:10:13 -05:00
rusefillc ed25799de8 automation around outputs section #197
datalog toolset
2021-11-28 13:57:56 -05:00
rusefillc 37e0a6b8d4 automation around outputs section #197
refactoring: extract helper class & poke
2021-11-28 13:13:13 -05:00
rusefillc abcffad9be automation around outputs section #197
refactoring: extract helper class
2021-11-28 13:04:51 -05:00
rusefillc 2cd8863492 automation around outputs section #197 2021-11-27 00:36:14 -05:00
Matthew Kennedy a79b0c424c turn on c++ 20 (#3579)
* set flags

* emit initializers

* jar
2021-11-19 22:19:34 -05:00
rusefillc 1a7eecbf01 better error handling 2021-11-18 19:33:20 -05:00
rusefillc 224090dfec docs 2021-11-18 19:19:22 -05:00
rusefillc 1b0acc0b86 better error handling 2021-11-18 00:04:19 -05:00
Matthew Kennedy 4f9df2a110 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 022029faef338281b1a3551f82e46c4b6a7578a5.

* Revert "eol"

This reverts commit 6274502db740569235210916fde4ec84863d7fb3.
2021-11-11 23:09:39 -05:00
rusefillc 13fd3db6c9 Bench Test IAC Valve fails #3534 2021-11-11 20:37:36 -05:00
rusefi d98c27e3a9 + symbol required to make TS tips show #3463
just to be
2021-11-10 16:10:55 -05:00
rusefillc d76a94b80c fresh jar for https://github.com/rusefi/rusefi/pull/3518 2021-11-10 07:57:15 -05:00
Scott Smith 1745ef66ef Track ram4 sections too. (#3518) 2021-11-10 07:28:33 -05:00
Matthew Kennedy e7f8b0d938 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 ec5d3f437f Remove array typedef syntax (#3477)
* remove array typedef support completely

* extraneous semicolon

* binary
2021-11-06 09:12:43 -04:00
Scott Smith 61fd669add 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 2ffcc2bb45 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 09569e8686 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 4717210859 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 408cf5309a parseCommentedOutEnumWithoutExplicitValues 2021-10-31 11:51:21 -04:00
rusefillc 1de473ed2d https://rusefi.com/forum/viewtopic.php?f=19&t=2177 2021-10-28 13:11:32 -04:00
rusefillc 6af0b47c99 https://rusefi.com/forum/viewtopic.php?f=19&t=2177
refactoring and test coverage
2021-10-28 13:02:08 -04:00
rusefillc 4fe780bbbb https://rusefi.com/forum/viewtopic.php?f=19&t=2177 2021-10-28 12:40:34 -04:00
rusefillc dce576aceb fixing Configuration Definition CI 2021-10-24 13:54:33 -04:00
rusefillc 6878445be4 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-24 12:49:51 -04:00
rusefillc c4576200fe generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-23 23:21:37 -04:00
rusefillc ee0db90107 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-23 23:00:04 -04:00
rusefillc 6e909d4467 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-23 22:34:08 -04:00
rusefillc 699c807bb1 placing all logs into same folder 2021-10-23 21:00:54 -04:00
rusefillc b125fa4a0e placing all logs into same folder 2021-10-23 20:18:09 -04:00
rusefillc 41aacc5503 Trigger setup in TS is highly confusing #3401
rabbit hole: integrating enums with TS templating
2021-10-23 20:09:10 -04:00
rusefillc 84879c3049 refactoring 2021-10-23 20:02:22 -04:00
rusefillc d798322e19 global static variable bad, dependency injection better 2021-10-23 19:41:45 -04:00
rusefillc a2f38dd4a8 doc & greener code 2021-10-23 19:20:44 -04:00
rusefillc 99fe3335af enum reader progress 2021-10-20 22:01:50 -04:00
rusefillc 024ba1ded4 enum reader progress 2021-10-20 21:46:43 -04:00
rusefillc 3de3dee1fa validate field name duplicates at least sometimes 2021-10-16 23:02:06 -04:00
rusefillc a44d6d3f0f refactoring 2021-10-16 22:13:35 -04:00
rusefillc 86db25f94a progress - live doc generator works again! 2021-10-16 21:08:50 -04:00
rusefillc e8464e212c composition better than inheritance 2021-10-16 21:08:50 -04:00
rusefillc bc4e36735e probably progress 2021-10-16 20:44:07 -04:00
rusefillc 3ae6e3de60 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 7ac1756b9a fixing build 2021-10-14 17:10:11 -04:00
rusefillc d75b526c2d fixing build 2021-10-14 17:09:26 -04:00
rusefillc 636f7dec71 refactoring 2021-10-14 16:40:43 -04:00
rusefillc 0dcb899348 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 657412bde6 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 bcc52347c4 GHA reliability: retry FTP upload #3011
refactoring: reducing code duplication
2021-10-09 01:46:29 -04:00
rusefillc e936da5a36 GHA reliability: retry FTP upload #3011 2021-10-09 01:41:28 -04:00
rusefillc 1be3343c2c 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 1735ed67ee feat: migrated ts_plugin_launcher to gradle (#3176) 2021-08-18 17:02:42 -04:00
rusefillc 5dd912fb53 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 a334f0d23f 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 941e81fd4f progress 2021-08-16 10:21:14 -04:00
Lenar Khannanov a2596223ea 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 62b62e2627 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 02dda90f44 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 955a6e5c55 fixing build? 2021-08-09 15:51:06 -04:00
Lenar Khannanov eebb37c180 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 094e526628 making IDEA happier? 2021-08-08 05:06:09 -04:00
Lenar Khannanov 2347858d70 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 a364a5f105 https://github.com/rusefi/rusefi/issues/3053 2021-07-24 13:04:07 -04:00
Matthew Kennedy 0fde085a44 remove TS file read (#3004)
* remove

* more defines

* test

* lots of java

* s
2021-07-21 14:24:53 -04:00
rusefillc b42a02d774 docs 2021-07-19 01:12:49 -04:00
rusefillc 499ac6d9cb docs 2021-07-13 09:01:08 -04:00
David Holdeman 127a638502 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 3472002b30 extra state validation is needed 2021-07-09 01:11:20 -04:00
rusefi 021a21a1b6 refactoring 2021-07-09 00:28:03 -04:00
rusefillc 5438bb5a4b human readable warning codes into TS #2898
preparation
2021-07-03 21:01:42 -04:00
rusefillc fcd1ede72f MRE same pin or not? #2897 2021-07-02 18:22:13 -04:00
rusefillc cc13245488 H64 uses GPIOD_12 twice why does it not fail? #2877 2021-07-02 13:15:48 -04:00
rusefillc ee6cbc20fc 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 1e7b50bea9 multi dim arrays (#2867) 2021-06-26 20:16:31 -04:00
Matthew Kennedy 3bb93f2107 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 55d2231ccc 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 40466e1e6f 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 8f1a55e122 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 34095492d1 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 639ce86835 Yaml parsing refactor #2842 2021-06-20 22:55:48 -04:00
Matthew Kennedy f28c10e87f 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 c473f44904 fix dependencies (#2835) 2021-06-18 22:53:13 -04:00
Matthew Kennedy b6195fcc55 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 14e1aeac53 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 f2427927f7df0f5fa27ed66c888009e3a3da8412.

* expect integer "1"

* jar
2021-06-18 15:43:16 -04:00
Matthew Kennedy d3d6c1694a 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 5ae4af23fe 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 73f2da50f990bee9b51a1f919e8fcc6b06327d9a.

* throw on parse failure

* jar

* fix #2821

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

* fix
2021-05-30 19:24:52 -04:00
rusefillc 50636dbe17 minor code refactoring, same exact logic 2021-05-20 20:02:25 -04:00
Matthew Kennedy f6ddc2c17c 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 4b69e7d441 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 b9ebb6b9b9 gen_config.sh code duplication #2451
David saw dead code
2021-05-11 22:00:36 -04:00
rusefillc 4f01d63520 gen_config.sh code duplication #2451
docs
2021-05-09 13:16:18 -04:00
David Holdeman 9eb4698184 Fix config CI (#2638)
* add yaml to inputFiles

* add jar
2021-05-06 23:12:05 -04:00
rusefillc 166afe76bb Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077 2021-05-06 10:44:14 -04:00
rusefillc 84441c1dcb h64 more better error handling 2021-05-01 15:40:27 -04:00
rusefillc c2721985b0 config definition better error handling 2021-05-01 15:12:39 -04:00
rusefillc 8ae708d68e helping build 2021-04-30 16:05:35 -04:00
rusefillc 3c4cdb4300 Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077 2021-04-30 01:45:35 -04:00
rusefillc c492d91c86 fresh enum2string 2021-04-30 01:32:53 -04:00
rusefillc de72978255 Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077 2021-04-30 01:05:23 -04:00
rusefillc 9825e011ee random clean-up 2021-04-30 00:22:40 -04:00
rusefillc 9f22f17dde random docs 2021-04-29 22:36:21 -04:00
rusefillc f47bac2417 code style 2021-04-29 22:36:20 -04:00
rusefillc 8bd064901c Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077
moving methods
2021-04-29 21:45:35 -04:00
rusefillc efa91e755f Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077
some pretty dead code and moving methods
2021-04-29 21:30:49 -04:00
rusefillc f97e162e04 Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077
only extracting methods without any changes to the logic
2021-04-29 21:15:51 -04:00
rusefillc a577968dd9 Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077 2021-04-29 17:35:50 -04:00
rusefillc f80f165cdb Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077 2021-04-29 17:20:54 -04:00
rusefillc 5b02073b20 field type into header comment 2021-04-26 17:51:29 -04:00
rusefillc 8ba2658406 is gen_config invoked too often now? #2387 2021-03-12 22:25:03 -05:00
rusefillc dbe084bd22 is gen_config invoked too often now? #2387
unzip is complicated
2021-03-05 21:39:26 -05:00
rusefillc 6dd6f936b6 is gen_config invoked too often now? #2387
how about we do not trust anyone to properly handle EOL CRLF?
2021-03-05 20:35:53 -05:00
rusefillc 99503ccb5c cAsE of rusEFI 2021-03-02 22:14:06 -05:00
rusefi 8ce70479f6 TS does not support zero length arrays? #2366 2021-02-16 17:25:52 -05:00
rusefillc b00283511c refactoring 2021-02-10 20:36:56 -05:00
rusefillc f7ad1ae8b7 code generator: better handing of array size 1 2021-02-08 23:47:48 -05:00
rusefillc 8adc54e530 trying to help kinetis by reducing RAM usage back to where it was 2021-02-08 23:21:34 -05:00
rusefillc 9e878b05d5 spaces into multiplication 2021-02-01 12:11:00 -05:00
Matthew Kennedy f70750ca60 Remove whitespace (#2246)
* don't tab in fields

* jar
2021-01-27 15:44:52 -05:00
Matthew Kennedy c309d1a555 normalize configuration grammar (#2240)
* modify grammar

* add missing typedefs

* these typedefs are easier to handle in the parser

* make the existing parser work with the changed format

* grumble grumble jar

* we can deal with this part later

* handle later

* deal with this later
2021-01-26 21:56:47 -05:00
David Holdeman 928b8ce70a New board pin-mapping system (#2231)
* convert mre mapping

* convert mre mapping

* funny stuff for GPIOA_5

* move class next to id

* rough draft

* update scripts

* fix some errors

* fix some errors

* try

* check against null

* try amp

* try

* try

* fix some errors

* update scripts

* fix maybe

* fix maybe 2

* fix maybe

* fix maybe

* fix

* try

* fix

* use .equals

* use StringBuilder

* use instanceof

* use .max

* remove getMaxValue

* Suppress Warning

* major optimization

* fix maybe

* off-by-one error

* move yaml file loop

* add j2 connector

* add pads yaml

* check for null or empty

* add AV pins to pads

* forgot class

* move registerpins out of loop

* fix typo

* rebase

* check if string

* convert frankenso

* convert frankenso

* tyop

* missing class

* copy mre to skel

* remove prometheus yaml

* remove kinetis yaml

* build configDefinition

* replace var with string

* slight refactor
2021-01-22 12:03:14 -05:00
rusefillc 1bdf1f96ac https://github.com/rusefi/KiCad-utils 2021-01-02 01:10:53 -05:00
rusefillc 32cab6f43b https://github.com/rusefi/KiCad-utils 2021-01-02 01:01:09 -05:00
rusefillc bf54c31e93 https://github.com/rusefi/KiCad-utils 2021-01-02 00:35:31 -05:00
rusefillc f05da4b60d https://github.com/rusefi/KiCad-utils 2021-01-02 00:08:12 -05:00
rusefillc da0289fe21 https://github.com/rusefi/KiCad-utils 2021-01-02 00:04:31 -05:00
rusefillc 186ca14c19 https://github.com/rusefi/KiCad-utils 2021-01-02 00:03:08 -05:00
rusefillc ebeec32676 Add #if/#else/#endif support to gen_config #1928 2020-11-05 08:04:04 -05:00
andreika-git 3acf0bfe14 add #if/#else/#endif support to gen_config (#1928)
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-11-05 07:59:47 -05:00
rusefi b5894b1253 SD download panel progress 2020-10-11 17:46:51 -04:00
rusefillc 92f4e1ba22 gauge poking is needed after local application is disconnected same as before it's connected 2020-10-09 00:30:13 -04:00
rusefillc 3b139c1632 please die on close 2020-10-08 23:23:45 -04:00
rusefillc b1c0b72aa7 SD card logs not valid for REO #1864 2020-10-08 20:17:32 -04:00
rusefillc a3834fb9db remote: update to release feature 2020-10-07 20:07:10 -04:00
rusefillc acc918a1d9 remote: update to release feature 2020-10-07 19:44:06 -04:00
rusefillc a67deb7116 helping build 2020-10-07 19:22:39 -04:00
rusefillc c9c7533ab0 remote SD download works once proper thread synchronization added 2020-10-06 23:37:44 -04:00
rusefillc 6c165a3ad9 idle time 2020-10-06 23:05:16 -04:00
rusefillc 804d276126 L&F 2020-10-06 22:48:46 -04:00
rusefillc 100763ea7b better logging in proxy 2020-10-05 23:41:16 -04:00
rusefillc 1b9eee0357 .ini for remote controller 2020-10-04 19:12:46 -04:00
rusefillc 4b17adf185 .ini for remote controller 2020-10-04 18:55:23 -04:00
rusefillc e61777c737 REO progress 2020-10-03 13:51:51 -04:00
rusefillc a2ca68fc35 'detect' command to print link to .ini 2020-10-02 21:13:34 -04:00
rusefillc 8d8a7ec5b8 Remote Update to Release #1845 2020-10-02 20:49:34 -04:00
rusefi 0a039ffb8e better logging 2020-10-01 00:51:12 -04:00
rusefi 001d2116d2 refactoring 2020-10-01 00:31:26 -04:00
rusefi 0d48942551 better logging 2020-09-30 23:43:20 -04:00
rusefi 70e23dafbf remote SD card access 2020-09-30 23:40:22 -04:00
David Holdeman 02a12d76f3 fix type mismatch (#1808)
* fix type mismatch

* comment

* change field

* switch to efitimesec16_t

* add typedef

* add type to configdefinition

* build
2020-09-19 17:17:44 -04:00
rusefi 029ff621e3 REO - local ip into session info 2020-08-30 16:17:21 -04:00
rusefi 16f1d5a31b Tokenisation of multipler expressions #1735 2020-08-30 15:31:22 -04:00
rusefi 586264e58b https://github.com/rusefi/web_backend/issues/97 2020-08-30 14:58:05 -04:00
rusefi b946a0aaea https://github.com/rusefi/web_backend/issues/97
base line unit test
2020-08-30 14:50:13 -04:00
rusefi c86b203607 remote firmware request 2020-08-30 01:23:12 -04:00
rusefi cee1c44577 remote firmware request 2020-08-30 01:15:18 -04:00
rusefi 28a9d94cc3 helping build 2020-08-30 00:44:51 -04:00
rusefi b5760072e0 bugfix - connector was hanging after software update request 2020-08-30 00:42:30 -04:00
rusefi 21c525bb8b update connector button progress 2020-08-30 00:39:08 -04:00
rusefi 3736b3260a remote tab misc progress 2020-08-30 00:21:34 -04:00
rusefi 65ab99999c bugfix NPE on start-up with not opened project 2020-08-16 20:26:12 -04:00
rusefi f5f7d3f6fa better logging 2020-08-16 18:02:10 -04:00
rusefi 82d7fc341c progress 2020-08-16 00:32:10 -04:00
rusefi a27b071c5b fixing build 2020-08-16 00:24:36 -04:00
rusefi 3de0995c68 usability 2020-08-16 00:17:31 -04:00
rusefi a45611ef80 helping build 2020-08-15 22:44:02 -04:00
rusefi c711ceb7e3 hiding things from Android 2020-08-15 22:35:48 -04:00
rusefi 9d5d086bca one step backwards since XMLEncoder not available on Android? 2020-08-15 22:20:52 -04:00
rusefi d2f199a04c fixing build 2020-08-15 21:08:50 -04:00
rusefi ea5c52c4f3 refactoring 2020-08-15 20:37:56 -04:00
rusefi dec73c5649 REO progress 2020-08-15 15:34:50 -04:00
rusefi a8e9e343fc REO progress 2020-08-15 12:24:57 -04:00
rusefi 000b83d3f8 REO progress 2020-08-15 12:08:20 -04:00
rusefi c513dc8272 REO progress 2020-08-15 11:14:54 -04:00
rusefi 6e07bd29e8 REO progress 2020-08-15 10:52:48 -04:00
rusefi 4898cbb560 REO progress 2020-08-14 23:46:31 -04:00
rusefi e249d19077 REO progress 2020-08-14 23:34:53 -04:00
rusefi 4d003ebe78 REO progress 2020-08-14 21:10:30 -04:00
rusefi b252b777c6 REO progress 2020-08-14 20:46:36 -04:00
rusefi 1a37cf53f8 REO progress 2020-08-14 20:22:17 -04:00
rusefi 9a77beddaa https://github.com/rusefi/web_backend/issues/73
toolset progress
2020-08-14 16:20:10 -04:00
rusefi 92f0b76869 https://github.com/rusefi/web_backend/issues/73
toolset progress
2020-08-14 15:56:59 -04:00
rusefi 6990980273 toolset progress 2020-08-14 15:38:56 -04:00
rusefi 1df691d6fe toolset progress 2020-08-14 15:27:27 -04:00
rusefi 7b6ca4f242 refactoring: static bad 2020-08-14 13:54:27 -04:00
rusefi 5537e03cf0 helping build 2020-08-12 22:58:16 -04:00
rusefi 2d50dffbda log upload tab 2020-08-12 20:37:37 -04:00
rusefi ccba3c9e1b clean-up 2020-08-12 16:19:58 -04:00
rusefi 9c5a626c08 better field name 2020-08-12 15:54:38 -04:00
rusefi 841afff40e upload usability 2020-08-12 15:40:10 -04:00
rusefi 4a13600cdd better messages 2020-08-10 22:12:38 -04:00
rusefi a91f72cecc TS SD integration #1653 2020-08-07 21:26:13 -04:00
rusefi 518366a101 TS SD integration #1653 2020-08-07 21:13:39 -04:00
rusefi e90ffb31a3 TS SD integration #1653 2020-08-07 20:48:01 -04:00
rusefi 11c9a6b80f TS SD integration #1653 2020-08-07 20:41:50 -04:00
rusefi e60bb66239 TS SD integration #1653 2020-08-07 20:29:42 -04:00
rusefi 413e9d60ec TS SD integration #1653 2020-08-07 20:19:23 -04:00
rusefi f5f7fd10c4 TS SD integration #1653 2020-08-07 20:07:29 -04:00
rusefi c19d813310 TS SD integration #1653 2020-08-07 19:51:37 -04:00
rusefi 2051551617 TS SD integration #1653 2020-08-07 17:20:16 -04:00
rusefi 6eecba28b1 TS SD integration #1653 2020-08-07 16:37:36 -04:00
rusefi 7ce6eb2e1b TS SD integration #1653 2020-08-07 15:01:25 -04:00
rusefi 8d0f47b940 TS SD integration #1653 2020-08-07 00:59:00 -04:00
rusefi ba6c490cb6 TS SD integration #1653 2020-08-06 23:34:47 -04:00
rusefi 8f2f8bc132 TS SD integration #1653 2020-08-06 01:15:41 -04:00
rusefi 317738a335 Console commands are broken #1671 2020-08-05 19:51:43 -04:00
rusefi 84134c67ca Console commands are broken #1671
code generator test coverage
2020-08-05 19:27:23 -04:00
rusefi 58fd607899 TS SD integration #1653 2020-08-05 19:13:41 -04:00
rusefi 5c7dbd8810 TS SD integration #1653 2020-08-05 00:11:52 -04:00
rusefi b4ec2347e6 TS SD integration #1653 2020-08-05 00:04:02 -04:00
rusefi 0b57bd8390 progress 2020-08-04 23:18:35 -04:00
rusefi 385a3a9fa1 progress 2020-08-04 22:51:27 -04:00
rusefi 222bd56c3e that's a tiny problem 2020-08-04 19:25:32 -04:00
rusefi 7b91073f31 TS SD integration #1653 2020-08-04 19:10:40 -04:00
rusefi 3105eb9192 The Big Refactoring of 2019: folder structure #723 2020-08-02 21:04:50 -04:00
rusefi 0944e0ff6d stats into JSON 2020-07-30 23:44:36 -04:00
rusefi 8a1fe34270 UI to show bytes flow 2020-07-30 21:07:50 -04:00
rusefi f7146b3899 proxy progress 2020-07-30 20:34:21 -04:00
rusefi 9d30a4a16c https://github.com/rusefi/web_backend/issues/89
fixing at least some issues
2020-07-29 20:37:04 -04:00
rusefi d6f5dd61aa new command line tool: read_tune 2020-07-29 19:25:25 -04:00
rusefi bf771cfc55 more info 2020-07-28 00:58:03 -04:00
rusefi 8071a448e1 bugfix: unhandled exception if trying to run two instances of console 2020-07-27 21:23:03 -04:00
rusefi 07f317c3fe broadcast tab seems to work now?! 2020-07-27 00:54:48 -04:00
rusefi 6dace7ce0d broadcast tab seems to work now?! 2020-07-27 00:48:04 -04:00
rusefi c0878620c3 code comments 2020-07-27 00:16:38 -04:00
rusefi 70ca17b155 https://github.com/rusefi/web_backend/issues/83 2020-07-26 16:58:53 -04:00
rusefi 549afd5354 https://github.com/rusefi/web_backend/issues/83 2020-07-26 16:52:58 -04:00
rusefi 989e4b9490 proxy progress 2020-07-26 15:17:29 -04:00