Commit Graph

674 Commits

Author SHA1 Message Date
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
rusefillc 804d883ea4 please die on close 2020-10-08 23:23:45 -04:00
rusefillc 0726f168cf SD card logs not valid for REO #1864 2020-10-08 20:17:32 -04:00
rusefillc 0f58c906e4 remote: update to release feature 2020-10-07 20:07:10 -04:00
rusefillc 8cad838dd4 remote: update to release feature 2020-10-07 19:44:06 -04:00
rusefillc ec7c7a280f helping build 2020-10-07 19:22:39 -04:00
rusefillc cc17df5f45 remote SD download works once proper thread synchronization added 2020-10-06 23:37:44 -04:00
rusefillc a2afd27eda idle time 2020-10-06 23:05:16 -04:00
rusefillc 52e06471f8 L&F 2020-10-06 22:48:46 -04:00
rusefillc e1bfe6acfc better logging in proxy 2020-10-05 23:41:16 -04:00
rusefillc edc0368296 .ini for remote controller 2020-10-04 19:12:46 -04:00
rusefillc f63ad0001e .ini for remote controller 2020-10-04 18:55:23 -04:00
rusefillc a59f865e59 REO progress 2020-10-03 13:51:51 -04:00
rusefillc 3058bb0c1c 'detect' command to print link to .ini 2020-10-02 21:13:34 -04:00
rusefillc c96c94f188 Remote Update to Release #1845 2020-10-02 20:49:34 -04:00
rusefi 8ba8b6916e better logging 2020-10-01 00:51:12 -04:00
rusefi 75c5df0a4e refactoring 2020-10-01 00:31:26 -04:00
rusefi c363c553f3 better logging 2020-09-30 23:43:20 -04:00
rusefi 9aa91af76a remote SD card access 2020-09-30 23:40:22 -04: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 32215bd8d2 REO - local ip into session info 2020-08-30 16:17:21 -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 16ee95b3b9 remote firmware request 2020-08-30 01:23:12 -04:00
rusefi ea569d5a84 remote firmware request 2020-08-30 01:15:18 -04:00
rusefi 926e9701e3 helping build 2020-08-30 00:44:51 -04:00
rusefi 7b65828a80 bugfix - connector was hanging after software update request 2020-08-30 00:42:30 -04:00
rusefi 8970f0d417 update connector button progress 2020-08-30 00:39:08 -04:00
rusefi 24f6ead04b remote tab misc progress 2020-08-30 00:21:34 -04:00
rusefi e91303f16b bugfix NPE on start-up with not opened project 2020-08-16 20:26:12 -04:00
rusefi 522baf3ce8 better logging 2020-08-16 18:02:10 -04:00
rusefi 5e34753d5f progress 2020-08-16 00:32:10 -04:00
rusefi c8cab80b79 fixing build 2020-08-16 00:24:36 -04:00
rusefi 78a244f25e usability 2020-08-16 00:17:31 -04:00
rusefi 10ed4c2e32 helping build 2020-08-15 22:44:02 -04:00
rusefi 592c226655 hiding things from Android 2020-08-15 22:35:48 -04:00
rusefi 1b26cd17bb one step backwards since XMLEncoder not available on Android? 2020-08-15 22:20:52 -04:00
rusefi a8f0792ab4 fixing build 2020-08-15 21:08:50 -04:00
rusefi 94edcc6177 refactoring 2020-08-15 20:37:56 -04:00
rusefi e77e7bd7d2 REO progress 2020-08-15 15:34:50 -04:00
rusefi 673738e5d2 REO progress 2020-08-15 12:24:57 -04:00
rusefi 8f05d735db REO progress 2020-08-15 12:08:20 -04:00
rusefi 972a152e80 REO progress 2020-08-15 11:14:54 -04:00
rusefi 8410ff1be2 REO progress 2020-08-15 10:52:48 -04:00
rusefi b9550a3846 REO progress 2020-08-14 23:46:31 -04:00
rusefi 0dbf3c142c REO progress 2020-08-14 23:34:53 -04:00
rusefi d11ee07e25 REO progress 2020-08-14 21:10:30 -04:00
rusefi a88aa56e3b REO progress 2020-08-14 20:46:36 -04:00
rusefi 12bb4f9275 REO progress 2020-08-14 20:22:17 -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 3d090937b5 helping build 2020-08-12 22:58:16 -04:00
rusefi 17a7a89e28 log upload tab 2020-08-12 20:37:37 -04:00
rusefi 794b907f62 clean-up 2020-08-12 16:19:58 -04:00
rusefi b13e27028b better field name 2020-08-12 15:54:38 -04:00
rusefi 2541b3f31c upload usability 2020-08-12 15:40:10 -04:00
rusefi 33f8aeb123 better messages 2020-08-10 22:12:38 -04:00
rusefi 8ff7054173 TS SD integration #1653 2020-08-07 21:26:13 -04:00
rusefi 0b227e6910 TS SD integration #1653 2020-08-07 21:13:39 -04:00
rusefi fbf0df6f65 TS SD integration #1653 2020-08-07 20:48:01 -04:00
rusefi 52b7eb5f73 TS SD integration #1653 2020-08-07 20:41:50 -04:00
rusefi 6fd56cffdb TS SD integration #1653 2020-08-07 20:29:42 -04:00
rusefi 36efd68aeb TS SD integration #1653 2020-08-07 20:19:23 -04:00
rusefi 1b109fc52f TS SD integration #1653 2020-08-07 20:07:29 -04:00
rusefi 51b8da5b3d TS SD integration #1653 2020-08-07 19:51:37 -04:00
rusefi 512d7c2c49 TS SD integration #1653 2020-08-07 17:20:16 -04:00
rusefi 3b8525b521 TS SD integration #1653 2020-08-07 16:37:36 -04:00
rusefi cc35325eb7 TS SD integration #1653 2020-08-07 15:01:25 -04:00
rusefi 8764693179 TS SD integration #1653 2020-08-07 00:59:00 -04:00
rusefi 8192247175 TS SD integration #1653 2020-08-06 23:34:47 -04:00
rusefi ea7fed6a16 TS SD integration #1653 2020-08-06 01:15:41 -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 3271e24856 TS SD integration #1653 2020-08-05 19:13:41 -04:00
rusefi 20c290a9f4 TS SD integration #1653 2020-08-05 00:11:52 -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 8bd4b94807 TS SD integration #1653 2020-08-04 19:10:40 -04:00
rusefi 661c57c43a The Big Refactoring of 2019: folder structure #723 2020-08-02 21:04:50 -04:00
rusefi 71b2665799 stats into JSON 2020-07-30 23:44:36 -04:00
rusefi 585268fce4 UI to show bytes flow 2020-07-30 21:07:50 -04:00
rusefi 695907918f proxy progress 2020-07-30 20:34:21 -04:00
rusefi 6353bee0a0 https://github.com/rusefi/web_backend/issues/89
fixing at least some issues
2020-07-29 20:37:04 -04:00
rusefi 7e646d74d9 new command line tool: read_tune 2020-07-29 19:25:25 -04:00
rusefi e7a0cd57fe more info 2020-07-28 00:58:03 -04:00
rusefi ecf930214e bugfix: unhandled exception if trying to run two instances of console 2020-07-27 21:23:03 -04:00
rusefi 2e581ec6cd broadcast tab seems to work now?! 2020-07-27 00:54:48 -04:00
rusefi 9ff5dcca97 broadcast tab seems to work now?! 2020-07-27 00:48:04 -04:00
rusefi 8237e2dab9 code comments 2020-07-27 00:16:38 -04:00
rusefi 23a659b0c9 https://github.com/rusefi/web_backend/issues/83 2020-07-26 16:58:53 -04:00
rusefi 9721033f2c https://github.com/rusefi/web_backend/issues/83 2020-07-26 16:52:58 -04:00
rusefi 5c66581a2f proxy progress 2020-07-26 15:17:29 -04:00
rusefi 2b19fd72b6 two bytes of dead code 2020-07-26 14:15:24 -04:00
rusefi 267f2de0ab time for more tests 2020-07-26 00:16:43 -04:00
rusefi 240b647595 time for more tests 2020-07-25 22:35:10 -04:00
rusefi a7961de5cd time for more tests 2020-07-25 22:22:40 -04:00
rusefi 60c327f11f better package name 2020-07-25 21:53:09 -04:00
rusefi ec2accd9d7 more, more logs! 2020-07-25 19:52:53 -04:00
rusefi 98404eb69b proxy progress - backend and frontend 2020-07-25 19:17:28 -04:00
rusefi 923a289166 shutdown improvements 2020-07-25 15:27:40 -04:00
rusefi 822b9ab090 improving module structure 2020-07-25 14:33:18 -04:00
rusefi c531127309 network connector to reconnect on proxy disconnect 2020-07-25 13:40:52 -04:00
rusefi abd5b755e9 refactoring 2020-07-25 10:46:59 -04:00
rusefi 3f3ee0ef19 java logging migration 2020-07-25 10:32:23 -04:00
rusefi 2c19ff8c48 round trip metric 2020-07-25 10:01:46 -04:00
rusefi b99c81f7ac remote ECU usability progress 2020-07-25 03:33:50 -04:00
rusefi a36a742039 hopefully less crazy threading configuration 2020-07-25 02:56:44 -04:00
rusefi ca03f9cf4d refactoring 2020-07-25 02:53:13 -04:00
rusefi d08f2a4e0c refactoring 2020-07-25 02:48:49 -04:00
rusefi 425149f0a8 more flexibility 2020-07-25 01:01:08 -04:00
rusefi 971b11c902 configurable http.port 2020-07-25 00:33:38 -04:00
rusefi ebdd6eeb19 heartbeat log, json age 2020-07-25 00:30:31 -04:00
rusefi 2d3159f91a isUsed/owner progress 2020-07-24 17:20:13 -04:00
rusefi 950871e5e4 isUsed/owner progress 2020-07-24 16:58:41 -04:00
rusefi e2842e1191 isUsed/owner progress 2020-07-24 16:38:42 -04:00
rusefi e6f6868598 operations 2020-07-24 15:32:03 -04:00
rusefi ec8dd82608 operations 2020-07-24 15:23:30 -04:00
rusefi 984d852178 making backend version public 2020-07-24 15:16:20 -04:00
rusefi 6de35bf264 reducing application inactivity timeout to make contollers happier 2020-07-24 14:53:44 -04:00
rusefi 469ba453c1 getting SOOOOOOOOOO close 2020-07-24 14:41:50 -04:00
rusefi accf9c9341 getting SOOO close 2020-07-24 14:33:11 -04:00
rusefi d58438874e better location for this class 2020-07-24 14:30:00 -04:00
rusefi c71e5b65b9 proxy operations 2020-07-24 14:20:02 -04:00
rusefi 1f190e5659 logging progress 2020-07-24 13:57:14 -04:00
rusefi 727941086b logging progress 2020-07-24 13:35:23 -04:00
rusefi 9a83dfc7ad logging progress 2020-07-24 13:35:01 -04:00
rusefi 388bd763c7 helping build 2020-07-24 12:54:36 -04:00
rusefi 862505f40e java logging migration 2020-07-24 12:44:29 -04:00
rusefi 24422233f6 getting on the needle 2020-07-24 12:25:24 -04:00
rusefi ae6effc66e helping Android 2020-07-24 12:11:37 -04:00
rusefi 5654c71eef helping build 2020-07-24 12:02:24 -04:00
rusefi 260c7a7786 proxy progress - I am getting tired :( 2020-07-24 01:15:54 -04:00
rusefi 1701a221a4 proxy progress - I am getting tired :( 2020-07-24 00:59:32 -04:00
rusefi d7f9a2b81f proxy progress - I am getting tired :( 2020-07-24 00:52:33 -04:00
rusefi fdf7281261 proxy progress - getting REALLY close?! 2020-07-24 00:10:06 -04:00
rusefi 4d5cbb2534 proxy progress - getting REALLY close?! 2020-07-23 22:10:10 -04:00
rusefi 0ff0da1707 proxy progress - getting REALLY close?! 2020-07-23 21:48:44 -04:00
rusefi 4b71e07b3f proxy progress - getting REALLY close?! 2020-07-23 20:52:50 -04:00
rusefi 09d14a4861 proxy progress - getting REALLY close?! 2020-07-23 16:59:47 -04:00
rusefi 86f23b20b7 proxy progress - I am getting tired :( 2020-07-22 21:34:47 -04:00
rusefi badac39e87 proxy progress - I am getting tired :( 2020-07-22 21:06:58 -04:00
rusefi 2fdbf01a5d proxy progress - hopefully getting closer?! 2020-07-22 20:13:12 -04:00
rusefi 2de7d590f5 proxy progress - WOW TDD totally works 2020-07-22 19:54:45 -04:00
rusefi 36e5288ef6 proxy progress - connector timeout bugfix 2020-07-22 19:21:16 -04:00
rusefi a6982273ea proxy progress - making code greener 2020-07-22 19:13:45 -04:00
rusefi 186e36521b proxy progress - backend version validation on start-up 2020-07-22 18:30:17 -04:00
rusefi 789341aada proxy progress 2020-07-22 18:24:18 -04:00
rusefi 401abdc07f proxy progress - better thread names, better logging 2020-07-22 17:22:57 -04:00
rusefi 7e4a1223bb proxy progress - WOW TDD totally works 2020-07-22 17:03:22 -04:00
rusefi ebb86a05d5 proxy progress 2020-07-22 16:41:56 -04:00
rusefi e4e216e842 proxy progress 2020-07-22 16:31:41 -04:00
rusefi 811b44dae7 proxy progress 2020-07-22 15:22:56 -04:00