Commit Graph

7188 Commits

Author SHA1 Message Date
GitHub set-date Action 57b5c06431 Update date 2021-10-05 01:00:40 +00:00
rusefillc 8a2472126a https://rusefi.com/forum/viewtopic.php?f=5&t=2143 Suzuki G13B tooth pattern 2021-10-04 19:59:51 -04:00
Andrey b0ae87054a https://rusefi.com/forum/viewtopic.php?f=5&t=2143 Suzuki G13B tooth pattern 2021-10-04 19:29:58 -04:00
rusefillc 16049a07e8 https://rusefi.com/forum/viewtopic.php?p=42468#p42468 2021-10-04 19:10:31 -04:00
GitHub build-firmware Action ed8eb9909a Auto-generated configs and docs 2021-10-04 23:00:48 +00:00
rusefillc 4901a69d17 https://rusefi.com/forum/viewtopic.php?p=42468#p42468 2021-10-04 18:43:37 -04:00
Matthew Kennedy 9806373dac
dead map (#3316) 2021-10-04 18:33:10 -04:00
Matthew Kennedy db12cdbe19
put MAP in the sensor model (#3292)
* map averaging in sensor model

* deadly, deadly code!

* mpxh

* Revert "deadly, deadly code!"

This reverts commit 346fe25267966a313145a809792dced84be348cf.

* comments

* sensor types

* last sensor

* channel init

* correct spot

* deinit properly

* simplify

* fix

* mocks

* map init test

* showInfo

* comment

* singleton identity function

* sensor info print

* multiple cylinder averaging buffer

* comments

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-10-04 17:18:08 -04:00
rusefillc eccdf18eec https://rusefi.com/forum/viewtopic.php?f=5&t=2143 Suzuki G13B tooth pattern 2021-10-04 11:25:27 -04:00
GitHub build-firmware Action feafc86948 Auto-generated configs and docs 2021-10-04 15:12:33 +00:00
GitHub build-firmware Action 39e2cf11ef Auto-generated configs and docs 2021-10-04 11:54:20 +00:00
Matthew Kennedy f6d492121e
shrink multi cylinder map average buffer (#3315)
* halve

* add tooltip, rename UI
2021-10-04 07:50:17 -04:00
GitHub build-firmware Action 3b99932a41 Auto-generated configs and docs 2021-10-04 03:52:19 +00:00
GitHub build-firmware Action 3f4f7e2a19 Auto-generated configs and docs 2021-10-04 03:12:22 +00:00
GitHub build-firmware Action 340af85fbf Auto-generated configs and docs 2021-10-04 02:34:18 +00:00
GitHub set-date Action d127ec8b5e Update date 2021-10-04 01:08:11 +00:00
GitHub build-firmware Action d3033273cb Auto-generated configs and docs 2021-10-03 21:19:15 +00:00
rusefillc 308a798eaa Nick has RPM spikes and engine hiccups #3269 2021-10-03 01:48:34 -04:00
rusefillc b4884498cb OBD error renames 2021-10-03 01:30:42 -04:00
rusefillc f57ac55d9e NB1 defaults #3299 2021-10-02 23:21:43 -04:00
GitHub set-date Action bd83d32f6c Update date 2021-10-03 01:05:45 +00:00
GitHub build-firmware Action a940d5de7b Auto-generated configs and docs 2021-10-02 19:33:17 +00:00
rusefillc 0f1a640258 proteus adapters 2021-10-02 13:20:19 -04:00
GitHub build-firmware Action ef6ecf540f Auto-generated configs and docs 2021-10-02 16:50:15 +00:00
GitHub build-firmware Action d01260bc4a Auto-generated configs and docs 2021-10-02 15:39:09 +00:00
GitHub build-firmware Action af88b88ecd Auto-generated configs and docs 2021-10-02 15:23:21 +00:00
GitHub build-firmware Action 564036ae75 Auto-generated configs and docs 2021-10-02 13:46:08 +00:00
Andrey fdab6c303c overdwell protection #3071 2021-10-02 01:33:26 -04:00
rusefillc 77ebc71f9a
overdwell protection #3071 (#3294) 2021-10-02 01:17:53 -04:00
Matthew Kennedy 0a550a70b1
overdwell protection (#3220)
* cancel event

* looks like it works...

* some tests are happy

* add enable bit

* undo test changes

* Revert "add enable bit"

This reverts commit 000afadd3fc560867302557afe26f76cd9fc4ed6.

* enable bit in engine

* only turn off for one test

* Revert "undo test changes"

This reverts commit 106db49e291b5a531a94de6ac177c6584d5337f6.
2021-10-02 01:10:24 -04:00
Andrey 2a2722c3cc SPARK_EXTREME_LOGGING 2021-10-01 23:50:32 -04:00
GitHub set-date Action fe2f857652 Update date 2021-10-02 00:59:00 +00:00
GitHub build-firmware Action 52d1b76397 Auto-generated configs and docs 2021-10-01 13:24:28 +00:00
Matthew Kennedy 114109bd83
dead mock iat/clt (#3293)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-10-01 09:20:08 -04:00
Matthew Kennedy 90e5fba5db
dead code in map avg (#3290)
* dead code in map avg

* while we're at it

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-09-30 23:05:58 -04:00
GitHub build-firmware Action 0f070101fb Auto-generated configs and docs 2021-10-01 01:57:38 +00:00
rusefillc f4dbcbf84f MPXH6400 CALIBRATION #3288 2021-09-30 21:53:31 -04:00
rusefillc f9f15e28d6 MPXH6400 CALIBRATION fix #3288 2021-09-30 21:44:50 -04:00
rusefillc aedc586017 MPXH6400 CALIBRATION #3288 2021-09-30 21:34:23 -04:00
GitHub set-date Action f847439a05 Update date 2021-10-01 01:04:01 +00:00
rusefi 62725b3b32 some cheap used junkyard Accelerometer #2225 2021-09-30 18:19:22 -04:00
GitHub build-firmware Action 9d369ef457 Auto-generated configs and docs 2021-09-30 20:15:37 +00:00
rusefillc 28a3807555 some cheap used junkyard Accelerometer #2225 2021-09-30 15:55:34 -04:00
GitHub build-firmware Action 8d395a8a63 Auto-generated configs and docs 2021-09-30 19:31:31 +00:00
rusefi 756c882162 verbose CAN bugfix 2021-09-30 15:27:49 -04:00
rusefi 87ebc35469 some cheap used junkyard Accelerometer #2225 2021-09-30 15:27:49 -04:00
GitHub build-firmware Action 7aaf56eeee Auto-generated configs and docs 2021-09-30 19:23:44 +00:00
rusefi 760bbb707b some cheap used junkyard Accelerometer #2225 2021-09-30 15:18:40 -04:00
rusefi 97c160bebe verbose CAN bugfix 2021-09-30 15:03:03 -04:00
GitHub build-firmware Action 9c0adce98c Auto-generated configs and docs 2021-09-30 04:25:05 +00:00
Matthew Kennedy 4b6a67f8f0
bye frequency map (#3285)
* bye freq map

* map.cpp

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-09-30 00:20:21 -04:00
GitHub build-firmware Action 1cfb1432e1 Auto-generated configs and docs 2021-09-30 03:55:33 +00:00
rusefillc 84c1b04de6 "luastats" command 2021-09-29 21:04:50 -04:00
GitHub set-date Action b498386673 Update date 2021-09-30 01:04:37 +00:00
GitHub build-firmware Action eaaa68f3c3 Auto-generated configs and docs 2021-09-30 00:02:34 +00:00
rusefillc 58cd414c0a miata NB1 is a weird half-VR/half-Hall sensor 2021-09-29 14:31:36 -04:00
rusefillc 484c58f267 How exactly did I brick Nick's Frankenso? #3278
refactoring & docs
2021-09-28 20:58:08 -04:00
GitHub set-date Action 48d80ce718 Update date 2021-09-29 00:57:54 +00:00
GitHub build-firmware Action 18b022551f Auto-generated configs and docs 2021-09-28 20:26:29 +00:00
GitHub build-firmware Action 0e6d0a7862 Auto-generated configs and docs 2021-09-28 18:29:16 +00:00
GitHub build-firmware Action 1ee7eb6ca3 Auto-generated configs and docs 2021-09-28 17:14:54 +00:00
rusefillc b64c499848 nb1 is 144 pin 2021-09-27 22:26:09 -04:00
rusefillc a6fbb98193 Complete fuel cut, maybe by wall wetting? Warning on decel (?) CUSTOM_OBD_SKIPPED_FUEL = 9010 fix #3225 2021-09-27 22:04:03 -04:00
GitHub set-date Action 8cdbad3349 Update date 2021-09-28 01:00:26 +00:00
GitHub build-firmware Action de4b59a95d Auto-generated configs and docs 2021-09-27 21:47:49 +00:00
rusefillc 6c9d21b130 multi spark: random bursts of CUSTOM_OBD_SKIPPED_SPARK = 9009 error code at Abricos's #3223 2021-09-27 17:30:27 -04:00
GitHub build-firmware Action 66c56b4505 Auto-generated configs and docs 2021-09-27 21:22:53 +00:00
rusefi 62b712be5c multi spark: random bursts of CUSTOM_OBD_SKIPPED_SPARK = 9009 error code at Abricos's #3223 2021-09-27 17:11:04 -04:00
GitHub build-firmware Action 7aab88f521 Auto-generated configs and docs 2021-09-27 20:51:03 +00:00
GitHub build-firmware Action ad519c1e06 Auto-generated configs and docs 2021-09-27 14:31:46 +00:00
rusefillc 1e2987f2b5 GPPWM usability: no one remembers which one does what fix #3270 2021-09-26 23:36:08 -04:00
GitHub build-firmware Action 4914e34c1f Auto-generated configs and docs 2021-09-27 03:24:16 +00:00
rusefillc 077f578944 refactoring 2021-09-26 23:08:37 -04:00
rusefillc bca1b11146 "Injector Duty cycle cut" 2021-09-26 20:59:32 -04:00
GitHub set-date Action 4087ce02f9 Update date 2021-09-27 00:59:10 +00:00
GitHub build-firmware Action fb15c81051 Auto-generated configs and docs 2021-09-27 00:48:16 +00:00
GitHub build-firmware Action 9d7060b8f8 Auto-generated configs and docs 2021-09-26 22:37:01 +00:00
GitHub build-firmware Action 8c4f8b885a Auto-generated configs and docs 2021-09-26 22:13:31 +00:00
rusefillc 8fabcd15ab wow that was a bad setting name 2021-09-26 18:07:49 -04:00
GitHub build-firmware Action 9d5fa917d9 Auto-generated configs and docs 2021-09-26 22:03:35 +00:00
GitHub build-firmware Action 9b437cf2d6 Auto-generated configs and docs 2021-09-26 21:56:36 +00:00
Andrey 65f8caa686 vr threshold test configuration 2021-09-26 02:21:21 -04:00
GitHub set-date Action 9eb98b8d16 Update date 2021-09-26 01:01:20 +00:00
rusefi 2d74840296 hellen and else are confused about pins they do not know about 2021-09-25 19:37:30 -04:00
rusefi 26dc3303bd hellen and else are confused about pins they do not know about 2021-09-25 19:06:24 -04:00
rusefi 19d2e73d84 luaaa revert by switching to a less messed up branch 2021-09-24 22:13:06 -04:00
GitHub set-date Action 47d39d39a5 Update date 2021-09-25 00:59:49 +00:00
rusefillc 5a65c0c924 fresh luaaa 2021-09-24 20:53:42 -04:00
GitHub build-firmware Action 804fe01ca5 Auto-generated configs and docs 2021-09-24 22:57:52 +00:00
rusefillc e242315773 more of LuaAdjustments 2021-09-24 00:34:06 -04:00
Matthew Kennedy 0978722225
lua hook for timing add (#3260)
* load script

* test

* needs more rams

* embiggen stack

* init system lua from lua thread

* de-embiggen stack

* infra

* hook

* system needs a little more

* semicolon

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-09-23 23:50:47 -04:00
Matthew Kennedy f41a2715a3
system lua: load a script! (#3231)
* load script

* test

* needs more rams

* embiggen stack

* init system lua from lua thread

* de-embiggen stack

* system needs a little more

* memory

* om nom nom delicious memory

* how much more memory could it want

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-09-23 21:45:14 -04:00
GitHub set-date Action fa4866e970 Update date 2021-09-24 01:00:01 +00:00
GitHub set-date Action b59079d2df Update date 2021-09-23 01:03:36 +00:00
Matthew Kennedy 34c98c1485
weak link stub (#3258) 2021-09-22 14:33:25 -04:00
GitHub set-date Action ff0c623ca6 Update date 2021-09-22 01:01:39 +00:00
GitHub build-firmware Action 80a5fb3264 Auto-generated configs and docs 2021-09-22 00:44:30 +00:00
Matthew Kennedy 8cd132b8a8
dead knock code (#3255)
* more unification

* hip stub

* comment

* guard

* channel idx

* include

* hip

* move in to engine

* hip9011

* dead stuff

* dead

* fsio

* lcd

* more dead
2021-09-21 20:40:20 -04:00
Matthew Kennedy 5de27e0b92
more knock sense unification (#3250)
* more unification

* hip stub

* comment

* guard

* channel idx

* include

* hip

* move in to engine

* hip9011
2021-09-21 17:39:21 -04:00
Matthew Kennedy 35e1a7cc0c
fix (#3253) 2021-09-21 00:27:14 -04:00
GitHub set-date Action 4aeb0dc4d0 Update date 2021-09-21 01:00:18 +00:00
Matthew Kennedy bf98546314
share some knock logic (#3246)
* knocky knock

* only if TS

* typo

* merge
2021-09-20 16:10:34 -04:00
Matthew Kennedy b5bde5c307
Turbo sensor (#3245)
* outputs rpm

* no msg param necessary

* new sensor type

* happy test
2021-09-20 15:39:41 -04:00
GitHub build-firmware Action dd4c831c13 Auto-generated configs and docs 2021-09-20 18:40:25 +00:00
Matthew Kennedy 0e2af73e9c
Knock count (#3240)
* knocky knocky

* check the right thing

* improve operator

* TS

* s

* bbbbb
2021-09-20 14:27:26 -04:00
GitHub build-firmware Action dc945ab2ee Auto-generated configs and docs 2021-09-20 03:07:06 +00:00
rusefillc 7ff8651693 36/2/2/2 is an ambiguous trigger wheel fix #3242 2021-09-19 22:33:47 -04:00
GitHub set-date Action e2ae9f6933 Update date 2021-09-20 01:02:15 +00:00
alxrMironov bb341c4c07
Turbo speed sensor implementation #2935 (#3209)
* Add turbocharger speed converter class

* Add turbocharger speed converter tests

* Add turbocharger speed sensor initialization functions

* Add turbocharger speed sensor to initialization

Co-authored-by: alxrMironov <330OMcorporative>
Co-authored-by: rusefillc <48498823+rusefillc@users.noreply.github.com>
2021-09-19 20:50:11 -04:00
rusefillc cc0fcd32be 36/2/2/2 is an ambiguous trigger wheel fix #3242 2021-09-19 17:26:13 -04:00
rusefillc c3965471a6 36/2/2/2 is an ambiguous trigger wheel fix #3242 2021-09-19 17:08:45 -04:00
GitHub build-firmware Action 3ae97c42a0 Auto-generated configs and docs 2021-09-19 02:16:56 +00:00
rusefi 6307ffd3a6 merc128: engine config defaults #3236 2021-09-18 22:12:22 -04:00
rusefillc 3e50319eb7 merc128: engine config defaults #3236 2021-09-18 21:27:17 -04:00
GitHub build-firmware Action 6610c80408 Auto-generated configs and docs 2021-09-19 01:15:51 +00:00
GitHub set-date Action 822c6a32fb Update date 2021-09-19 00:59:56 +00:00
rusefillc 38b9698fc4 let's throw gas at the problem! 2021-09-18 17:48:01 -04:00
rusefillc 3de124a1c6 refactoring 2021-09-18 17:44:55 -04:00
GitHub build-firmware Action 8a1153a775 Auto-generated configs and docs 2021-09-18 21:09:55 +00:00
GitHub build-firmware Action 4afc566f83 Auto-generated configs and docs 2021-09-18 20:22:21 +00:00
GitHub build-firmware Action 491206cadc Auto-generated configs and docs 2021-09-18 19:44:36 +00:00
GitHub build-firmware Action fb4e8af22a Auto-generated configs and docs 2021-09-18 19:05:07 +00:00
rusefillc cc217bbe55 doc 2021-09-18 14:57:24 -04:00
GitHub build-firmware Action 145879bc7f Auto-generated configs and docs 2021-09-18 04:22:21 +00:00
rusefillc c4ff0cd19d more firing orders! 2021-09-18 00:18:06 -04:00
rusefillc 9d0c043dc1 merc128: engine config defaults #3236 2021-09-18 00:17:52 -04:00
GitHub build-firmware Action 89ae040bed Auto-generated configs and docs 2021-09-18 03:16:13 +00:00
rusefillc 092cca03ab merc128: engine config defaults #3236 2021-09-17 23:10:36 -04:00
GitHub build-firmware Action 2772f2209c Auto-generated configs and docs 2021-09-18 03:04:40 +00:00
GitHub build-firmware Action d67c500545 Auto-generated configs and docs 2021-09-18 02:18:28 +00:00
GitHub set-date Action c97fd1d1b8 Update date 2021-09-18 00:57:43 +00:00
GitHub set-date Action 83d84d93b9 Update date 2021-09-17 01:05:05 +00:00
GitHub set-date Action cfdf1de6ef Update date 2021-09-16 01:02:32 +00:00
GitHub build-firmware Action 3a3627757e Auto-generated configs and docs 2021-09-15 12:21:12 +00:00
Matthew Kennedy 520d81d75c
Dwell voltage correction (#3234)
* cfg + impl

* ui

* value_or

* changelog

* fix
2021-09-15 08:07:33 -04:00
GitHub set-date Action 6b092f66c5 Update date 2021-09-15 00:58:26 +00:00
GitHub build-firmware Action 8c55583493 Auto-generated configs and docs 2021-09-14 20:46:35 +00:00
rusefi 235c932c71 Revert "Hellen Nissan defaults are no longer valid fix #3143"
This reverts commit 6ac7fc39
2021-09-14 15:51:58 -04:00
rusefi 6ac7fc3940 Hellen Nissan defaults are no longer valid fix #3143 2021-09-14 15:46:21 -04:00
GitHub build-firmware Action e2803b9bfa Auto-generated configs and docs 2021-09-14 01:07:07 +00:00
GitHub build-firmware Action fe7b678d23 Auto-generated configs and docs 2021-09-13 16:45:49 +00:00
rusefi eb13c54cd5 refactoring: VR magic constant, should be 3 anyway 2021-09-13 12:32:42 -04:00
GitHub build-firmware Action f3acca0ba2 Auto-generated configs and docs 2021-09-13 15:19:35 +00:00
Andrey G 1e2f85818f
flash-writer: increase stack for MFS (#3235) 2021-09-13 07:18:48 -04:00
GitHub set-date Action 2ed8459d92 Update date 2021-09-13 01:00:48 +00:00
rusefillc 7fc88fa304 https://rusefi.com/forum/viewtopic.php?f=5&t=2117 2021-09-12 13:58:03 -04:00
GitHub build-firmware Action c59a6bbdef Auto-generated configs and docs 2021-09-12 16:00:41 +00:00
Andrey 301f5e7ec4 https://rusefi.com/forum/viewtopic.php?f=5&t=2117 2021-09-12 11:56:12 -04:00
rusefi 83c0372729 https://rusefi.com/forum/viewtopic.php?f=5&t=2117
Ford TFI PIP
2021-09-11 23:42:05 -04:00
GitHub build-firmware Action be638f964c Auto-generated configs and docs 2021-09-12 03:21:19 +00:00
rusefi 48c516f9f7 https://rusefi.com/forum/viewtopic.php?f=5&t=2117
Ford TFI PIP
2021-09-11 23:16:22 -04:00
GitHub set-date Action 4bff7ca245 Update date 2021-09-12 01:01:01 +00:00
GitHub build-firmware Action 68655d73f8 Auto-generated configs and docs 2021-09-11 20:25:57 +00:00
GitHub set-date Action 973e35e030 Update date 2021-09-11 00:57:21 +00:00
GitHub set-date Action bbaa5bc390 Update date 2021-09-10 01:01:38 +00:00
rusefillc 410e449a22 https://rusefi.com/forum/viewtopic.php?p=42108#p42108
VVT table validation only if camInput defined
2021-09-09 14:11:48 -04:00
GitHub build-firmware Action 6c27a54764 Auto-generated configs and docs 2021-09-09 01:08:41 +00:00
GitHub set-date Action 26f288b23f Update date 2021-09-09 01:02:45 +00:00
GitHub build-firmware Action 08c0bdfe58 Auto-generated configs and docs 2021-09-09 00:56:12 +00:00
GitHub build-firmware Action a42cddd76a Auto-generated configs and docs 2021-09-09 00:37:00 +00:00
rusefillc ff6edb9790 refactoring: just a better constant name 2021-09-08 20:32:50 -04:00
GitHub set-date Action 564a83a08b Update date 2021-09-08 00:56:50 +00:00
Matthew Kennedy e5fef07db8
more fuel info in verbose CAN (#3229)
* more fuel info

* missed a comma
2021-09-07 17:39:30 -04:00
GitHub build-firmware Action d698db38b6 Auto-generated configs and docs 2021-09-07 18:23:28 +00:00
Matthew Kennedy 884532cb6f
boost debug fields (#3228) 2021-09-07 14:07:47 -04:00
GitHub set-date Action 19ecdba443 Update date 2021-09-07 00:56:25 +00:00
rusefillc 0159e8e32b Smart ECU: misfire detection #936 2021-09-06 15:29:36 -04:00
rusefillc 059a82bcb2 Smart ECU: misfire detection #936 2021-09-06 11:10:11 -04:00
GitHub build-firmware Action 95a0d86a33 Auto-generated configs and docs 2021-09-06 15:04:17 +00:00
rusefillc a555b7a00f Smart ECU: misfire detection #936 2021-09-06 10:35:26 -04:00
GitHub build-firmware Action b17bebcbb9 Auto-generated configs and docs 2021-09-06 14:17:07 +00:00
rusefillc 8c9ff949fe thank you Nik - dealing with false positive CUSTOM_OBD_LOW_FREQUENCY 2021-09-06 08:09:14 -04:00
rusefillc 0bdf334a8a hysteresis for GPPWM #3222 2021-09-06 07:58:17 -04:00
rusefillc 43bdabeb0c hysteresis for GPPWM #3222 2021-09-06 07:21:17 -04:00
GitHub set-date Action 1bcd9ca6a9 Update date 2021-09-06 01:03:48 +00:00
GitHub build-firmware Action 7ea3f337ee Auto-generated configs and docs 2021-09-06 00:26:59 +00:00
rusefillc 36792f55b5 hysteresis for GPPWM #3222 2021-09-05 20:18:14 -04:00
rusefillc 58c2bf8930 hysteresis for GPPWM #3222 2021-09-05 20:16:57 -04:00
GitHub build-firmware Action e07241b635 Auto-generated configs and docs 2021-09-05 19:05:59 +00:00
Andrey 3ed50dbea7 SD-card log fields improvement (warning counter & last code) #3162 2021-09-05 14:43:35 -04:00
rusefillc 3ff9568521 more details into CUSTOM_OBD_LOW_FREQUENCY message 2021-09-05 14:21:02 -04:00
GitHub build-firmware Action 7a9ebd7ca7 Auto-generated configs and docs 2021-09-05 18:08:59 +00:00
Matthew Kennedy c72bd07179
enable address sanitizer (#3217)
* enable asan

* lua

* this is dead and leaky

* leaky nissan

* fix pwm generator use-after-stack

* initializers

* prevent problems in case of invalid trigger shape

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-09-05 05:56:59 -04:00
GitHub set-date Action 8982148e1f Update date 2021-09-05 01:00:12 +00:00
Andrey G 39664d98a0
Subaru svx trigger update (not vvt) (#3210)
* trigger: subaru: SVX: some comments

* trigger: subaru: svx: fix crank 2 offset

* trigger: subaru: svx: rework a bit

* trigger: subaru: svx: fix dtc position
2021-09-04 11:42:12 -04:00
Matthew Kennedy 57e01e2064
start system lua VM (#3219)
* start system lua vm

* show used

* message

* null if script load fails
2021-09-04 07:57:58 -04:00
GitHub set-date Action 1064c40fd6 Update date 2021-09-04 00:57:30 +00:00
rusefillc 427cce7596
Lua timer (#3218)
* Lua: Timer class #3159

* Lua: Timer class #3159

* Lua: Timer class #3159

* Lua: Timer class #3159

* lua timer is happy (#3216)

* hooks are happy

* don't need that any more

* format

* update lib

* module

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
Co-authored-by: Matthew Kennedy <matthewkennedy@outlook.com>
2021-09-03 20:21:39 -04:00
GitHub build-firmware Action 9eef709eb1 Auto-generated configs and docs 2021-09-03 10:35:26 +00:00
Matthew Kennedy 206670e2c5
multiple lua heaps (#3215)
* multi lua heaps

* assert

* put it in a class

* put it in the class

* privacy
2021-09-03 03:45:23 -04:00
GitHub set-date Action 7b933369f6 Update date 2021-09-03 00:57:02 +00:00
rusefillc 42cddf810f my first Lua 2021-09-02 10:46:15 -04:00
GitHub set-date Action f55c5d6791 Update date 2021-09-02 00:58:14 +00:00
GitHub build-firmware Action e94052b35f Auto-generated configs and docs 2021-09-01 19:04:18 +00:00
GitHub build-firmware Action 9c9c66081f Auto-generated configs and docs 2021-09-01 11:59:13 +00:00
rusefillc 22a0b88872 my first Lua 2021-09-01 07:47:50 -04:00
GitHub build-firmware Action 258c080ed5 Auto-generated configs and docs 2021-09-01 06:47:17 +00:00
GitHub set-date Action 5aeac671c3 Update date 2021-09-01 01:02:19 +00:00
rusefillc f47320fd70 my first Lua 2021-08-31 12:32:05 -04:00
rusefillc 4e47e7bdb9 my first Lua 2021-08-31 11:37:43 -04:00
rusefillc 526340de78 Subaru svx vvt #3210
helping or not
2021-08-31 06:05:57 -04:00
rusefillc 1a1b7f95c0 Subaru svx vvt #3210
helping or not
2021-08-31 05:54:04 -04:00
GitHub build-firmware Action b4841d3714 Auto-generated configs and docs 2021-08-31 09:06:02 +00:00
rusefillc 6ea76921f4 docs 2021-08-31 04:27:31 -04:00
GitHub set-date Action 45b3d43239 Update date 2021-08-31 00:58:13 +00:00
GitHub set-date Action 5f9f12ebd4 Update date 2021-08-30 00:55:24 +00:00
GitHub set-date Action 47fc8858a5 Update date 2021-08-29 00:58:59 +00:00
Matthew Kennedy 730b26d034
remove old vss implementation (#3208)
* dead vss

* remove
2021-08-28 01:39:55 -04:00
GitHub set-date Action 195604f749 Update date 2021-08-28 00:53:18 +00:00
GitHub build-firmware Action 5e1701df6a Auto-generated configs and docs 2021-08-27 22:03:24 +00:00
Matthew Kennedy 6407e74ae2
disable closed loop boost below MAP threshold (#3206)
* boost minimum map

* changelog
2021-08-27 17:54:08 -04:00
rusefillc 22158cbc4a Revert "partial rollback was requested to revive HW CI"
This reverts commit 6834d0dd
2021-08-27 12:42:53 -04:00
GitHub build-firmware Action bcef98598b Auto-generated configs and docs 2021-08-27 11:16:03 +00:00
rusefillc 48a009fc33 Revert "Revert "memory savings (#3195)""
This reverts commit 0b3ef5f5
2021-08-27 06:18:05 -04:00
GitHub build-firmware Action 31696af765 Auto-generated configs and docs 2021-08-27 09:54:15 +00:00
Matthew Kennedy da5aaeda2b
detect "not scheduled" faster (#3200)
* fatal if not found

* handle not-scheduled

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-27 11:46:01 +03:00
Matthew Kennedy 0c6297e926
add cancel to scheduler (#3201)
* fw

* for tests

* simulator

* sim

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-27 11:30:06 +03:00
Matthew Kennedy 6c7b48b319
s (#3207) 2021-08-27 11:07:33 +03:00
Matthew Kennedy 98a98e920d
init the timer before we try to use it (#3205)
* init the timer before we try to use it

* format

* guard
2021-08-27 10:59:00 +03:00
rusefillc 0b3ef5f553 Revert "memory savings (#3195)"
This reverts commit 52a24ee7
2021-08-27 02:32:31 -04:00
GitHub set-date Action 8051ee4b0c Update date 2021-08-27 01:00:17 +00:00
rusefillc 6834d0dd65 partial rollback was requested to revive HW CI 2021-08-26 17:04:27 -04:00
Matthew Kennedy 52a24ee773
memory savings (#3195)
* d

* dead code

* all your ram are belong to me

* turn off gpiochips we don't need

* save

* save by using the same file handle

* smaller stack ok

* these can be on the stack

* this is closer

* what about ccm?

* probing available

* now probe ccm

* ccm

* put stuff in ccm

* fsio

* memory usage

* memory
2021-08-26 23:05:31 +03:00
Matthew Kennedy cf5d4cbe1c
add & test remove from linked list (#3199) 2021-08-26 23:03:09 +03:00
GitHub set-date Action 3fd6eb6f85 Update date 2021-08-26 00:54:08 +00:00
Matthew Kennedy 87e4e7e4cf
simpler way for limp manager to handle engine stop (#3194)
* simpler

* why would we lie about spinning?
2021-08-25 11:29:20 +03:00
GitHub set-date Action 3cfb4b7675 Update date 2021-08-25 00:56:06 +00:00
Matthew Kennedy a18b86a09b
start allowing ADC change while running (#3100)
* allow re-register of the same sensor

* add api to unsubscribe

* do it for tps

* clear the pin

* happy test

* maybe make afr happy for now

* tests build

* happy simulator

* active configuration

* check valid

* we need vbatt now

* manage all pin init in init_sensors.cpp

* don't need that

* cleanup

* thermistors

* do two phase reinit in the right place

* config vs engine

* finally the tests are happy
2021-08-24 16:41:16 -04:00
GitHub build-firmware Action 879170c08b Auto-generated configs and docs 2021-08-24 20:20:36 +00:00
rusefillc 767496f3f4 94/95 miata presets #3191 2021-08-24 16:03:50 -04:00
GitHub build-firmware Action 18518168e3 Auto-generated configs and docs 2021-08-24 19:55:16 +00:00
GitHub build-firmware Action 96633a92a5 Auto-generated configs and docs 2021-08-24 15:44:43 +00:00
GitHub build-firmware Action 5ae1b438c4 Auto-generated configs and docs 2021-08-24 14:14:57 +00:00
GitHub build-firmware Action 95de5e8e0e Auto-generated configs and docs 2021-08-24 11:39:25 +00:00
rusefillc 6b6c8abfc4 firing order for some 911 2021-08-24 07:31:55 -04:00
rusefillc 24ff3a5cd5 firing order for some 911 2021-08-24 07:28:56 -04:00
GitHub build-firmware Action 8ee165c0b2 Auto-generated configs and docs 2021-08-24 07:02:08 +00:00
GitHub build-firmware Action 9dab37d12c Auto-generated configs and docs 2021-08-24 05:23:27 +00:00
Matthew Kennedy d2b54428c0
cleanup missing fsio stuff (#3189) 2021-08-24 08:19:03 +03:00
alxrMironov f926d2ccba
Vehicle speed switching to frequency sensor #3106 (#3148)
* Add vehicle_speed_converter.h with realization.

* Add test_vehicle_speed_converter.cpp with realization.

* Add test_vehicle_speed_converter.cpp to Makefile

* Edit "VehicleSpeedSensor" from function pointer sensor to frequency sensor

* Fix "VehicleSpeedSensor" init function args

* Remove "VehicleSpeedConverter" empty constructor

* Edit vehicle_speed_converter.h code style

* Fix args and engine injection in "VehicleSpeedSensor" initialization procedure

* Remove old "Vehicle Speed" module initialization

* Revert "Remove old "Vehicle Speed" module initialization"

This reverts commit 100b7caa8c615c20eed3d0c23a49824b4e556148.

* Remove old "Vehicle Speed" module initialization pieces

* Revert "Revert "Remove old "Vehicle Speed" module initialization""

This reverts commit f559a726f1f7f5a7acacd1b6517e571743e84327.

* Debug changes

* Revert "Debug changes"

This reverts commit f7e2be1a8a46c6f3f93f14f002b2f2db539da8e2.

* Another debug changes

* More debug changes

* And more debug changes.

* Revert "Another debug changes"

This reverts commit 914fbb1df42c37e4b5ecbb119bb45e7cffdf4064.

* Revert "More debug changes"

This reverts commit 0b2d96d461c3cd9b0f1ae97ed110b8effe6b0cc6.

* Revert "And more debug changes."

This reverts commit 06ae8daded0e6e1c025e4e5058b47283f4adfe92.

* Add "Vehicle Speed" sensor reconfiguration

* Revert "Add "Vehicle Speed" sensor reconfiguration"

This reverts commit a089a6d563dd710004ce1a7da1744b0b4b90c3b1.

* Revert "Revert "Add "Vehicle Speed" sensor reconfiguration""

This reverts commit 7b2bb8af4b3caa547236ca59e4c4bdb3ac1200cc.

* Debug changes

* Another debug changes

* Fix another debug changes

* Another debug changes 2

* Revert "Another debug changes 2"

This reverts commit cfad55141eec125b2f1d35fb95d9f46b54f666b6.

* Revert "Fix another debug changes"

This reverts commit 9bc2c74a3be6fd896827ff48cf4580e7657529c0.

* Revert "Another debug changes"

This reverts commit 4337ed8cad8dff508d093944eb3f75e9a69e4a77.

* Edit class  FrequencySensor, make it more RAII

* Debug changes

* Debug changes 2

* Debug changes 3

* Revert "Debug changes 3"

This reverts commit 52a7054c122b5157540fe45a055a84b57478d722.

* Revert "Debug changes 2"

This reverts commit dec79fb913344ccb4b8614910ad62e6c129a243e.

* Revert "Debug changes"

This reverts commit eb08d7a529b55ba397a7dd2c154b76eab42f212b.

* Revert "Edit class  FrequencySensor, make it more RAII"

This reverts commit 3a0bb1d3f1dd23c1b04e4cc1c526cfdc67ae86a3.

* Remove VSS pin definition in "Citroen Berlingo" engine config.

This reverts commit 3a0bb1d3f1dd23c1b04e4cc1c526cfdc67ae86a3.

* Remove VSS pin definition in "Dodge Neon" engine config

Co-authored-by: alxrMironov <330OMcorporative>
2021-08-24 00:55:41 -04:00
GitHub build-firmware Action 9be0985079 Auto-generated configs and docs 2021-08-24 04:42:40 +00:00
Andrey G 780e91f38a
Bunch of small fixes related to EG33 board (#3188)
* Typo fix

* flash_main: always allow to write settings to ext NOR while running

* mc33810: do not enable outputs right after undervoltage

Wait for next active signal

* QSPI flash: set correct dummy cycles for fast read command

* board subaru: fix connector pinout. again.

* board subaru: fix SDMMC pin configuration

* board subaru: fix DMA conflict SPI4_RX vs SDMMC2
2021-08-24 07:39:03 +03:00
GitHub set-date Action e6bd9cbf68 Update date 2021-08-24 01:04:00 +00:00
GitHub set-date Action 468280d4e4 Update date 2021-08-23 00:52:29 +00:00
Andrey 7ab8986bd2 my first Lua 2021-08-22 01:41:54 -04:00
GitHub build-firmware Action 81d6edccbe Auto-generated configs and docs 2021-08-22 04:11:34 +00:00
Andrey d29529cbdd my first Lua 2021-08-22 00:00:20 -04:00
GitHub set-date Action 2f2f12a079 Update date 2021-08-22 00:55:30 +00:00
CrazyStriker 2a5acfb807
updated OEM map sensor values for Mazda 1 bar (#3185)
according to measurements
2021-08-21 18:31:05 +03:00
Matthew Kennedy ec9dcce377
de init frequency sensor (#3183)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-21 09:02:05 +03:00