Commit Graph

675 Commits

Author SHA1 Message Date
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 b9ebb6b9b9 gen_config.sh code duplication #2451
David saw dead code
2021-05-11 22:00:36 -04: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 8ae708d68e helping build 2021-04-30 16:05:35 -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 c492d91c86 fresh enum2string 2021-04-30 01:32:53 -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 f80f165cdb Refactoring, technical debt: export more of trigger attributes into triggers.txt file #2077 2021-04-29 17:20:54 -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
rusefillc 99503ccb5c cAsE of rusEFI 2021-03-02 22:14:06 -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
rusefillc 1bdf1f96ac https://github.com/rusefi/KiCad-utils 2021-01-02 01:10:53 -05:00
rusefillc 32cab6f43b https://github.com/rusefi/KiCad-utils 2021-01-02 01:01:09 -05:00
rusefillc bf54c31e93 https://github.com/rusefi/KiCad-utils 2021-01-02 00:35:31 -05:00
rusefillc f05da4b60d https://github.com/rusefi/KiCad-utils 2021-01-02 00:08:12 -05:00
rusefillc da0289fe21 https://github.com/rusefi/KiCad-utils 2021-01-02 00:04:31 -05:00
rusefillc 186ca14c19 https://github.com/rusefi/KiCad-utils 2021-01-02 00:03:08 -05:00
rusefillc ebeec32676 Add #if/#else/#endif support to gen_config #1928 2020-11-05 08:04:04 -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
rusefi b5894b1253 SD download panel progress 2020-10-11 17:46:51 -04:00
rusefillc 92f4e1ba22 gauge poking is needed after local application is disconnected same as before it's connected 2020-10-09 00:30:13 -04:00
rusefillc 3b139c1632 please die on close 2020-10-08 23:23:45 -04:00
rusefillc b1c0b72aa7 SD card logs not valid for REO #1864 2020-10-08 20:17:32 -04:00
rusefillc a3834fb9db remote: update to release feature 2020-10-07 20:07:10 -04:00
rusefillc acc918a1d9 remote: update to release feature 2020-10-07 19:44:06 -04:00
rusefillc a67deb7116 helping build 2020-10-07 19:22:39 -04:00
rusefillc c9c7533ab0 remote SD download works once proper thread synchronization added 2020-10-06 23:37:44 -04:00
rusefillc 6c165a3ad9 idle time 2020-10-06 23:05:16 -04:00
rusefillc 804d276126 L&F 2020-10-06 22:48:46 -04:00
rusefillc 100763ea7b better logging in proxy 2020-10-05 23:41:16 -04:00
rusefillc 1b9eee0357 .ini for remote controller 2020-10-04 19:12:46 -04:00
rusefillc 4b17adf185 .ini for remote controller 2020-10-04 18:55:23 -04:00
rusefillc e61777c737 REO progress 2020-10-03 13:51:51 -04:00
rusefillc a2ca68fc35 'detect' command to print link to .ini 2020-10-02 21:13:34 -04:00
rusefillc 8d8a7ec5b8 Remote Update to Release #1845 2020-10-02 20:49:34 -04:00
rusefi 0a039ffb8e better logging 2020-10-01 00:51:12 -04:00
rusefi 001d2116d2 refactoring 2020-10-01 00:31:26 -04:00
rusefi 0d48942551 better logging 2020-09-30 23:43:20 -04:00
rusefi 70e23dafbf remote SD card access 2020-09-30 23:40:22 -04: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 029ff621e3 REO - local ip into session info 2020-08-30 16:17:21 -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 c86b203607 remote firmware request 2020-08-30 01:23:12 -04:00
rusefi cee1c44577 remote firmware request 2020-08-30 01:15:18 -04:00
rusefi 28a9d94cc3 helping build 2020-08-30 00:44:51 -04:00
rusefi b5760072e0 bugfix - connector was hanging after software update request 2020-08-30 00:42:30 -04:00
rusefi 21c525bb8b update connector button progress 2020-08-30 00:39:08 -04:00
rusefi 3736b3260a remote tab misc progress 2020-08-30 00:21:34 -04:00
rusefi 65ab99999c bugfix NPE on start-up with not opened project 2020-08-16 20:26:12 -04:00
rusefi f5f7d3f6fa better logging 2020-08-16 18:02:10 -04:00
rusefi 82d7fc341c progress 2020-08-16 00:32:10 -04:00
rusefi a27b071c5b fixing build 2020-08-16 00:24:36 -04:00
rusefi 3de0995c68 usability 2020-08-16 00:17:31 -04:00
rusefi a45611ef80 helping build 2020-08-15 22:44:02 -04:00
rusefi c711ceb7e3 hiding things from Android 2020-08-15 22:35:48 -04:00
rusefi 9d5d086bca one step backwards since XMLEncoder not available on Android? 2020-08-15 22:20:52 -04:00
rusefi d2f199a04c fixing build 2020-08-15 21:08:50 -04:00
rusefi ea5c52c4f3 refactoring 2020-08-15 20:37:56 -04:00
rusefi dec73c5649 REO progress 2020-08-15 15:34:50 -04:00
rusefi a8e9e343fc REO progress 2020-08-15 12:24:57 -04:00
rusefi 000b83d3f8 REO progress 2020-08-15 12:08:20 -04:00
rusefi c513dc8272 REO progress 2020-08-15 11:14:54 -04:00
rusefi 6e07bd29e8 REO progress 2020-08-15 10:52:48 -04:00
rusefi 4898cbb560 REO progress 2020-08-14 23:46:31 -04:00
rusefi e249d19077 REO progress 2020-08-14 23:34:53 -04:00
rusefi 4d003ebe78 REO progress 2020-08-14 21:10:30 -04:00
rusefi b252b777c6 REO progress 2020-08-14 20:46:36 -04:00
rusefi 1a37cf53f8 REO progress 2020-08-14 20:22:17 -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 5537e03cf0 helping build 2020-08-12 22:58:16 -04:00
rusefi 2d50dffbda log upload tab 2020-08-12 20:37:37 -04:00
rusefi ccba3c9e1b clean-up 2020-08-12 16:19:58 -04:00
rusefi 9c5a626c08 better field name 2020-08-12 15:54:38 -04:00
rusefi 841afff40e upload usability 2020-08-12 15:40:10 -04:00
rusefi 4a13600cdd better messages 2020-08-10 22:12:38 -04:00
rusefi a91f72cecc TS SD integration #1653 2020-08-07 21:26:13 -04:00
rusefi 518366a101 TS SD integration #1653 2020-08-07 21:13:39 -04:00
rusefi e90ffb31a3 TS SD integration #1653 2020-08-07 20:48:01 -04:00
rusefi 11c9a6b80f TS SD integration #1653 2020-08-07 20:41:50 -04:00
rusefi e60bb66239 TS SD integration #1653 2020-08-07 20:29:42 -04:00
rusefi 413e9d60ec TS SD integration #1653 2020-08-07 20:19:23 -04:00
rusefi f5f7fd10c4 TS SD integration #1653 2020-08-07 20:07:29 -04:00
rusefi c19d813310 TS SD integration #1653 2020-08-07 19:51:37 -04:00
rusefi 2051551617 TS SD integration #1653 2020-08-07 17:20:16 -04:00
rusefi 6eecba28b1 TS SD integration #1653 2020-08-07 16:37:36 -04:00
rusefi 7ce6eb2e1b TS SD integration #1653 2020-08-07 15:01:25 -04:00
rusefi 8d0f47b940 TS SD integration #1653 2020-08-07 00:59:00 -04:00
rusefi ba6c490cb6 TS SD integration #1653 2020-08-06 23:34:47 -04:00
rusefi 8f2f8bc132 TS SD integration #1653 2020-08-06 01:15:41 -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 58fd607899 TS SD integration #1653 2020-08-05 19:13:41 -04:00
rusefi 5c7dbd8810 TS SD integration #1653 2020-08-05 00:11:52 -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 7b91073f31 TS SD integration #1653 2020-08-04 19:10:40 -04:00
rusefi 3105eb9192 The Big Refactoring of 2019: folder structure #723 2020-08-02 21:04:50 -04:00
rusefi 0944e0ff6d stats into JSON 2020-07-30 23:44:36 -04:00
rusefi 8a1fe34270 UI to show bytes flow 2020-07-30 21:07:50 -04:00
rusefi f7146b3899 proxy progress 2020-07-30 20:34:21 -04:00
rusefi 9d30a4a16c https://github.com/rusefi/web_backend/issues/89
fixing at least some issues
2020-07-29 20:37:04 -04:00
rusefi d6f5dd61aa new command line tool: read_tune 2020-07-29 19:25:25 -04:00
rusefi bf771cfc55 more info 2020-07-28 00:58:03 -04:00
rusefi 8071a448e1 bugfix: unhandled exception if trying to run two instances of console 2020-07-27 21:23:03 -04:00
rusefi 07f317c3fe broadcast tab seems to work now?! 2020-07-27 00:54:48 -04:00
rusefi 6dace7ce0d broadcast tab seems to work now?! 2020-07-27 00:48:04 -04:00
rusefi c0878620c3 code comments 2020-07-27 00:16:38 -04:00
rusefi 70ca17b155 https://github.com/rusefi/web_backend/issues/83 2020-07-26 16:58:53 -04:00
rusefi 549afd5354 https://github.com/rusefi/web_backend/issues/83 2020-07-26 16:52:58 -04:00
rusefi 989e4b9490 proxy progress 2020-07-26 15:17:29 -04:00
rusefi 70ccea5dd7 two bytes of dead code 2020-07-26 14:15:24 -04:00
rusefi 6bc3fcca70 time for more tests 2020-07-26 00:16:43 -04:00
rusefi 5a068fa450 time for more tests 2020-07-25 22:35:10 -04:00
rusefi 68a1520c8e time for more tests 2020-07-25 22:22:40 -04:00
rusefi 7d0a311984 better package name 2020-07-25 21:53:09 -04:00
rusefi 2da5f6d245 more, more logs! 2020-07-25 19:52:53 -04:00
rusefi 18f120f0d3 proxy progress - backend and frontend 2020-07-25 19:17:28 -04:00
rusefi 1578199296 shutdown improvements 2020-07-25 15:27:40 -04:00
rusefi 8ca532cbda improving module structure 2020-07-25 14:33:18 -04:00
rusefi dc9cb3973e network connector to reconnect on proxy disconnect 2020-07-25 13:40:52 -04:00
rusefi dbdce48324 refactoring 2020-07-25 10:46:59 -04:00
rusefi 7230d646ea java logging migration 2020-07-25 10:32:23 -04:00
rusefi 69f8e89123 round trip metric 2020-07-25 10:01:46 -04:00
rusefi 01f591dc27 remote ECU usability progress 2020-07-25 03:33:50 -04:00
rusefi 9c16f57d03 hopefully less crazy threading configuration 2020-07-25 02:56:44 -04:00
rusefi 1f8cf6ee6a refactoring 2020-07-25 02:53:13 -04:00
rusefi 0074c0b7d5 refactoring 2020-07-25 02:48:49 -04:00
rusefi 4c24e502da more flexibility 2020-07-25 01:01:08 -04:00
rusefi 326f1634f1 configurable http.port 2020-07-25 00:33:38 -04:00
rusefi f5c958f3d5 heartbeat log, json age 2020-07-25 00:30:31 -04:00
rusefi 2ed94f5f48 isUsed/owner progress 2020-07-24 17:20:13 -04:00
rusefi 5916b095e5 isUsed/owner progress 2020-07-24 16:58:41 -04:00
rusefi 299654c5c5 isUsed/owner progress 2020-07-24 16:38:42 -04:00
rusefi ab42ee4538 operations 2020-07-24 15:32:03 -04:00
rusefi 1ad1be1289 operations 2020-07-24 15:23:30 -04:00
rusefi e1ec9db61e making backend version public 2020-07-24 15:16:20 -04:00
rusefi a15b08904d reducing application inactivity timeout to make contollers happier 2020-07-24 14:53:44 -04:00
rusefi 8eb712c010 getting SOOOOOOOOOO close 2020-07-24 14:41:50 -04:00
rusefi 2f876529f2 getting SOOO close 2020-07-24 14:33:11 -04:00
rusefi bb972ed2a8 better location for this class 2020-07-24 14:30:00 -04:00
rusefi 2123392e7f proxy operations 2020-07-24 14:20:02 -04:00
rusefi 3f919f7a77 logging progress 2020-07-24 13:57:14 -04:00
rusefi aa348e7485 logging progress 2020-07-24 13:35:23 -04:00
rusefi 4bf10fd4f5 logging progress 2020-07-24 13:35:01 -04:00
rusefi c359006b86 helping build 2020-07-24 12:54:36 -04:00
rusefi 0cf88e1c5a java logging migration 2020-07-24 12:44:29 -04:00
rusefi 5f78512f2e getting on the needle 2020-07-24 12:25:24 -04:00
rusefi fa318cf6b3 helping Android 2020-07-24 12:11:37 -04:00
rusefi 701321e681 helping build 2020-07-24 12:02:24 -04:00
rusefi 64ec3d2f4d proxy progress - I am getting tired :( 2020-07-24 01:15:54 -04:00
rusefi fa328e8874 proxy progress - I am getting tired :( 2020-07-24 00:59:32 -04:00
rusefi e3d721e94a proxy progress - I am getting tired :( 2020-07-24 00:52:33 -04:00
rusefi 3b0a9ac5d8 proxy progress - getting REALLY close?! 2020-07-24 00:10:06 -04:00
rusefi bfab8e4820 proxy progress - getting REALLY close?! 2020-07-23 22:10:10 -04:00
rusefi df57df134e proxy progress - getting REALLY close?! 2020-07-23 21:48:44 -04:00
rusefi 3a5c69a409 proxy progress - getting REALLY close?! 2020-07-23 20:52:50 -04:00
rusefi 4f4ae60e18 proxy progress - getting REALLY close?! 2020-07-23 16:59:47 -04:00
rusefi 78fd542492 proxy progress - I am getting tired :( 2020-07-22 21:34:47 -04:00
rusefi 88928a8ffb proxy progress - I am getting tired :( 2020-07-22 21:06:58 -04:00
rusefi 59ce2ce9c7 proxy progress - hopefully getting closer?! 2020-07-22 20:13:12 -04:00
rusefi 72c8294f2d proxy progress - WOW TDD totally works 2020-07-22 19:54:45 -04:00
rusefi 3902655f72 proxy progress - connector timeout bugfix 2020-07-22 19:21:16 -04:00
rusefi 8c55c851b0 proxy progress - making code greener 2020-07-22 19:13:45 -04:00
rusefi 553db5c479 proxy progress - backend version validation on start-up 2020-07-22 18:30:17 -04:00
rusefi 2b8f93f337 proxy progress 2020-07-22 18:24:18 -04:00
rusefi 4602442912 proxy progress - better thread names, better logging 2020-07-22 17:22:57 -04:00
rusefi 0d91fec8ca proxy progress - WOW TDD totally works 2020-07-22 17:03:22 -04:00
rusefi 8eeb02075a proxy progress 2020-07-22 16:41:56 -04:00
rusefi 5066dd8280 proxy progress 2020-07-22 16:31:41 -04:00