Commit Graph

225 Commits

Author SHA1 Message Date
Matthew Kennedy bed6819d8b
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 6ead64e512
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
andreika-git f5820190cd
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
David Holdeman 8ebdf6fcdc
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 88bedcb978 Tokenisation of multipler expressions #1735 2020-08-30 15:31:22 -04:00
rusefi 22a947d498 https://github.com/rusefi/web_backend/issues/97 2020-08-30 14:58:05 -04:00
rusefi 4b9f69b02e https://github.com/rusefi/web_backend/issues/97
base line unit test
2020-08-30 14:50:13 -04:00
rusefi ea052ed2b2 https://github.com/rusefi/web_backend/issues/73
toolset progress
2020-08-14 16:20:10 -04:00
rusefi 8bcc3aeb64 https://github.com/rusefi/web_backend/issues/73
toolset progress
2020-08-14 15:56:59 -04:00
rusefi 9d240fd536 toolset progress 2020-08-14 15:38:56 -04:00
rusefi 7882e9b2e1 toolset progress 2020-08-14 15:27:27 -04:00
rusefi e1d9e7a349 refactoring: static bad 2020-08-14 13:54:27 -04:00
rusefi 2b06b4a0fc Console commands are broken #1671 2020-08-05 19:51:43 -04:00
rusefi c20ee800b8 Console commands are broken #1671
code generator test coverage
2020-08-05 19:27:23 -04:00
rusefi 530439c424 TS SD integration #1653 2020-08-05 00:04:02 -04:00
rusefi ce091f2778 progress 2020-08-04 23:18:35 -04:00
rusefi b4a8d25909 progress 2020-08-04 22:51:27 -04:00
rusefi 5a83645e8c that's a tiny problem 2020-08-04 19:25:32 -04:00
rusefi af4dcc10f2 STRING support for java fields 2020-07-18 19:30:49 -04:00
rusefi a3393133a6 STRING support for java fields 2020-07-18 19:12:47 -04:00
rusefi dee2cc0a68 progress 2020-07-14 21:34:59 -04:00
rusefi 3f5ce4a7b4 migrate amazing idle from FSIO to less opaque TS #1581 2020-07-07 23:01:14 -04:00
rusefi 15731e29f9 something was broken? 2020-07-06 02:05:34 -04:00
rusefi 1deecb35a8 generated 2020-07-06 01:09:05 -04:00
rusefi d78089be81 SHORT_BOARDNAME becomes BUNDLE_NAME 2020-07-06 00:48:43 -04:00
rusefi a2b14cb297 trying to simplify things a bit 2020-07-05 23:09:43 -04:00
rusefi 0f62bcf804 steps towards Android 2020-07-03 10:49:14 -04:00
rusefi 83833df6d9 logging refactoring 2020-07-02 20:10:22 -04:00
rusefi 7f9dddc435 one step back 2020-07-02 16:28:07 -04:00
andreika-git 2ccae8669c
gen_config new hash (#1561)
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-07-02 14:19:35 -04:00
andreika-git 1e8bebd5b3
Gen config refactor 2 (#1560)
* gen_config refactor, part II

* short board defines

* oops

* comment & undef

* define QUOTE

Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-07-02 12:33:31 -04:00
andreika-git 11f1988803
Gen config refactor 1 (#1558)
* fix signature

* gen_config refactor, part I

* Add empty cache.zip

Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-07-02 08:16:18 -04:00
rusefi c80a230e2b all fields should have TS info 2020-06-30 15:20:30 -04:00
rusefi 7b6da35920 all fields should have TS info 2020-06-30 15:19:11 -04:00
rusefi 1dd173b49e convention for fields without TS info 2020-06-29 21:54:30 -04:00
rusefi 811b616aaa convention for fields without TS info 2020-06-29 21:53:26 -04:00
andreika-git d5083d84ea
gen_live_documentation cache (#1544)
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-06-28 11:50:51 -04:00
andreika-git 3635d0077a
gen_config cache (#1543)
* use cache for gen_config

* create dummy cache files to store them in github

* fix typo

* comment

* text

Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-06-28 10:00:11 -04:00
andreika-git 76bfbf62d6
gen_config is no more lazy (#1541)
* gen_config: replace lazyFile with timestamp checks

* board_generator: use LazyFile

* fix romraider and TOTAL_CONFIG_SIZE

* merge

Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-06-27 14:23:51 -04:00
rusefi 81756b2e94 minor refactoring & docs 2020-06-27 12:46:01 -04:00
rusefi b5d1ce124d minor refactoring & docs 2020-06-27 12:45:18 -04:00
rusefi ad3367ea1b Only two .ini files got auto-generated #1519 2020-06-19 00:28:50 -04:00
rusefi c27dfae2bb TS plugin 2020-06-17 23:19:07 -04:00
rusefi 1221de56a4 TS project: hide all invalid entries fix #1505 2020-06-17 20:51:29 -04:00
rusefi cbc7d4a73e TS project: hide all invalid entries #1505 2020-06-17 20:33:17 -04:00
rusefi 127dd67838 restoring ldmp 2020-06-17 19:03:10 -04:00
rusefi e01a260552 TS project: hide all invalid entries #1505 2020-06-17 18:48:48 -04:00
rusefi 05932f9e75 fixing stuff by reducing the gap between Windows and Linux scripts 2020-06-16 14:12:27 -04:00
rusefi a7aea821b7 something is broken somewhere :( 2020-06-14 18:01:23 -04:00
rusefi 63ab889e2f happy new year 2020-06-09 20:08:16 -04:00
rusefi 4429e3c13f TS plugin progress 2020-06-03 17:28:14 -04:00
rusefi 7bf4c362d0 progress 2020-05-31 14:05:03 -04:00
rusefi 1053f98985 char type java generation 2020-05-25 13:57:34 -04:00
rusefi 39671f3c33 "-skip" is probably not needed anymore 2020-05-23 19:39:04 -04:00
rusefi f4169b0819 progress with _hex and _16_hex 2020-05-22 01:23:38 -04:00
rusefi 716b442c56 why not? 2020-05-09 00:49:57 -04:00
rusefi 75d76f850d progress - firing order logic to be re-evaluated every time we generate 2020-05-04 23:54:28 -04:00
rusefi 48fc6d91d9 better location 2020-05-04 23:38:19 -04:00
rusefi f2e7e825be screen generator 2020-04-29 22:34:51 -04:00
rusefi ad09177105 code generator progress 2020-04-12 23:44:14 -04:00
rusefi 1322c1dfac composition instead of inheritance 2020-04-12 23:43:25 -04:00
rusefi 302fc02545 processor progress 2020-04-12 23:32:22 -04:00
rusefi 2decb5f196 that's how this works now 2020-04-12 23:24:14 -04:00
rusefi 04a5a39858 documentation 2020-04-11 22:08:04 -04:00
rusefi 5c2794c2e0 critical error usability improvements 2020-03-28 21:28:32 -04:00
rusEfi d576b8e627 live docs: whitespace support 2020-02-22 15:37:58 -05:00
rusefi 64c83fa4cd he owes me one now 2020-02-14 23:03:26 -05:00
rusefi 7e02210cb8 adding flexibility 2020-02-14 22:44:59 -05:00
rusefi 1ac264acc0 unit test refactoring 2020-02-14 22:27:37 -05:00
rusefi a62340b8b9 gen_config should fail with misaligned integers fix #1115 2020-02-02 13:24:32 -05:00
rusefi 3f3cddbf01 Config generation handles padding after packed booleans (bits) wrong
fix #1057
2019-12-14 16:11:31 -05:00
rusefi d5b25902d3 Config generation handles padding after packed booleans (bits) wrong
#1057
refactoring
2019-12-14 15:33:30 -05:00
rusefi d6780909f5 Config generation handles padding after packed booleans (bits) wrong #1057
everything should start with a unit test
2019-12-14 14:46:20 -05:00
rusefi 0a10465c56 better state validation 2019-11-16 14:52:17 -05:00
rusefi 2349ea237a Delayed A/C compressor switch #922 2019-09-11 19:30:36 -04:00
rusefi 448d99a2c8 Delayed A/C compressor switch #922 2019-09-10 23:49:21 -04:00
rusefi 47d8cdf0ac Delayed A/C compressor switch #922 2019-09-10 22:55:58 -04:00
rusefi fdf4049679 Delayed A/C compressor switch #922 2019-09-08 23:23:05 -04:00
rusefi 01669b7327 refactoring 2019-09-08 23:11:11 -04:00
rusefi 8c3780e78d Delayed A/C compressor switch #922 2019-09-08 22:46:47 -04:00
rusefi abf2406621 Live Docs progress: consuming data from multiple structures 2019-09-01 15:24:44 -04:00
rusefi 33cc21225c Live Data progress: using field's context 2019-09-01 15:01:57 -04:00
rusefi 1ffaa8eea2 Live Data progress 2019-09-01 13:56:46 -04:00
rusefi 7842c7305f Live Data progress 2019-09-01 00:45:36 -04:00
rusefi c23b7d4156 better defaults to make things easier 2019-08-31 23:06:40 -04:00
rusefi 26285b9bae better defaults to make things easier 2019-08-31 23:00:16 -04:00
rusefi 3f0665255d LiveData source files list is now defined in yaml format 2019-08-31 22:54:45 -04:00
rusefi c630feb23c docs 2019-08-28 00:18:00 -04:00
rusefi 2804b31e7e cranking fuel live data #911 2019-08-26 23:41:04 -04:00
rusefi 84955cdedb throttle pedal up switch for Miata NA6 2019-07-21 17:06:16 -04:00
rusefi 01996de8c8 typo 2019-07-21 08:19:49 -04:00
rusefi e5b953db84 trigger counters to formula, docs & improvements 2019-07-20 14:56:56 -04:00
rusefi 9e461e7c27 Annotations in C++ code to produce formulas in rusEfi console #807 2019-07-13 09:00:03 -04:00
rusefi b2dece5269 undoing wrong fix & better fix for #805
also generator logging improvements
This reverts commit f07f96599b.
2019-06-30 14:28:47 -04:00
rusefi 6fd5f2a644 code generator progress 2019-06-29 21:34:25 -04:00
rusefi d9c3eba470 Annotations in C++ code to produce formulas in rusEfi console #807 2019-06-27 06:47:13 -04:00
rusefi 13fefc6245 Annotations in C++ code to produce formulas in rusEfi console #807 2019-06-18 23:23:30 -04:00
rusefi 717af8a681 TPS Live Documentation 2019-06-17 21:37:11 -04:00
rusefi af6c342368 Utility class which writes same line both to stdout and file 2019-06-17 20:21:32 -04:00
rusefi 451ace3f5d
Annotations in C++ code to produce formulas in rusEfi console #807 (#848) 2019-06-17 19:14:03 -04:00