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 f2427927f7df0f5fa27ed66c888009e3a3da8412.
* 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 73f2da50f990bee9b51a1f919e8fcc6b06327d9a.
* 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
rusefillc
2181b05013
config definition better error handling
2021-05-01 15:12:39 -04:00
rusefillc
313cf11632
helping build
2021-04-30 16:05:35 -04:00
rusefillc
c8ddf05bb5
Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077
2021-04-30 01:45:35 -04:00
rusefillc
f41f41a177
fresh enum2string
2021-04-30 01:32:53 -04:00
rusefillc
2575c8beeb
Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077
2021-04-30 01:05:23 -04:00
rusefillc
23c04c9ddc
random clean-up
2021-04-30 00:22:40 -04:00
rusefillc
2054f68edd
random docs
2021-04-29 22:36:21 -04:00
rusefillc
e7991b3626
code style
2021-04-29 22:36:20 -04:00
rusefillc
28560dbd79
Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077
...
moving methods
2021-04-29 21:45:35 -04:00
rusefillc
afffdbd41c
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
d445181a5e
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
b0d2a7b8bd
Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077
2021-04-29 17:35:50 -04:00
rusefillc
73ca428217
Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077
2021-04-29 17:20:54 -04:00
rusefillc
0594a5b305
field type into header comment
2021-04-26 17:51:29 -04:00
rusefillc
122fe16db7
is gen_config invoked too often now? #2387
2021-03-12 22:25:03 -05:00
rusefillc
06e05d821b
is gen_config invoked too often now? #2387
...
unzip is complicated
2021-03-05 21:39:26 -05:00
rusefillc
bc7ff44cb2
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
479938b57a
cAsE of rusEFI
2021-03-02 22:14:06 -05:00
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
rusefillc
4a7dbfca6e
https://github.com/rusefi/KiCad-utils
2021-01-02 01:10:53 -05:00
rusefillc
3933faf720
https://github.com/rusefi/KiCad-utils
2021-01-02 01:01:09 -05:00
rusefillc
1508be3fdb
https://github.com/rusefi/KiCad-utils
2021-01-02 00:35:31 -05:00
rusefillc
d7e11909b1
https://github.com/rusefi/KiCad-utils
2021-01-02 00:08:12 -05:00
rusefillc
bef9bdc60a
https://github.com/rusefi/KiCad-utils
2021-01-02 00:04:31 -05:00
rusefillc
b7d59de955
https://github.com/rusefi/KiCad-utils
2021-01-02 00:03:08 -05:00
rusefillc
f55b3a0cdb
Add #if/#else/#endif support to gen_config #1928
2020-11-05 08:04:04 -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
rusefi
bbe60cf8a6
SD download panel progress
2020-10-11 17:46:51 -04:00
rusefillc
f108884b87
gauge poking is needed after local application is disconnected same as before it's connected
2020-10-09 00:30:13 -04:00