Commit Graph

181 Commits

Author SHA1 Message Date
rusefi 40e9c4174f TS does not support zero length arrays? #2366 2021-02-16 17:25:52 -05:00
rusefillc 78c7cfe896 refactoring 2021-02-10 20:36:56 -05:00
rusefillc 9fbf16ce08 code generator: better handing of array size 1 2021-02-08 23:47:48 -05:00
rusefillc d5aa951a49 trying to help kinetis by reducing RAM usage back to where it was 2021-02-08 23:21:34 -05:00
rusefillc 02f08808ef spaces into multiplication 2021-02-01 12:11:00 -05:00
Matthew Kennedy 622a47c70b
Remove whitespace (#2246)
* don't tab in fields

* jar
2021-01-27 15:44:52 -05:00
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