Commit Graph

3875 Commits

Author SHA1 Message Date
Matthew Kennedy e1af81e1d7 hip9011 2023-02-20 22:32:32 -08:00
Matthew Kennedy fd09ad7b4f cj125 2023-02-20 22:21:52 -08:00
Matthew Kennedy 961950dbcc gps 2023-02-20 22:07:21 -08:00
Matthew Kennedy 1370d96112 lcd & joystick 2023-02-20 21:57:53 -08:00
Matthew Kennedy 61c17791b8 joystick, lcd 2023-02-20 21:54:10 -08:00
rusefillc 75bdf089cf Feb20: 3rd ticket for 4g9x mess #5111
something is really weird
2023-02-20 19:05:45 -05:00
rusefillc 55a8761a85 we have two methods of very similar purpose? 2023-02-20 19:05:31 -05:00
GitHub gen-configs Action a1105eadbd Auto-generated configs and docs 2023-02-20 21:54:02 +00:00
rusefillc 83b6d49681 Feb20: 3rd ticket for 4g9x mess #5111
minor mess reduction: only changing internal naming
2023-02-20 16:51:56 -05:00
GitHub gen-configs Action 14cb1aa8cd Auto-generated configs and docs 2023-02-20 20:24:28 +00:00
rusefillc c3e3f57a7c Feb20: 3rd ticket for 4g9x mess #5111 2023-02-20 15:22:12 -05:00
GitHub gen-configs Action 86c2d4e8be Auto-generated configs and docs 2023-02-20 16:56:21 +00:00
rusefillc cca7b0ade9 Native SENT TPS input #5079 2023-02-20 11:52:10 -05:00
Matthew Kennedy eee53678bd fire a warning in case of wideband fault (#5109)
* fire a warning in case of wideband fault

* s
2023-02-20 03:42:40 -05:00
rusefi a37f3d2078 Pavel Xenon says UART is not happy #5105
at least less confusing default?
2023-02-19 14:53:14 -05:00
GitHub gen-configs Action 9e25d37905 Auto-generated configs and docs 2023-02-19 03:53:47 +00:00
rusefi bfcd5953e1 DC is not ETB 2023-02-18 22:39:45 -05:00
GitHub gen-configs Action bee9ac1af7 Auto-generated configs and docs 2023-02-17 04:24:31 +00:00
Matthew Kennedy 4b5fa68d13 fix 4g63 vs 9x naming, add cam-only test (#5093) 2023-02-16 23:22:34 -05:00
GitHub gen-configs Action bfc5d33e0b Auto-generated configs and docs 2023-02-15 14:11:11 +00:00
rusefi 18d93bf30f Revert "making enum less public API"
This reverts commit 46807bc8a4.
2023-02-15 09:08:52 -05:00
GitHub gen-configs Action 13d6d22d82 Auto-generated configs and docs 2023-02-15 13:45:43 +00:00
rusefillc 46807bc8a4 making enum less public API 2023-02-15 08:43:15 -05:00
rusefi 2e274c8fe7 Native SENT TPS input #5079 2023-02-14 20:39:25 -05:00
GitHub gen-configs Action 67bc156aca Auto-generated configs and docs 2023-02-14 18:22:29 +00:00
rusefillc 2d0ca6055c Native SENT TPS input #5079 2023-02-14 13:20:18 -05:00
rusefi 366a7068f6 Merge branch 'master' of https://github.com/rusefi/rusefi 2023-02-13 18:42:48 -05:00
Andrey 8887eff573 Nick wonders if DC wastegate is still FUBAR #5075 2023-02-13 17:59:45 -05:00
rusefi 39290a63e7 proteusDcWastegateTest 2023-02-13 17:46:12 -05:00
GitHub gen-configs Action eaa3bf046b Auto-generated configs and docs 2023-02-13 22:25:01 +00:00
Matthew Kennedy cfe0aeef29 add 50/83.3/125kbit CAN (#5072)
* fix CAN

* add 83/125 too

* bump config version
2023-02-13 17:13:57 -05:00
GitHub gen-configs Action eb5b535d70 Auto-generated configs and docs 2023-02-13 21:29:34 +00:00
rusefi 5236d3e57f WASTEGATE_PROTEUS_TEST 2023-02-13 16:26:59 -05:00
GitHub gen-configs Action 7fd470de65 Auto-generated configs and docs 2023-02-11 22:35:55 +00:00
rusefillc 57883ebc4b fuck would have to test manually unless I improve 2023-02-11 17:31:24 -05:00
rusefillc 8892cdbab0 dead code 2023-02-10 19:09:39 -05:00
GitHub gen-configs Action 2c74480c77 Auto-generated configs and docs 2023-02-10 12:46:19 +00:00
rusefillc eecff27d3b PDM spells with 'D' 2023-02-10 07:44:08 -05:00
GitHub gen-configs Action e7bcb9e19c Auto-generated configs and docs 2023-02-06 23:07:21 +00:00
rusefillc 9ae89ee497 Als timer smaller (#5041)
* Update default_base_engine.cpp

(cherry picked from commit 8ac64e2a16f18b7497c3fa1993a4d3e31a161332)

* als timer meta

---------

Co-authored-by: TurboMarian <podgajnymariusz@gmail.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-02-06 19:05:38 -04:00
rusefillc b1bfef4573 throttleIntent in ALS timing logic 2023-02-06 17:16:44 -05:00
GitHub gen-configs Action 249c664d33 Auto-generated configs and docs 2023-02-06 13:15:53 +00:00
Matthew Kennedy 03daac572e more flexible GPPWM (#5032)
* gppwm improvements!

* test

* ui

* autoscale
2023-02-06 08:53:31 -04:00
GitHub gen-configs Action 2d47114277 Auto-generated configs and docs 2023-01-24 01:30:38 +00:00
Matthew Kennedy dc4cbb9c37 mitsu 4g63 (#5001)
* mitsu 4g63

* file header
2023-01-24 06:53:40 +05:30
rusefillc 91e70738f4 refactoring: inside the boost controller instead of depending on the engine god object 2023-01-22 07:40:42 -05:00
rusefillc edc893b8e9 K 2023-01-21 08:56:21 -05:00
Matthew Kennedy 00e1f2c9aa renumber airmass mode enum to start at 0 (#4986)
* #1690

* hw ci tests
2023-01-21 08:12:27 +05:30
Matthew Kennedy ba0c1980e1 dead (#4985) 2023-01-21 06:49:05 +05:30
rusefillc bcb164d0cc h-bridge wastegate not alive on bench #4965
in my dreams that would be part of CI
2023-01-17 11:50:10 -05:00
GitHub gen-configs Action d8b5418ae5 Auto-generated configs and docs 2023-01-17 09:30:33 +00:00
rusefillc 33f68b9007 h-bridge wastegate not alive on bench #4965
in my dreams that would be part of CI
2023-01-17 04:14:44 -05:00
rusefillc fcb3f06aab h-bridge wastegate not alive on bench #4965
in my dreams that would be part of CI
2023-01-17 04:13:47 -05:00
GitHub gen-configs Action c69add4f40 Auto-generated configs and docs 2023-01-16 20:23:11 +00:00
Andrey b88acee22d TS gauges section should be auto-generated #4972 2023-01-16 15:16:35 -05:00
Andrey 82af0b6e3e TS gauges section should be auto-generated #4972 2023-01-16 15:12:24 -05:00
GitHub gen-configs Action b6836cf8ab Auto-generated configs and docs 2023-01-16 13:47:18 +00:00
Andrey a1e571e514 TS gauges section should be auto-generated #4972 2023-01-16 08:39:58 -05:00
GitHub gen-configs Action 6183d6cbb4 Auto-generated configs and docs 2023-01-16 05:45:06 +00:00
rusefillc 91c24b3c76 TS gauges section should be auto-generated #4972 2023-01-16 00:38:40 -05:00
Andrey 72428a1b6c TS gauges section should be auto-generated #4972 2023-01-16 00:24:42 -05:00
Andrey e38b30f056 TS gauges section should be auto-generated #4972 2023-01-15 21:46:21 -05:00
Andrey f7d166b33c totalFuel and totalIgnition correction gauges in Tunerstudio #4955 2023-01-15 11:10:17 -05:00
GitHub gen-configs Action 39b109f77b Auto-generated configs and docs 2023-01-15 13:37:56 +00:00
Andrey 3d096b2ac1 totalFuel and totalIgnition correction gauges in Tunerstudio #4955 2023-01-15 08:26:38 -05:00
GitHub gen-configs Action 12c11f5130 Auto-generated configs and docs 2023-01-15 04:28:54 +00:00
Andrey df2b073c49 totalFuel and totalIgnition correction gauges in Tunerstudio #4955 2023-01-14 23:21:23 -05:00
GitHub gen-configs Action 4c0de03bf4 Auto-generated configs and docs 2023-01-14 21:08:25 +00:00
Andrey cda80458b9 Merge branch 'master' of https://github.com/rusefi/rusefi 2023-01-14 15:50:06 -05:00
Andrey 60bc369140 totalFuel and totalIgnition correction gauges in Tunerstudio #4955 2023-01-14 15:49:08 -05:00
Andrey e57403618a totalFuel and totalIgnition correction gauges in Tunerstudio #4955 2023-01-14 15:33:17 -05:00
rusefillc 10543f6c98 docs 2023-01-14 12:49:11 -05:00
GitHub gen-configs Action fc64267fde Auto-generated configs and docs 2023-01-14 10:42:09 +00:00
Andrey badd5c6de8 totalFuel and totalIgnition correction gauges in Tunerstudio #4955 2023-01-14 05:36:25 -05:00
Matthew Kennedy 5471321363 don't warn if we intentionally skipped this spark (#4961)
* don't warn if we intentionally skipped this spark

* header

* real nb2
2023-01-10 19:07:44 -05:00
Matthew Kennedy 54e711a705 detect and ignore doubled trigger edges (#4656)
* isToothExpectedNow

* s

* s

* kick ci

* only warn at high enough RPM to detect non-smooth trigger

* 4b11 test
2023-01-10 16:07:17 -05:00
rusefillc 32da545743 docs 2023-01-08 22:30:57 -05:00
GitHub gen-configs Action 4cf091b25e Auto-generated configs and docs 2023-01-07 21:34:08 +00:00
Andrey a699e29c02 Mitsubishi 4G93 Trigger issues #4918 2023-01-07 16:28:57 -05:00
Matthew Kennedy 56aa0fe367 improve iat ignition table (#4948)
* iat ignition table

* changelog
2023-01-06 21:59:34 -05:00
GitHub gen-configs Action 33cc8d6587 Auto-generated configs and docs 2023-01-06 02:30:20 +00:00
rusefillc ba5144181a external muxes for internal ADC #3350 2023-01-05 21:23:00 -05:00
rusefillc 609608e025 findTriggerZeroEventIndex() failed fix #4935 2023-01-04 13:15:45 -05:00
GitHub gen-configs Action b6088bf7cc Auto-generated configs and docs 2023-01-02 22:53:56 +00:00
rusefillc 6cc92c25bc https://rusefi.com/forum/viewtopic.php?f=2&t=2484 luaIgnCut 2023-01-02 17:46:56 -05:00
GitHub gen-configs Action 48f2feeee4 Auto-generated configs and docs 2023-01-02 19:58:30 +00:00
rusefillc 1238e0d7fe TS Config comments trim at first new-line fix #4927 2023-01-02 14:53:33 -05:00
GitHub gen-configs Action fd1281089c Auto-generated configs and docs 2023-01-02 17:58:18 +00:00
rusefillc ff0fe732c5 logs progress 2023-01-02 12:22:45 -05:00
Nathan Schulte 76bc7f22fd misc tidy (#4926)
* FrequencySensor: code-style

* smart_gpio: fix indent, tidy BOARD_EXT_GPIOCHIPS

tidy _GPIOCHIPS for #pragma message(STRING(BOARD_EXT_GPIOCHIPS output

* obd_error_codes: fix indent
2023-01-01 15:51:31 -05:00
Andrey 00e8cc4262 test coverage for antilag #4920
fuel correction bugfix & test
2022-12-31 14:48:25 -05:00
Andrey 01add66f6a test coverage for antilag #4920
better default
2022-12-31 14:48:25 -05:00
rusefillc 12c80811cf ALS fuel fix OOOPS 2022-12-31 14:21:05 -05:00
rusefillc 5bd7d5f5c3 ALS fuel fix 2022-12-31 14:12:17 -05:00
rusefillc b45cae5a87 ALS better defaults 2022-12-31 13:48:37 -05:00
Andrey 36573a3044 test coverage for antilag #4920
bugfix?
2022-12-30 12:21:04 -05:00
GitHub gen-configs Action 52629b6f32 Auto-generated configs and docs 2022-12-28 00:48:57 +00:00
rusefillc f4f4f54bf8 antilag: TPS vs APS/PPS vs driver intent #4917 2022-12-27 19:41:45 -05:00
rusefillc 7288638ec8 antilag and anti-lag #2403
TurboMarian is the ALS boss
2022-12-22 14:38:40 -05:00
rusefillc 49abe358b3 typo 2022-12-22 07:59:19 -05:00
rusefillc c641ed6fdc antilag and anti-lag #2403
TurboMarian is the ALS boss
2022-12-21 21:29:01 -05:00
rusefillc 6b7b05ac3a antilag and anti-lag #2403
TurboMarian is the ALS boss
2022-12-21 20:24:39 -05:00
rusefillc 886ec74442 antilag and anti-lag #2403
TurboMarian is the ALS boss
2022-12-21 20:12:00 -05:00
rusefillc bdbc0bb2cf antilag and anti-lag #2403
TurboMarian is the ALS boss
2022-12-21 19:46:31 -05:00
GitHub gen-configs Action f16e3d19e8 Auto-generated configs and docs 2022-12-22 00:29:40 +00:00
rusefillc b636c17f91 TurboMarian is the ALS boss 2022-12-21 19:11:52 -05:00
GitHub gen-configs Action 2d7487503e Auto-generated configs and docs 2022-12-21 23:52:17 +00:00
rusefillc 83a01d96de TurboMarian is the ALS boss 2022-12-21 18:47:30 -05:00
rusefillc 30d385850e TurboMarian is the ALS boss 2022-12-21 18:47:20 -05:00
rusefillc 2d9298e586 ohhh we already have FO_1_2_3_4_5_6_7_8 2022-12-20 21:23:25 -05:00
rusefillc f49cae527c FO_1_2_3_4_5_6_7_8 2022-12-20 21:13:33 -05:00
rusefillc 92e8234a59 print CAN into default script 2022-12-20 14:48:39 -05:00
rusefillc bc08f1f1ea docs 2022-12-20 08:49:09 -05:00
rusefillc 1ca6b6fd6b docs 2022-12-20 08:49:09 -05:00
rusefillc 08cdec228d docs 2022-12-20 08:39:55 -05:00
Andrey fe780d477e kinetis asking for guard, also I've must have messed up something 2022-12-17 18:04:54 -05:00
rusefillc 41a8a90b3d guards 2022-12-17 14:43:51 -05:00
rusefillc d951f36794 guards 2022-12-17 14:36:27 -05:00
rusefillc 9cf5cdc719 TurboMarian is the ALS boss 2022-12-16 23:51:50 -05:00
rusefillc 7a8fe3486f TurboMarian is the ALS boss 2022-12-16 23:31:51 -05:00
GitHub gen-configs Action a12362cc4d Auto-generated configs and docs 2022-12-17 01:29:31 +00:00
rusefillc 3ac7b3f857 TurboMarian is the ALS boss 2022-12-16 20:22:48 -05:00
rusefillc 93d7f87a38 TurboMarian is the ALS boss 2022-12-16 20:22:48 -05:00
TurboMarian 428b887cb4 LUA FuelAdd update
(cherry picked from commit a54cdbb0771b1a48aa8e24bffbaf554e10d55f3a)
2022-12-16 20:22:48 -05:00
rusefillc af23aef7c0 antilag and anti-lag #2403 2022-12-14 22:25:06 -05:00
Andrey d812114062 RPM correction/multiplier for Accel Enrich fix #4760 2022-12-14 21:51:41 -05:00
rusefillc a70a15fefb RPM correction/multiplier for Accel Enrich fix #4760 2022-12-14 19:57:07 -05:00
rusefillc 484f21aeba random getOrZero clean-up 2022-12-14 19:48:07 -05:00
rusefillc 871afb07a2 random Frankenso clean-up 2022-12-14 19:11:16 -05:00
rusefillc e58bdc8e57 random Frankenso clean-up 2022-12-14 19:01:26 -05:00
rusefillc 0a4e9c3049 smarter template 2022-12-13 16:47:35 -05:00
rusefillc f6382fdf2a RPM correction/multiplier for Accel Enrich #4760 2022-12-13 16:36:38 -05:00
Matthew Kennedy 29db8e2474 Combine angle based event (#4884)
* Remove AngleBasedEventOld/New, only AngleBasedEvent now

* this 7 year old comment of old test code can go away
2022-12-10 17:07:02 -05:00
Matthew Kennedy 016b71babe switch hpfp and aux valves to AngleBasedEventNew (#4882)
* switch hpfp to AngleBasedEventNew

* aux valves too!
2022-12-10 16:15:11 -05:00
Matthew Kennedy 5576065eb9 default fuel cleanup and injection phase change (#4836)
* default fuel cleanup and injection phase change

* happy tests

* changelog

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-11-29 23:41:49 -05:00
Matthew Kennedy a58e687d2f TriggerScheduler cleanup (#4844)
* TriggerScheduler cleanup

* remove TRIGGER_EVENT_UNDEFINED

* remove dead overload of scheduleOrQueue

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-11-28 08:55:38 -05:00
Matthew Kennedy 431eb0e832 period -> frequency (#4837)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-11-27 08:10:05 -05:00
rusefi 677af57475 safer defaults 2022-11-26 14:13:14 -05:00
rusefillc c729b10bbe refactoring: constexpr fuel computer (#4830)
* refactoring: constexpr fuel computer

* refactoring: constexpr fuel computer

* refactoring: constexpr fuel computer

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-11-26 12:25:04 -05:00
rusefillc d63f1af40d without ValueProvider3D interface how do we mock? (#4829)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-11-26 11:23:54 -05:00
rusefillc 261222bb04 avoid ctime in GPS UART (#4824)
Co-authored-by: Nathan Schulte <nmschulte@desmas.net>
2022-11-23 13:20:36 -05:00
Nathan Schulte b8dee91e09 add efidatetime_t type 2022-11-23 12:38:00 -05:00
Nathan Schulte d4cc3caeab code style, GPS fixes (test, firmware) (#4822)
* tidy NMEA

* const in nmea

* correct gps test output

* fix GPS UART print statements

* cleanup feature toggles in settings

* fix comment typos, misc whitespace
2022-11-23 07:01:34 -04:00
rusefillc e3bad2649e simpler SENT for now 2022-11-19 09:38:39 -05:00
Nathan Schulte 8b2c0a6404 firmware: controllers: tidy #endif comments 2022-11-18 23:15:47 -05:00
Nathan Schulte 126a07dd6a firmware: kill -9 dead hipLastExecutionCount 2022-11-18 23:15:36 -05:00
Andrey 9a3dfd7465 new trigger wheel shape for Benelli 3-cylinder engines #4744 2022-11-16 15:45:32 -05:00
GitHub gen-configs Action 46fd435aea Auto-generated configs and docs 2022-11-16 16:43:31 +00:00
rusefillc 5e9ff35ef9 new trigger wheel shape for Benelli 3-cylinder engines #4744 2022-11-16 11:35:00 -05:00
GitHub gen-configs Action 79f026c754 Auto-generated configs and docs 2022-11-15 14:34:13 +00:00
rusefillc a46ca76790 would need to stop the buzzing at PRI. 2022-11-15 09:29:13 -05:00
rusefi 7d1b17d760 Add fuel adder to launch fix #4777 2022-11-13 20:23:19 -05:00
rusefi 66f8d0e8f8 it has been almost two years we cannot be compatible forever 2022-11-13 20:05:04 -05:00
rusefi 4418a08e4d Ford SENT ETB bench test in NJ #4745 2022-11-13 11:23:54 -05:00
Matthew Kennedy 7b47e77e58 infer useOnlyRisingEdge by trigger type (#4621)
* most of the plumbing

* easy tests

* trigger types that are rise only

* configs

* change mode of various triggers

* vvt

* 898 test is now impossible 🥳

* s

* instant rpm test

* actually remove useOnlyRisingEdgeForTrigger

* remove vvtCamSensorUseRise

* s

* print

* one happy test

* another test

* happy testSomethingWeird

* happy testCamInput

* maybe fix it a different way

* better

* quad cam

* nb2 happy

* bad merge

* vvt test

* trigger.test1995FordInline6TriggerDecoder

* hellen gm e67

* changelog
2022-11-08 21:48:39 -05:00
rusefi 4bc9b25214 reducing ugly 2022-11-06 20:47:57 -05:00
rusefi 81438c14fa removing dead code 2022-11-06 20:39:40 -05:00
Andrey 65f5c00616 trigger refactoring: instance RPM #4740 2022-11-06 11:56:18 -05:00
Andrey 153a454472 trigger refactoring: instance RPM #4740 2022-11-06 11:47:23 -05:00
rusefillc d5c2c0294b minor trigger refactoring 2022-11-06 01:11:33 -04:00
rusefillc 2d96fb3ef6 minor trigger refactoring 2022-11-06 00:32:38 -04:00
GitHub gen-configs Action cdcc94bb02 Auto-generated configs and docs 2022-11-06 00:28:03 +00:00
Matthew Kennedy 32b170810e duplicate log field names (#4730)
* remove duplicate target lambda/afr

* names on fuel computer

* remove more copies

* sensor.java

* everybody loves hard dependencies on generated fields

* target afr gauge fix

* test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-11-05 20:23:09 -04:00
rusefi 8534e7790f nicer defaults API 2022-11-04 13:27:40 -04:00
rusefi cb61edaadc nicer defaults API 2022-11-04 12:37:28 -04:00
rusefillc 9dd78f785d target lambda & afr log fields broken #4727 2022-11-02 22:25:16 -04:00
GitHub gen-configs Action e4291ae90b Auto-generated configs and docs 2022-11-03 02:21:44 +00:00
rusefillc 955a90327d target lambda & afr log fields broken #4727 2022-11-02 22:17:00 -04:00
GitHub gen-configs Action 6eedad82c1 Auto-generated configs and docs 2022-11-01 21:00:55 +00:00
rusefillc 651101e6bc Too long field comment becomes log field name #4716 2022-11-01 16:51:51 -04:00
Andrey G cc9b1517ac compile warnings: signed vs unsigned and unused (#4713) 2022-10-30 09:47:53 -04:00
rusefillc d6f6dd3a56 refactoring: helper method 2022-10-30 00:17:42 -04:00
rusefillc bab3c58d85 refactoring: helper method 2022-10-29 23:55:14 -04:00
rusefillc c164a05f2c refactoring: helper method 2022-10-29 23:04:24 -04:00
GitHub gen-configs Action ae301c690f Auto-generated configs and docs 2022-10-28 08:36:50 +00:00
rusefillc 7cc4c5d394 SD card log fields list should be auto-generated #3985 2022-10-28 04:20:35 -04:00
rusefillc 1cd01b4b4b PROTEUS_GM_LS_4 2022-10-27 20:49:06 -04:00
rusefillc 0a0f803798 PROTEUS_GM_LS_4 2022-10-27 19:59:52 -04:00
GitHub gen-configs Action 82116cf998 Auto-generated configs and docs 2022-10-27 18:47:49 +00:00
rusefillc 1c374702be PROTEUS_GM_LS_4 2022-10-27 14:30:00 -04:00
rusefi 4db3a65a7e refactoring: extracting useful method 2022-10-25 21:55:54 -04:00
Matthew Kennedy ede3df75f5 dual MAF sensors (#4697)
* add second MAF

* output channesl

* move them around

* ok let's try at the very end

* is the logic wrong, or something else?

* ooh it's the sensor order
2022-10-24 12:41:05 -04:00
GitHub gen-configs Action 17379e99e4 Auto-generated configs and docs 2022-10-21 02:31:12 +00:00
Matthew Kennedy 890a8e0fed implement "ford mode" injector correction (#4686)
* implement "ford mode"

* missed the enum value
2022-10-20 22:25:39 -04:00
Matthew Kennedy acec8f2da3 VE blend tables (#4640)
* blendy ve too

* ui

* small optimizations

* save kinetis memory

* changelog
2022-10-19 06:42:22 -04:00
GitHub gen-configs Action 08ae39c10b Auto-generated configs and docs 2022-10-18 01:27:31 +00:00
rusefillc 69a503a0ee Lua aux gauge #4672 2022-10-17 21:21:23 -04:00
Matthew Kennedy 7116670fd0 build tweaks for size (#4661)
* don't align on non-cached mcu

* lua decimal point

* no snprintf

* sort sections by alignment

* unit tests
2022-10-13 20:30:30 -04:00
rusefillc 5b8914b6d4 startStopStateToggleCounter to live data 2022-10-06 22:21:02 -04:00
GitHub gen-configs Action 3f3e99145c Auto-generated configs and docs 2022-10-06 23:24:19 +00:00
rusefillc 16e74c9db7 startStopState to live data 2022-10-06 19:17:59 -04:00
GitHub gen-configs Action f49f0e2972 Auto-generated configs and docs 2022-10-06 02:05:46 +00:00
Matthew Kennedy a65190b008 remove 2jz trigger that's really 12 tooth crank (#4637)
* remove 2jz trigger that's really 12 tooth crank

* triggerimage hardcoded name
2022-10-05 21:59:17 -04:00
Matthew Kennedy 58a5569006 require ignition on for firing (#4628)
* require ignition on for firing

* too much havoc for a unit test

* patch up references

* last one

* fix changelog mangling

* fix the changelog template too

* bad merge

* fix the template again

* s

* fake battery voltage on hw ci

* ugh merge

* ugh merge
2022-10-04 20:36:03 -04:00
GitHub gen-configs Action 271c792c63 Auto-generated configs and docs 2022-10-05 00:19:38 +00:00
Matthew Kennedy 60fc30d34d remove 898 (#4634)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-10-04 20:12:57 -04:00
rusefi 826ec4619b need Proteus QC 2022-10-01 22:34:08 -04:00
rusefi 707bbe9782 need Proteus QC 2022-10-01 22:07:44 -04:00
rusefi 2b686c6724 need Proteus QC 2022-10-01 22:00:25 -04:00
rusefillc b80c75223a CAN side of automated testing #4630 2022-09-29 23:46:08 -04:00
rusefillc 587c448688 CAN side of automated testing #4630 2022-09-29 23:01:06 -04:00
rusefillc a177e01a5f CAN side of automated testing #4630 2022-09-29 20:55:38 -04:00
Andrey e6b8b08853 refactoring: encapsulation 2022-09-28 22:42:08 -04:00
rusefillc 1b95521866 engineSyncCam to be a drop-down not a number value #4611 2022-09-26 05:34:05 -04:00
Matthew Kennedy 90489edb96 schedule ignition charge by angle instead of tooth (#4513)
* schedule ignition charge by angle

* same mistake as #4536

* s

* wrap sparkAngle too

* AngleBasedEventNew

* function moved

* implement scheduleOrQueue

* prints
2022-09-25 11:00:55 -04:00
Andrey df0bb3ebc5 Honda K cam wheels #3405 2022-09-24 23:49:41 -04:00
Andrey 178fe15760 more inclusive configuration name 2022-09-24 23:49:41 -04:00
Andrey 3350ad6fbe Honda K cam wheels #3405 2022-09-24 23:49:41 -04:00
Andrey 5935c18beb K progress - just a rename 2022-09-24 23:25:36 -04:00
GitHub gen-configs Action e5c1268b94 Auto-generated configs and docs 2022-09-24 00:19:42 +00:00
rusefillc c6a2f2657b honda K enum rename 2022-09-23 20:13:14 -04:00
Matthew Kennedy 0dfba2a655 remove ignitionPin (#4608)
* remove ignitionPin

* now that's gone

* BMW test
2022-09-23 17:30:10 -04:00
rusefillc 55c5fd331c docs: private firmware enums vs public to code generated 2022-09-23 09:41:13 -04:00
Matthew Kennedy 4e78c4c922 two modes trigger scheduler (#4598)
* two modes trigger scheduler

* asOld

* hpfp
2022-09-20 05:28:23 -04:00
rusefillc a1143779f2 documenting biquad or else concerns 2022-09-19 12:06:00 -04:00
GitHub gen-configs Action faa0f46a87 Auto-generated configs and docs 2022-09-18 01:44:04 +00:00
Matthew Kennedy d84a290eca gppwm load axis can be another GPPWM channel (!!!!!) (#4587)
* gppwm load axis can be another GPPWM channel (!!!!!)

* explicit cast

* efiAssert not void

* kick
2022-09-17 21:38:06 -04:00
Matthew Kennedy 4106704385 add ignition adder tables (#4586)
* ign blend tables

* tweaks

* iterate

* tweaks

* axis values

* changelog
2022-09-16 20:07:04 -04:00
GitHub gen-configs Action 3b3707b8bd Auto-generated configs and docs 2022-09-16 20:10:48 +00:00
Matthew Kennedy 14068656ad more gppwm options (#4585)
* more gppwm options

* fix ui

* gppwm list size
2022-09-16 16:04:03 -04:00
rusefillc f919845c9c tear down Engine god object #4511
oh I hope this ends well
2022-09-15 23:41:06 -04:00
rusefillc 1c28ca0582 tear down Engine god object #4511 2022-09-15 21:46:01 -04:00
rusefillc ac03dc55d8 CUSTOM_INSTANT_MAP_DECODING 2022-09-15 15:07:31 -04:00
Andrey dc9504f33c deep rabbit holes are the best ones!
refactoring: encapsulation
2022-09-14 02:45:31 -04:00
Andrey f5a5764429 deep rabbit holes are the best ones!
refactoring: encapsulation
2022-09-14 02:35:55 -04:00
Andrey d9accf1772 deep rabbit holes are the best ones!
refactoring: encapsulation
2022-09-14 02:24:41 -04:00
Andrey 1d0f13fc41 deep rabbit holes are the best ones!
refactoring: encapsulation
2022-09-14 02:17:04 -04:00
Andrey aa0cffcfdb deep rabbit holes are the best ones!
refactoring: encapsulation
2022-09-14 02:06:52 -04:00
Andrey 579f3df7ad deep rabbit holes are the best ones!
refactoring: encapsulation
2022-09-14 01:53:17 -04:00
Andrey b439f27284 inline method to reduce confusion 2022-09-14 01:34:52 -04:00
Andrey 34f87a3683 inline method to reduce confusion 2022-09-14 01:24:19 -04:00
rusefillc f97c5ed8fd i suspect that no one cares about these 2022-09-14 00:34:04 -04:00
Matthew Kennedy 3358cdab11 resurrect EFI_CLOCK_LOCKS (#4572)
* resurrect EFI_CLOCK_LOCKS

* missing extern

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-09-13 14:07:25 -04:00
Andrey G c1c9d5222a tle8888 dead code (#4568) 2022-09-12 18:54:29 -04:00
rusefillc 21a1914bc8 at the moment efiWatchdog always fails on enable, would this fix? 2022-09-11 21:31:42 -04:00
rusefi 95e7358fce at the moment efiWatchdog always fails on enable, would this fix? 2022-09-11 21:15:25 -04:00
Andrey G 2b4012b279 dead code, reduce typedefs (#4566)
* Do lightweight checks first

* Dead getTimeIgnitionSeconds()

Dead since 5274cffff3

* Get rid of efitime_t.

Purpose are not clear. Use efitick_t where ticks are used,
use efitimeus_t for uS, use efitimems_t or efitimems64_t for mS.

* Fix unit tests

* Fix misc: stm32f1_test_project
2022-09-11 16:08:11 -04:00
Andrey G 1ca5988877 time routines refactor (#4563)
* Extract time helpers from engine_controller_misc to efitime.cpp

* Rename currentTimeMillis() to getTimeNowMs()

We have getTimeNowNt(), getTimeNowUs(), currentTimeMillis() and getTimeNowSeconds()
Align a bit.

find . -type f -name '*.c*' -exec sed -i 's/currentTimeMillis/getTimeNowMs/g' {} \;

* Rename getTimeNowSeconds() to getTimeNowS()

To align with Nt, Us, Ms versions.

* Some comments about getTimeNowLowerNt()
2022-09-11 13:06:03 -04:00
Andrey G c73a8c2f46 efiWatchdog: avoid converting time to float (#4562)
https://stackoverflow.com/questions/68690961/why-does-converting-int-to-float-lose-precision-in-c-programming-language
2022-09-11 05:46:55 -04:00
GitHub gen-configs Action 97f1ee67d6 Auto-generated configs and docs 2022-09-11 07:53:45 +00:00
rusefillc 921b97431f refactoring: type safety 2022-09-11 03:46:50 -04:00
rusefillc 8a2975cc1e dead value 2022-09-11 02:34:02 -04:00
rusefillc f9b849dd8f refactoring - reducing API between FW and Java 2022-09-11 02:16:47 -04:00
rusefillc 202c6ba366 send more of Engine Sniffer data #4560
new API & first usage
2022-09-10 23:42:59 -04:00
rusefillc d569f49874 Proteus with SD card outside of vehicle looses a second #4557
message correction
2022-09-10 11:43:25 -04:00
rusefillc 05fa36e744 Mark is asking for VIN number field #3967
GM says Hi
2022-09-10 01:05:31 -04:00
rusefillc 1964f2e893 Proteus with SD card outside of vehicle looses a second #4557 2022-09-09 20:17:02 -04:00
rusefillc f5231ebb85 "Blip" with trigger error on several boards #4552
exploratory watchdog
2022-09-09 19:21:29 -04:00
rusefillc 64ab64d7de "Blip" with trigger error on several boards #4552
exploratory watchdog
2022-09-09 18:27:16 -04:00
rusefillc b9140636b4 refactoring: better method name 2022-09-09 18:02:38 -04:00
rusefillc 9bb35a3d97 How does rusEFI handle 23 (or 46?) days of continues operation #4554 2022-09-09 17:21:58 -04:00
Andrey f8d275f64b tear down Engine god object #4511
just trying different things
2022-09-07 20:25:49 -04:00
Andrey a7c8ce61f4 brutal encapsulation 2022-09-07 19:37:11 -04:00
Andrey 8f14c44097 extracting prime_injection 2022-09-07 16:25:50 -04:00
Andrey 25b6d39802 os_access.h dead? 2022-09-07 15:56:45 -04:00
Andrey ab3d92b995 tear down Engine god object #4511
just trying different things
2022-09-05 04:24:17 -04:00
Andrey b6eddaee59 tear down Engine god object #4511
just trying different things
2022-09-05 03:38:44 -04:00
Andrey f8febab683 tear down Engine god object #4511
just trying different things
2022-09-05 03:18:32 -04:00
Andrey da7a4b6641 tear down Engine god object #4511
just trying different things
2022-09-05 02:59:38 -04:00
Andrey 76b74a85ba tear down Engine god object #4511
just trying different things
2022-09-05 02:44:06 -04:00
Andrey 1983a07078 tear down Engine god object #4511
just trying different things
2022-09-05 02:28:46 -04:00
Andrey 82fa9b191a refactoring: let's use different names for different things 2022-09-05 01:16:24 -04:00
Andrey 841cd4f962 refactoring: moving field 2022-09-05 00:53:05 -04:00
Andrey 9a9b33401c refactoring: splitting header where cpp was already split 2022-09-05 00:48:38 -04:00
Andrey e9e040895b different file names for different entities 2022-09-04 23:11:19 -04:00
GitHub gen-configs Action 0a37c6d963 Auto-generated configs and docs 2022-09-05 02:44:56 +00:00
Andrey 8fd5e46472 refactoring: reducing outputChannels copy 2022-09-04 22:38:05 -04:00
GitHub gen-configs Action 19addcb2ff Auto-generated configs and docs 2022-09-04 13:57:19 +00:00
Matthew Kennedy 99161cc523 use defs instead of magic numbers (#4523)
* use defs instead of magic numbers

* consecutive
2022-09-04 09:52:14 -04:00
Matthew Kennedy fba0906942 more granular trigger error messages (#4526)
* granular trigger error messages

* adjust test expectations

* explicitly test behavior
2022-09-04 09:15:24 -04:00
GitHub gen-configs Action 4857561a0d Auto-generated configs and docs 2022-09-03 21:35:26 +00:00
rusefi 42e95a0b34 refactoring: reducing outputChannels copy 2022-09-03 17:29:35 -04:00
Andrey f008a98b94 refactoring: reducing outputChannels copy 2022-09-03 17:12:47 -04:00
Andrey 93032c7c1f tear down Engine god object #4511
just trying different things
2022-09-03 11:07:26 -04:00
Andrey 73423a612a tear down Engine god object #4511
just trying different things
2022-09-03 11:05:27 -04:00
Andrey e56924310b tear down Engine god object #4511
just trying different things
2022-09-03 07:44:24 -04:00
rusefillc 78b28c8f90 typo 2022-09-03 07:26:49 -04:00
Andrey 51396deefa dead 2022-09-03 06:59:00 -04:00
GitHub gen-configs Action 59543fa221 Auto-generated configs and docs 2022-09-02 18:42:52 +00:00
rusefillc 54e05ba0fc moving state into specific class (#4520)
* moving state into specific class

* moving state into specific class
2022-09-02 14:38:03 -04:00
rusefillc 0e27ec6633 another huh (#4517)
* another huh

* why does this not compile
2022-09-02 13:10:21 -04:00
rusefillc f8e37e6af7 I am sure that's not magic (#4516)
* I am sure that's not magic

* forward declaration acts funny
2022-09-01 22:33:45 -04:00
Andrey 254385feb2 another dead line 2022-09-01 21:13:03 -04:00
Andrey 074e5c840b Revert "tear down Engine god object #4511"
This reverts commit 3094cc6be7.
2022-09-01 20:44:51 -04:00
Andrey b017ef8031 Revert "tear down Engine god object #4511"
This reverts commit 2d689f5a5a.
2022-09-01 20:44:51 -04:00
Andrey 22c9b6896d what a mess :( 2022-09-01 20:16:57 -04:00
Andrey 2d689f5a5a tear down Engine god object #4511
just trying different things
2022-09-01 20:16:41 -04:00
Andrey 3094cc6be7 tear down Engine god object #4511
just trying different things
2022-09-01 20:15:46 -04:00
Andrey 05e851c138 tear down Engine god object #4511
just trying different things
2022-09-01 19:24:19 -04:00
GitHub gen-configs Action 8785db9762 Auto-generated configs and docs 2022-09-01 23:18:26 +00:00
Andrey c9008214f5 tear down Engine god object #4511
just trying different things
2022-09-01 19:05:40 -04:00
Andrey d1917a2a62 tear down Engine god object #4511
just trying different things
2022-09-01 19:00:16 -04:00
Matthew Kennedy 716b0c1f60 extract updateInjectionAngle (#4512) 2022-09-01 18:48:03 -04:00
Andrey 80fa25488a tear down Engine god object #4511
smallest step maybe forward
2022-09-01 13:55:03 -04:00
Andrey 1ffa98ba89 a bit of dead code 2022-09-01 11:47:56 -04:00
GitHub gen-configs Action f19c219587 Auto-generated configs and docs 2022-09-01 15:03:34 +00:00
Andrey 436c294770 refactoring: reducing outputChannels copy 2022-09-01 10:58:16 -04:00
GitHub gen-configs Action bac4f9800f Auto-generated configs and docs 2022-09-01 14:39:52 +00:00
Andrey 09f0a540b6 refactoring: reducing outputChannels copy 2022-09-01 10:30:07 -04:00
Andrey b64e553d5d refactoring: reducing outputChannels copy 2022-09-01 01:06:49 -04:00
Andrey 2a949f6cd2 dead code 2022-09-01 00:23:33 -04:00
Andrey ea22fcbe95 refactoring: enum name clean-up 2022-09-01 00:23:33 -04:00
Andrey be790e2c44 less code is better 2022-08-31 23:14:20 -04:00
Andrey 3eaaf5e293 english do you speak it 2022-08-31 22:56:38 -04:00
GitHub gen-configs Action 0c4945eacf Auto-generated configs and docs 2022-09-01 02:17:58 +00:00
Matthew Kennedy 0863ac1a11 rename and fix skyactiv cam mode (#4505) 2022-08-31 22:12:45 -04:00
Matthew Kennedy d9ca1fb578 set a default, detect error (#4504) 2022-08-31 20:32:37 -04:00
Matthew Kennedy 4035d79a91 idle always uses instant rpm (#4499)
* idle always uses instant rpm

* configs

* fully inject rpm
2022-08-29 22:18:06 -04:00
Matthew Kennedy 2926570747 idle coasting table is RPM, not clt (#4487)
* idle coasting table is RPM, not clt

* default

* autoscale

* changelog
2022-08-29 08:15:04 -04:00
GitHub gen-configs Action e89eff7370 Auto-generated configs and docs 2022-08-29 03:13:09 +00:00
rusefillc 6be7438cf0 TT_VVT_MAZDA_MYSTERY 2022-08-28 22:57:44 -04:00
GitHub gen-configs Action 9a91c80632 Auto-generated configs and docs 2022-08-29 02:18:23 +00:00
rusefillc 35f17f38b3 TT_VVT_MAZDA_MYSTERY 2022-08-28 21:54:24 -04:00
rusefillc b3dfbd5a1d more proper fix for part of https://github.com/rusefi/rusefi/pull/4493 2022-08-27 22:28:29 -04:00
rusefillc 6968d74b3c separate atomic change (#4494)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-08-27 22:09:54 -04:00
rusefillc da9639ff5d Default GPPWM note 2022-08-27 15:19:35 -04:00
rusefillc c0391b16e4 docs 2022-08-25 23:50:00 -04:00
rusefillc 7e6bb54e7a saving 4 bytes of RAM? 2022-08-25 22:34:16 -04:00
rusefillc 72c4637512 progress or maybe even a fix of logging? 2022-08-25 22:24:35 -04:00
rusefillc fb3343dff5 this code is too dead 2022-08-25 22:09:22 -04:00
Matthew Kennedy 08d2aee17b dfco delay (#4482)
* dfco delay

* config

* using a function that doesn't exist? who does that

* test new behavior

* clearer test
2022-08-25 21:26:17 -04:00
Andrey 5392f8d13e https://github.com/rusefi/hellen154hyundai/issues/60
extra logging
2022-08-25 19:58:10 -04:00
GitHub gen-configs Action 1117be38e3 Auto-generated configs and docs 2022-08-25 22:51:12 +00:00
rusefi 10d77f92b3 https://github.com/rusefi/hellen154hyundai/issues/60 2022-08-25 18:44:23 -04:00
GitHub gen-configs Action 2629924a06 Auto-generated configs and docs 2022-08-24 22:15:50 +00:00
Matthew Kennedy dfd340e8c3 log the state of hasSynchronizedPhase() (#4478)
* s

* log whether we've synced phase

* trigger_state_primary

* need that file

* engine state is not the right spot
2022-08-24 18:11:05 -04:00
GitHub gen-configs Action 8577e7b882 Auto-generated configs and docs 2022-08-24 16:16:12 +00:00
rusefi 7340700b74 refactoring 2022-08-24 12:11:11 -04:00
rusefi 31df3da2cf refactoring 2022-08-24 12:02:39 -04:00
rusefillc ecdde2cf6d docs 2022-08-23 22:54:48 -04:00
GitHub gen-configs Action 3bbb26ed24 Auto-generated configs and docs 2022-08-24 02:19:34 +00:00
rusefillc 13f9e6d76a log the state of hasSynchronizedPhase() for future diagnostic help. 2022-08-23 22:14:32 -04:00
GitHub gen-configs Action 9ce8250a90 Auto-generated configs and docs 2022-08-22 22:32:47 +00:00
rusefillc 101d597d9a // todo: migrate to engineState->desiredRpmLimit to get this variable logged 2022-08-22 18:23:48 -04:00
GitHub gen-configs Action 525509a260 Auto-generated configs and docs 2022-08-22 15:19:58 +00:00
rusefillc 27b5db8789 Pavel Xenon is asking for EGT limping mode #3172 2022-08-22 11:12:34 -04:00
rusefillc 06018ada5b Idle air add via Lua fix #4465
AddressSanitizer being useful?
2022-08-21 00:58:59 -04:00
rusefillc 38e3a84ec9 Idle air add via Lua fix #4465 2022-08-21 00:32:34 -04:00
Matthew Kennedy 6218edd040 allow logging multiple warnings at once (#4414)
* allow logging multiple warnings at once

* comment

* .Code

* Revert ".Code"

This reverts commit 2b986bd50035aeec051d11aafd83fdbc1694351c.

* add a better comparison operator instead of conversion

* dot code

* Revert "dot code"

This reverts commit 35f6ae1007c41e3b30ea129a324f33ab4205036d.

* force gcc-10 maybe?

* Revert "force gcc-10 maybe?"

This reverts commit 4ddf8bcefddd354ccdc1da682c5fff1e68d44273.

* vq

* dot code

* dead

* dot code

* return may be null

* static_vector; maybe cyclic_buffer is broken or wrong tool for the job?

* move static vector

* put cyclic buffer back how it was since we don't use it now
2022-08-17 01:12:25 -04:00
GitHub gen-configs Action 1343699a2f Auto-generated configs and docs 2022-08-17 05:08:02 +00:00
rusefillc dfd4953f0d unconditional VVT PID logging 2022-08-17 00:47:31 -04:00
rusefillc bf15c5bc8a ISO-TP does not work on real car #4427 2022-08-09 13:12:51 -04:00
Matthew Kennedy eb442998dc misc fixes (#4411)
* fix warnings

* break to debugger in case of panic

* move the check

* s
2022-08-02 12:19:50 -04:00
Matthew Kennedy f49f6494fb report injector, ignition faults (#4408)
* report injector, ignition faults

* guard
2022-08-01 15:41:47 -04:00
Matthew Kennedy d4721bee89 implement sensor checker (#4395)
* implement sensor checker

* use default

* s

* fix

* properly report non-timeout errors

* it's not safe to read Value when invalid

* it's not safe to read Value when invalid
2022-07-30 17:08:48 -04:00
rusefillc ee455d23f8 [SECURITY] Cheap password protection against tune modification fix #4243
helping build
2022-07-30 14:33:11 -04:00
rusefillc e19b61aa5b [SECURITY] Cheap password protection against tune modification fix #4243 2022-07-30 12:23:53 -04:00
Matthew Kennedy 14b39b7b0a unexpected contains information about why it failed (#4393)
* unexpected can contain information

* info printing

* sensors return appropriate error codes

* remove reliance on undefined behavior

* s
2022-07-28 10:04:28 +03:00
GitHub build-firmware Action dcc43ee4b4 Auto-generated configs and docs 2022-07-27 09:38:56 +00:00
Matthew Kennedy 4865213537 Log gppwm output values (#4385)
* remove debug option

* purpose built output channels

* name

* embiggen sd log buffer

* Revert "embiggen sd log buffer"

This reverts commit 37432a56535b24c221ae92e9aaded23de4d4a579.

* embiggen SD log buffer
2022-07-27 12:10:00 +03:00
rusefillc 58b0aaeda1 cherry pick https://github.com/rusefi/rusefi/pull/4365 2022-07-21 15:26:41 -04:00
rusefillc 2bc4fd909d Launch control bug? "range" thing is confusing #4348
a typo and configurable behaviour without UI
2022-07-20 18:48:55 -04:00
rusefillc 116207e9aa Launch control bug? "range" thing is confusing #4348 2022-07-20 18:39:17 -04:00
rusefillc 2ba07e975e Launch control bug? "range" thing is confusing #4348
bug or dead code? at least making it a bit more obvious
2022-07-20 18:30:20 -04:00
rusefillc f9ba8bf82c Launch control bug? "range" thing is confusing #4348
refactoring: reducing confusion
2022-07-20 18:24:36 -04:00
rusefillc 8213252f45 code formatting #4348 2022-07-20 18:16:54 -04:00
Matthew Kennedy cd98ad35c2 use libfirmware for a few things (#4351)
* use libfirmware

* unit tests

* crc

* missed one

* bootloader
2022-07-16 02:22:51 -04:00
rusefillc 4ba73d1679 Detail on how to set up iDrive or equivalent CAN button control #226
boost lua
2022-07-14 14:04:21 -04:00
rusefillc 456d52e1fe Detail on how to set up iDrive or equivalent CAN button control #226
boost lua
2022-07-14 13:03:08 -04:00
rusefillc 9e8bfe92d8 #4308 progress 2022-07-14 12:36:55 -04:00
rusefillc db3f92edf4 Lua A/C Input #4333 2022-07-08 00:51:53 -04:00
GitHub build-firmware Action 1d148c57df Auto-generated configs and docs 2022-07-08 04:45:52 +00:00
rusefillc c23fe0fe9a Lua A/C Input #4333 2022-07-08 00:25:29 -04:00
Matthew Kennedy 16a39badff Error handling cleanup (#4332)
* dead code in stm32

* rusefi.cpp can have some noreturn

* handle lua panic

* unused error codes

* simplifications of error_handling.cpp

* comment

* put that back

* guard
2022-07-07 23:49:02 -04:00
GitHub build-firmware Action bba4a89f3e Auto-generated configs and docs 2022-07-08 03:21:52 +00:00
Matthew Kennedy 68fb838641 Lua hooks for gear detection (#4328)
* implement

* sim has vss

* write a test

* guard
2022-07-07 23:16:56 -04:00
rusefillc c51881a80d debug is set to idle mode, but none of the debug fields show anything #4335
reducing confusion
2022-07-07 23:04:19 -04:00
Matthew Kennedy 6267b8621a big delete ICU (#4270)
* big delete

* icu vestiges

* changelog
2022-07-07 15:27:59 -04:00
Matthew Kennedy b5d85334c3 hellen board ID detect improvements (#4307)
* move call

* board detections work correctly

* improve detector

* s

* break instead of return

* tests

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-07-02 05:19:02 -04:00
rusefillc 129e4df5bf Uniform reset pattern for all Lua adjustments #4308
no progress only preparation
2022-06-30 20:07:27 -04:00
GitHub build-firmware Action 784309ca86 Auto-generated configs and docs 2022-06-30 17:53:57 +00:00
rusefillc 970c1b3422 https://github.com/rusefi/rusefi_documentation/issues/226 2022-06-30 13:38:15 -04:00
rusefillc f24c42c605 https://github.com/rusefi/rusefi_documentation/issues/226 (#4306)
* https://github.com/rusefi/rusefi_documentation/issues/226

* https://github.com/rusefi/rusefi_documentation/issues/226

* https://github.com/rusefi/rusefi_documentation/issues/226

* https://github.com/rusefi/rusefi_documentation/issues/226

* https://github.com/rusefi/rusefi_documentation/issues/226

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-06-29 23:34:00 -04:00
Matthew Kennedy 67439afb96 rescale RPM values (#4300)
* rpm configs

* fix

* s

* s

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-06-29 18:48:30 -04:00
GitHub build-firmware Action 7d5f4cac7c Auto-generated configs and docs 2022-06-29 22:16:13 +00:00
Matthew Kennedy baa7d17799 use detected hellen board type on h72 (#4305)
* use detected hellen board type

* s

* s

* name
2022-06-29 18:10:29 -04:00
Andrey 65ffcc4f37 logging of live data structs was: data points #3614 2022-06-29 03:27:51 -04:00
rusefillc a363be35bb logging of live data structs was: data points #3614 2022-06-29 03:03:02 -04:00
rusefillc fb84241a48 logging of live data structs was: data points #3614 2022-06-29 03:01:13 -04:00
rusefillc 92119af801 logging of live data structs was: data points #3614 2022-06-29 02:37:24 -04:00
GitHub build-firmware Action 58c34d398e Auto-generated configs and docs 2022-06-29 06:21:31 +00:00
rusefillc 3283ce7348 logging of live data structs was: data points #3614 2022-06-29 02:16:15 -04:00
rusefillc 61f6423a42 logging of live data structs was: data points #3614 2022-06-29 02:09:37 -04:00
GitHub build-firmware Action 5247d1f717 Auto-generated configs and docs 2022-06-29 06:06:27 +00:00
rusefillc 2e28537776 logging of live data structs was: data points #3614 2022-06-29 01:49:59 -04:00
rusefillc 0072f3559c logging of live data structs was: data points #3614 2022-06-29 01:38:43 -04:00
rusefillc 2ab71f88e5 logging of live data structs was: data points #3614 2022-06-29 01:27:42 -04:00
GitHub build-firmware Action 09e89f54dc Auto-generated configs and docs 2022-06-29 05:23:15 +00:00
rusefillc 69be42ea33 https://github.com/rusefi/hellen-NB2-issues/issues/36 2022-06-29 01:15:11 -04:00
GitHub build-firmware Action 81f1df25e4 Auto-generated configs and docs 2022-06-27 00:12:14 +00:00
rusefillc 4cbc267c4b stealing from David 2022-06-26 19:40:54 -04:00
Matthew Kennedy 88ff234c91 Injector scheduled by angle, not tooth index (#4208)
* trigger decoder returns a result

* TriggerFormDetails

* s

* don't reach out and touch the engine

* injection doesn't care about teeth

* fix up existing tests

* oh look, we can actually test this logic now without trying to depend on trigger shape!!!

* fix a real bug

* simplify
2022-06-24 17:43:23 -04:00
GitHub build-firmware Action fbdebdc20e Auto-generated configs and docs 2022-06-24 00:20:41 +00:00
Matthew Kennedy 840bf6fb27 wideband live data (#4276)
* wideband live data magic

* test build happy

* test even happier
2022-06-23 20:04:26 -04:00
Matthew Kennedy 478549ccdf get rid of setSerialConfigurationOverrides (#4274)
* get rid of setSerialConfigurationOverrides

* missed a few

* kinetis
2022-06-23 19:42:09 -04:00
Matthew Kennedy 98e0297987 force o2 heating (#4275) 2022-06-23 14:32:34 -04:00
rusefi aae5b9fab6 miata 96 defaults 2022-06-23 14:30:41 -04:00
Matthew Kennedy be3e64fd2a clean up sd overrides (#4272) 2022-06-23 09:15:51 -04:00
GitHub build-firmware Action f6f0e2fcde Auto-generated configs and docs 2022-06-20 15:49:50 +00:00
rusefillc 60b8aa71de https://rusefi.com/forum/viewtopic.php?f=5&t=2353 2022-06-20 11:41:33 -04:00
GitHub build-firmware Action d8d7ab66f7 Auto-generated configs and docs 2022-06-20 11:50:51 +00:00
rusefillc 22e3ab8220 https://rusefi.com/forum/viewtopic.php?f=5&t=2353 2022-06-20 07:43:23 -04:00
Matthew Kennedy 40106224f0 Write output channels with new parser (#4219)
* let the new parser run

* s

* support for output channels

* usages reader uses new parser for output channels

* better debugging configuration

* bad merge

* test it a bit too

* more tests

* copy/paste the same content from other file

* s

* fix bugs where even the existing logic tries to write as an enum (?)

* jar

* print stream always unix

* print stream always unix

* use typedefs correctly

* jar

* stub support for multiple of each type

* s

* s

* name some more datas
2022-06-19 09:52:23 -04:00
rusefi 514531bc5c verbose trigger sync should reuse engineSnifferRpmThreshold #4259
reducing complexity
2022-06-18 14:17:36 -04:00
Matthew Kennedy 808287dc71 fix (#4254) 2022-06-17 21:20:47 -04:00
Matthew Kennedy 27c98f70fe cam/crank sync improvements (#4152)
* clarify getOperationMode

* wait for phase synchronize to transition to sequential mode

* one test

* encapsulate vvtSyncCounter

* test

* Add option to stop VVT sync above some RPM

* getOrZero

* Revert "synchronized Phase handling improvements fix #4099"

This reverts commit e64c8cfccb.

* Revert "m_hasSynchronizedSymmetrical handling improvements #4099"

This reverts commit 5454b8f509.

* remove synchronizedPhase

* only crank needs this

* changelog

* needsDisambiguation()

* test

* s

* bad merge

* put the timer back

* s

* s

* changelog

* test for new behavior

* correct parameter order

* spelling

* s

* s

* s

* tests merge happy

* bad merge

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-06-09 17:21:22 -04:00
GitHub build-firmware Action db929ea937 Auto-generated configs and docs 2022-06-02 01:31:50 +00:00
Matthew Kennedy c2f61dc95f Remove third trigger channel (#4226)
* remove third trigger

* clean up the honda mess

* there was nothing novel about this engine config

* include

* missed a few

* s

* x

* changelog

* don't set the third trigger input

* don't redefine the same thing 3 times

* only two inputs!

* test
2022-06-01 21:24:20 -04:00
Matthew Kennedy 56e7acd869 Trigger cleanup init (#4222)
* extra parameter

* name decoders in constructor

* s
2022-06-01 00:55:34 -04:00
Matthew Kennedy 5f1801f9d6 trigger configuration refactoring for clarity (#4212)
* This field was ignored.

* move pad out

* gone

* make trigger configuration a little clearer

* even simpler!

* format

* test fix
2022-05-30 19:36:47 -04:00
rusefillc 3cc4e3143c TS injector bench test pulse is too short fix #4192 2022-05-22 09:43:09 -04:00
rusefillc 5902a55739 B6 test mule 2022-05-21 02:25:43 -04:00
GitHub build-firmware Action ba5910652d Auto-generated configs and docs 2022-05-21 05:58:46 +00:00
rusefillc fb3b1120b1 B6 test mule 2022-05-21 01:45:09 -04:00
GitHub build-firmware Action 80a44ad098 Auto-generated configs and docs 2022-05-18 04:16:08 +00:00
Matthew Kennedy a0d9a584db prototype overcurrent protected driver (#4029)
* stub passthrough protected driver

* plumbing

* include the thing

* signature

* dead

* tdg pdm build task

* s

* pdm pins

* tdg

* init properly

* remove gaps

* board doesn't fatal on start
2022-05-17 23:49:18 -04:00
GitHub build-firmware Action 19522865a5 Auto-generated configs and docs 2022-05-18 03:21:00 +00:00
Matthew Kennedy eb257b2335 12 tooth crank mode (#4179)
* 12 tooth crank

* comment

* s

* rusefi config
2022-05-17 21:38:24 -04:00
rusefillc 62698dbe99 PDM dreams 2022-05-17 21:18:43 -04:00
rusefillc c03ee706bf default VR curve is needed not just by hellen, we have Proteus adapters with it now! 2022-05-17 17:54:11 -04:00
rusefillc ab711cddc5 dead code 2022-05-15 10:13:47 -04:00
Matthew Kennedy 0c9a45a2ac no enum to string for obd (#4168) 2022-05-13 06:41:06 +03:00
rusefillc 7ecab834ac docs 2022-05-12 04:56:23 -04:00
GitHub build-firmware Action c097309234 Auto-generated configs and docs 2022-05-11 10:51:10 +00:00
Matthew Kennedy fa835950a0 remove 360 trigger (#4165)
* remove 360

* s

* simplify that mess
2022-05-11 06:15:06 -04:00
Matthew Kennedy cf89b42716 move logic in to trigger decoder (#4162)
* move logic in to trigger decoder

* status loop

* minor cleanup

* s
2022-05-10 23:55:28 +03:00
Matthew Kennedy b243d3fca0 TriggerState -> TriggerDecoder (#4157) 2022-05-10 11:41:39 +03:00
Matthew Kennedy 2161751187 clarify doesTriggerImplyOperationMode (#4153) 2022-05-09 15:28:30 -04:00
rusefillc 178721c809 Remove value copy from controller into outputChannels #4095 2022-05-09 06:12:17 -04:00
rusefillc b6525e8acc User was unable to find Ford Mustang firing order 1-5-4-2-6-3-7-8 in the list #4150 2022-05-08 07:11:53 -04:00
rusefillc c557b4ec30 Revert "Ford Mustang firing order 1-5-4-2-6-3-7-8 fix #4150"
This reverts commit 086b4885c9.
2022-05-08 07:10:54 -04:00
rusefillc 086b4885c9 Ford Mustang firing order 1-5-4-2-6-3-7-8 fix #4150 2022-05-08 07:07:34 -04:00
GitHub build-firmware Action 37b0211bc7 Auto-generated configs and docs 2022-05-06 12:32:54 +00:00
Matthew Kennedy 997565ac22 Trigger gm 3 vs 5 (#4140)
* add parameter

* two modes

* add new mode to list

* format

* s

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-05-06 08:25:44 -04:00
rusefillc 0ed0702536 Make ETB low limit configurable fix #4119 2022-05-02 05:24:50 -04:00
GitHub build-firmware Action 7db1d3d0d2 Auto-generated configs and docs 2022-05-02 09:02:46 +00:00
Andrey 1f6e09de84 Technical debt: ENUM_32_BITS #3874
one step back
2022-05-02 04:38:04 -04:00
GitHub build-firmware Action a2366d187e Auto-generated configs and docs 2022-05-02 08:21:38 +00:00
rusefillc c84a32f194 Next steps 4 (#4130)
* Technical debt: ENUM_32_BITS #3874

* Make ETB low limit configurable #4119

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-05-02 04:13:59 -04:00
Andrey 03662e48c4 Move curves out of engineConfiguration in order to reduce RAM usage #4127 2022-05-01 23:43:43 -04:00
GitHub build-firmware Action 75166b15d1 Auto-generated configs and docs 2022-05-02 03:14:48 +00:00
rusefillc 78ca563cc4 Technical debt: ENUM_32_BITS #3874 2022-05-01 23:07:12 -04:00
GitHub build-firmware Action 9a2302eb40 Auto-generated configs and docs 2022-05-01 19:20:46 +00:00
rusefillc d8fc872fba Technical debt: ENUM_32_BITS #3874
hmm one step back
2022-05-01 15:13:01 -04:00
GitHub build-firmware Action 0c4e27e557 Auto-generated configs and docs 2022-05-01 18:18:04 +00:00
rusefillc 6aa2c54768 Technical debt: ENUM_32_BITS #3874 2022-05-01 13:51:36 -04:00
GitHub build-firmware Action 0d0a42a61d Auto-generated configs and docs 2022-05-01 12:09:38 +00:00
rusefillc 2b11b54003 Next steps (#4120)
* Technical debt: ENUM_32_BITS #3874

* Technical debt: ENUM_32_BITS #3874

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-05-01 08:02:51 -04:00
GitHub build-firmware Action 6418d7b11b Auto-generated configs and docs 2022-04-30 18:29:47 +00:00
rusefillc a0da677a1e this seems mostly dead? 2022-04-30 13:43:09 -04:00