rusefi
021a21a1b6
refactoring
2021-07-09 00:28:03 -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
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
3c4cdb4300
Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077
2021-04-30 01:45:35 -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
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
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
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
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
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
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
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
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
5630aa1963
STRING support for java fields
2020-07-18 19:30:49 -04:00
rusefi
6ae006b5fb
STRING support for java fields
2020-07-18 19:12:47 -04:00
rusefi
5a18989c5a
progress
2020-07-14 21:34:59 -04:00
rusefi
5184b5af53
migrate amazing idle from FSIO to less opaque TS #1581
2020-07-07 23:01:14 -04:00
rusefi
7c6e90e424
something was broken?
2020-07-06 02:05:34 -04:00
rusefi
f93e204c3c
generated
2020-07-06 01:09:05 -04:00
rusefi
26aaac4d10
SHORT_BOARDNAME becomes BUNDLE_NAME
2020-07-06 00:48:43 -04:00
rusefi
41d89f0d59
trying to simplify things a bit
2020-07-05 23:09:43 -04:00
rusefi
a3c898a071
steps towards Android
2020-07-03 10:49:14 -04:00
rusefi
73ee602f6b
logging refactoring
2020-07-02 20:10:22 -04:00
rusefi
18d359f092
one step back
2020-07-02 16:28:07 -04:00
andreika-git
6ef9417bbb
gen_config new hash ( #1561 )
...
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-07-02 14:19:35 -04:00
andreika-git
8b84243dae
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
e2b09ee679
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
bfcd225d05
all fields should have TS info
2020-06-30 15:20:30 -04:00
rusefi
890bf4919d
all fields should have TS info
2020-06-30 15:19:11 -04:00
rusefi
da52f21ceb
convention for fields without TS info
2020-06-29 21:54:30 -04:00
rusefi
570000298e
convention for fields without TS info
2020-06-29 21:53:26 -04:00
andreika-git
55b4364e7d
gen_live_documentation cache ( #1544 )
...
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-06-28 11:50:51 -04:00
andreika-git
c9ce2a29f4
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
fcf5bef7f7
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
f55636a9a2
minor refactoring & docs
2020-06-27 12:46:01 -04:00
rusefi
edccc9a9e7
minor refactoring & docs
2020-06-27 12:45:18 -04:00
rusefi
ba184e390c
Only two .ini files got auto-generated #1519
2020-06-19 00:28:50 -04:00
rusefi
e62ed41f5e
TS plugin
2020-06-17 23:19:07 -04:00
rusefi
1c93e45cda
TS project: hide all invalid entries fix #1505
2020-06-17 20:51:29 -04:00
rusefi
8293a92632
TS project: hide all invalid entries #1505
2020-06-17 20:33:17 -04:00
rusefi
2c83db49fb
restoring ldmp
2020-06-17 19:03:10 -04:00
rusefi
2061244bcb
TS project: hide all invalid entries #1505
2020-06-17 18:48:48 -04:00
rusefi
d81e139918
fixing stuff by reducing the gap between Windows and Linux scripts
2020-06-16 14:12:27 -04:00
rusefi
a0593844c7
something is broken somewhere :(
2020-06-14 18:01:23 -04:00
rusefi
dba0e22efd
happy new year
2020-06-09 20:08:16 -04:00
rusefi
64612d2473
TS plugin progress
2020-06-03 17:28:14 -04:00
rusefi
0d0f8f6c60
progress
2020-05-31 14:05:03 -04:00
rusefi
8474fa8476
char type java generation
2020-05-25 13:57:34 -04:00
rusefi
146f658026
"-skip" is probably not needed anymore
2020-05-23 19:39:04 -04:00
rusefi
32fbe0ed0c
progress with _hex and _16_hex
2020-05-22 01:23:38 -04:00
rusefi
5d54f3d742
why not?
2020-05-09 00:49:57 -04:00
rusefi
9b0a65efad
progress - firing order logic to be re-evaluated every time we generate
2020-05-04 23:54:28 -04:00
rusefi
dee8766c3e
better location
2020-05-04 23:38:19 -04:00
rusefi
adefb01362
screen generator
2020-04-29 22:34:51 -04:00
rusefi
598f90f6c9
code generator progress
2020-04-12 23:44:14 -04:00
rusefi
56fcb0fb28
composition instead of inheritance
2020-04-12 23:43:25 -04:00
rusefi
7cc92b3b8c
processor progress
2020-04-12 23:32:22 -04:00
rusefi
ca93302969
that's how this works now
2020-04-12 23:24:14 -04:00
rusefi
52a0bb375f
documentation
2020-04-11 22:08:04 -04:00
rusefi
84e0e1b6e9
critical error usability improvements
2020-03-28 21:28:32 -04:00
rusEfi
ac09211d71
live docs: whitespace support
2020-02-22 15:37:58 -05:00
rusefi
94c2f3a4cd
he owes me one now
2020-02-14 23:03:26 -05:00
rusefi
1b1ffd6a96
adding flexibility
2020-02-14 22:44:59 -05:00
rusefi
a1539e2edd
unit test refactoring
2020-02-14 22:27:37 -05:00
rusefi
2197f94bf1
gen_config should fail with misaligned integers fix #1115
2020-02-02 13:24:32 -05:00
rusefi
9cc013f9de
Config generation handles padding after packed booleans (bits) wrong
...
fix #1057
2019-12-14 16:11:31 -05:00
rusefi
e443f579cb
Config generation handles padding after packed booleans (bits) wrong
...
#1057
refactoring
2019-12-14 15:33:30 -05:00
rusefi
d7c131dba0
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
5ac63a78f5
better state validation
2019-11-16 14:52:17 -05:00
rusefi
5ac8545060
Delayed A/C compressor switch #922
2019-09-11 19:30:36 -04:00
rusefi
7f069e428f
Delayed A/C compressor switch #922
2019-09-10 23:49:21 -04:00
rusefi
3f856dc54d
Delayed A/C compressor switch #922
2019-09-10 22:55:58 -04:00
rusefi
7ed0bb53c9
Delayed A/C compressor switch #922
2019-09-08 23:23:05 -04:00
rusefi
f1f09832be
refactoring
2019-09-08 23:11:11 -04:00
rusefi
cc6806adae
Delayed A/C compressor switch #922
2019-09-08 22:46:47 -04:00
rusefi
36a84f97b8
Live Docs progress: consuming data from multiple structures
2019-09-01 15:24:44 -04:00
rusefi
2a8998f548
Live Data progress: using field's context
2019-09-01 15:01:57 -04:00
rusefi
8be592f3d4
Live Data progress
2019-09-01 13:56:46 -04:00
rusefi
e1a7ae0148
Live Data progress
2019-09-01 00:45:36 -04:00
rusefi
7ed5e2b028
better defaults to make things easier
2019-08-31 23:06:40 -04:00
rusefi
aa1386c856
better defaults to make things easier
2019-08-31 23:00:16 -04:00
rusefi
1d45ced114
LiveData source files list is now defined in yaml format
2019-08-31 22:54:45 -04:00
rusefi
fd87d9efef
docs
2019-08-28 00:18:00 -04:00
rusefi
a8f7a8965b
cranking fuel live data #911
2019-08-26 23:41:04 -04:00
rusefi
360e33cb0f
throttle pedal up switch for Miata NA6
2019-07-21 17:06:16 -04:00
rusefi
85552b312d
typo
2019-07-21 08:19:49 -04:00
rusefi
cc6257bf5c
trigger counters to formula, docs & improvements
2019-07-20 14:56:56 -04:00
rusefi
fd8f70d8c4
Annotations in C++ code to produce formulas in rusEfi console #807
2019-07-13 09:00:03 -04:00
rusefi
2164661274
undoing wrong fix & better fix for #805
...
also generator logging improvements
This reverts commit 96270758c9
.
2019-06-30 14:28:47 -04:00
rusefi
a8aad0f885
code generator progress
2019-06-29 21:34:25 -04:00
rusefi
d0e4a0984f
Annotations in C++ code to produce formulas in rusEfi console #807
2019-06-27 06:47:13 -04:00
rusefi
dd43f62706
Annotations in C++ code to produce formulas in rusEfi console #807
2019-06-18 23:23:30 -04:00
rusefi
0b843819eb
TPS Live Documentation
2019-06-17 21:37:11 -04:00
rusefi
e6b0e0625a
Utility class which writes same line both to stdout and file
2019-06-17 20:21:32 -04:00
rusefi
767d9efed2
Annotations in C++ code to produce formulas in rusEfi console #807 ( #848 )
2019-06-17 19:14:03 -04:00
rusefi
7717f43fca
explicit folder for generated java stuff
2019-06-16 22:14:40 -04:00
rusefi
7082885267
explicit folder for generated java stuff
2019-06-16 22:06:05 -04:00
rusefi
116897ba63
fixing fresh defect in code generator
2019-06-15 21:44:21 -04:00
rusefi
8fe9f1dcfe
'-initialize_to_zero' mode for code generator
2019-06-15 15:54:58 -04:00
rusefi
bd80315737
bumping configuration version in light of #773
2019-06-14 13:04:04 -04:00