Commit Graph

7905 Commits

Author SHA1 Message Date
rusefillc 265239ab4d Lua to read tsOutputs #3376 2021-12-13 19:46:41 -05:00
rusefillc 28449f3095 Lua to read tsOutputs #3376 2021-12-13 19:13:05 -05:00
GitHub build-firmware Action 49a69f982b Auto-generated configs and docs 2021-12-14 00:02:38 +00:00
rusefillc 79586d42a6 CAN wake-up #3660 2021-12-13 17:53:20 -05:00
Matthew Kennedy 7e3765650f
adjust mr18 vvt trigger (#3691)
* adjust mr18 trigger

* second gap, why not
2021-12-13 16:33:34 -04:00
GitHub build-firmware Action f17034d8b3 Auto-generated configs and docs 2021-12-13 03:49:36 +00:00
GitHub set-date Action 793b6a214f Update date 2021-12-13 01:03:08 +00:00
GitHub build-firmware Action f2830a8eae Auto-generated configs and docs 2021-12-12 01:59:32 +00:00
GitHub set-date Action 6d0e9cf914 Update date 2021-12-12 01:06:09 +00:00
rusefillc a5e80d05ba Lua to read tsOutputs #3376 2021-12-11 12:59:47 -05:00
Andrey 099f7d5a86 MAP phase sensing #3544
limiting to below cranking RPM limit
2021-12-11 02:56:19 -05:00
GitHub build-firmware Action 810c91f98a Auto-generated configs and docs 2021-12-11 07:07:00 +00:00
Matthew Kennedy 6de8364895
maybe more working MAP sampling (#3689)
* what if we do this

* cleanup

* s

* test
2021-12-11 03:01:28 -04:00
GitHub set-date Action 8016da48b7 Update date 2021-12-11 01:02:09 +00:00
GitHub build-firmware Action 9e5cb6a04c Auto-generated configs and docs 2021-12-10 04:01:36 +00:00
rusefillc 17879ef7de MAP phase sensing #3544 2021-12-09 22:16:42 -05:00
rusefillc 25134644e6 live data this 2021-12-09 22:02:47 -05:00
GitHub build-firmware Action 7e8e860d5a Auto-generated configs and docs 2021-12-10 02:59:11 +00:00
GitHub set-date Action 64ca0fd559 Update date 2021-12-10 01:03:39 +00:00
GitHub set-date Action 8edf16c2bd Update date 2021-12-09 01:09:00 +00:00
GitHub build-firmware Action 3952d4ec07 Auto-generated configs and docs 2021-12-09 00:07:09 +00:00
GitHub build-firmware Action 5f997f9769 Auto-generated configs and docs 2021-12-08 22:49:58 +00:00
Matthew Kennedy 4148ee76bf
smarter priming logic (#3674)
* ignition controller detects rising edge on voltage

* update test

* comment

* ignore negative transients

* tweak

* test

* priming happens on ignition-on

* priming has its own scheduling

* config & UI

* dead config

* implementation

* look, the test caught a bug

* keep the watchdog happy

* bad merge

* changelog

* easier to read the test

* test naming
2021-12-08 16:20:19 -05:00
GitHub build-firmware Action 99b153e445 Auto-generated configs and docs 2021-12-08 21:11:51 +00:00
rusefillc aa3d1db05e rusEFI console ISO-TP via PCAN #3667
fixing build
2021-12-08 15:42:00 -05:00
rusefillc f44370a5b8 MAP phase sensing #3544
gauge name fix
2021-12-08 12:44:43 -05:00
rusefillc 3a33e59b86 rusEFI console ISO-TP via PCAN #3667 2021-12-08 12:01:28 -05:00
rusefillc f104e4cc2f rusEFI console ISO-TP via PCAN #3667 2021-12-08 11:55:34 -05:00
Matthew Kennedy 2050580a16
prime upon ignition voltage, not on power on (#3662)
* ignition controller detects rising edge on voltage

* update test

* comment

* ignore negative transients

* tweak

* test

* priming happens on ignition-on

* priming has its own scheduling

* test

* dead adjacent line of code
2021-12-08 07:26:49 -05:00
GitHub build-firmware Action 161d75197d Auto-generated configs and docs 2021-12-08 12:10:47 +00:00
Matthew Kennedy c83e8ae5a5
AiM dash (#3673)
* aim dash

* enum
2021-12-08 07:04:59 -05:00
Andrey 24c42625ea Merge branch 'master' of https://github.com/rusefi/rusefi 2021-12-07 21:41:54 -05:00
Andrey 3a00fc4767 MAP phase sensing #3544
new implementation seems complete? 360 fix
2021-12-07 21:37:33 -05:00
Matthew Kennedy 91ec135cf8
ignition controller detects rising edge on voltage (#3636)
* ignition controller detects rising edge on voltage

* update test

* comment

* ignore negative transients

* tweak

* test
2021-12-07 21:28:04 -05:00
GitHub build-firmware Action aae32fd3ca Auto-generated configs and docs 2021-12-08 02:24:12 +00:00
Andrey 50038167d8 MAP phase sensing #3544
new implementation seems complete?
2021-12-07 21:08:25 -05:00
Andrey 940b04ab24 Let's always have TS structure so that unit tests can check values in outputChannels, kind of making outputChannels a god dump for state but whatever since Live View is coming 2021-12-07 20:18:47 -05:00
Andrey e9d16bfa13 MAP phase sensing #3544
new implementation
2021-12-07 20:00:50 -05:00
Andrey e72d57438a MAP phase sensing #3544
new implementation
2021-12-07 20:00:04 -05:00
rusefillc abc76689e4 remaining mock ADC fix #3672
docs
2021-12-07 19:45:02 -05:00
rusefillc 18be72968a Revert "dead code?"
This reverts commit b771082419.
2021-12-07 19:44:00 -05:00
rusefillc b771082419 dead code? 2021-12-07 19:33:19 -05:00
GitHub build-firmware Action 916fef0239 Auto-generated configs and docs 2021-12-08 00:32:18 +00:00
Matthew Kennedy 2d05d51cf8
consolidate tps accel (#3671) 2021-12-07 18:49:21 -05:00
Andrey 6e49d66385 MAP phase sensing #3544
look new unit test!
2021-12-07 16:58:10 -05:00
rusefillc b778aa7173 Pause CAN broadcast on engine stop #3665 2021-12-07 10:35:52 -05:00
GitHub build-firmware Action 3b61714fa6 Auto-generated configs and docs 2021-12-07 14:03:41 +00:00
rusefillc b4c07798b5 MAP phase sensing #3544 2021-12-07 08:57:23 -05:00
GitHub build-firmware Action 23c5361f4d Auto-generated configs and docs 2021-12-07 03:13:32 +00:00
GitHub build-firmware Action 97675bd89d Auto-generated configs and docs 2021-12-07 02:38:31 +00:00
rusefillc 1dd3370b56 https://rusefi.com/forum/viewtopic.php?f=18&t=2236 2021-12-06 21:31:49 -05:00
Matthew Kennedy 3a95e86112
calculate per-cylinder ignition timing (#3652)
* simplify cylinder phasing

* per cylinder timing

* s

* s

* s

* why was there a divide by 2?
2021-12-06 21:19:37 -05:00
GitHub build-firmware Action 17debda6b6 Auto-generated configs and docs 2021-12-07 01:25:03 +00:00
GitHub set-date Action feea6726ce Update date 2021-12-07 01:04:53 +00:00
GitHub build-firmware Action 6f9ad94d7b Auto-generated configs and docs 2021-12-07 00:05:13 +00:00
GitHub build-firmware Action 1c74ac44d5 Auto-generated configs and docs 2021-12-06 22:39:16 +00:00
rusefillc f826fe13aa MAP phase sensing #3544
trigger sync better gauges/logging
2021-12-06 17:04:05 -05:00
GitHub build-firmware Action 5a91b365f3 Auto-generated configs and docs 2021-12-06 18:35:35 +00:00
rusefillc 934b005acb trigger sync better gauges/logging 2021-12-06 13:08:41 -05:00
GitHub build-firmware Action a28651ba7a Auto-generated configs and docs 2021-12-06 05:48:26 +00:00
GitHub build-firmware Action 8fd9f82519 Auto-generated configs and docs 2021-12-06 02:28:13 +00:00
rusefillc dbb3de3618 tune via CAN #3361
pauseCANdueToSerial
2021-12-05 21:21:36 -05:00
GitHub set-date Action 9b9c06d5a1 Update date 2021-12-06 01:04:03 +00:00
GitHub build-firmware Action b0d7eeef8e Auto-generated configs and docs 2021-12-05 23:56:34 +00:00
Matthew Kennedy 7dc20b368a
Alternator controller is engine module (#3663)
* alternator is engine module

* user can't set pid period
2021-12-05 18:33:50 -05:00
GitHub build-firmware Action da890de9b3 Auto-generated configs and docs 2021-12-05 23:25:09 +00:00
GitHub build-firmware Action d9ea027fbd Auto-generated configs and docs 2021-12-05 19:42:45 +00:00
rusefillc 2f45ed205c MAP phase sensing #3544
option to look for high and low peaks
2021-12-05 14:25:26 -05:00
rusefillc 6384b12f48 lua is like a virus but not really 2021-12-05 14:25:26 -05:00
Matthew Kennedy 555a8d5f43
simplify cylinder phasing (#3650) 2021-12-05 10:46:35 -05:00
GitHub build-firmware Action c0605ab026 Auto-generated configs and docs 2021-12-05 03:35:58 +00:00
GitHub build-firmware Action 9a639fc0bc Auto-generated configs and docs 2021-12-05 03:19:16 +00:00
GitHub build-firmware Action 7ab14ca4c6 Auto-generated configs and docs 2021-12-05 00:28:26 +00:00
rusefillc 85da6d6ad1 MAP phase sensing #3544 2021-12-04 18:47:14 -05:00
rusefillc 0c91e77749 MAP phase sensing #3544
taking a step back to happy place
2021-12-04 18:21:10 -05:00
GitHub build-firmware Action ce32c26fa2 Auto-generated configs and docs 2021-12-04 23:06:32 +00:00
GitHub build-firmware Action fbd203fff2 Auto-generated configs and docs 2021-12-04 22:39:55 +00:00
rusefillc 004f28a60a MAP phase sensing #3544 2021-12-04 17:19:35 -05:00
rusefillc 45a95db67f MAP phase sensing #3544
trying longer average
2021-12-04 17:06:59 -05:00
rusefi 3bbcfeac59 helping master - undoing limp_manager change 2021-12-04 12:49:43 -05:00
rusefillc e407ae73df bringing code up-to-date 2021-12-04 12:18:52 -05:00
Andrei 170642977f fix engine stop for MAIN_RELAY_CONTROL 2021-12-04 11:55:03 -05:00
GitHub build-firmware Action 169c983283 Auto-generated configs and docs 2021-12-04 07:05:27 +00:00
Andrei 99daecb7c7 better ignition_voltage_detected message 2021-12-04 01:41:25 -05:00
GitHub build-firmware Action b321ac64be Auto-generated configs and docs 2021-12-04 06:33:12 +00:00
GitHub build-firmware Action e429f026f5 Auto-generated configs and docs 2021-12-04 06:08:52 +00:00
rusefillc 5f4b224b5f tune via CAN #3361
CAN testability
2021-12-04 01:01:48 -05:00
GitHub build-firmware Action 6f84ccbf77 Auto-generated configs and docs 2021-12-04 05:41:08 +00:00
rusefillc 33f3037eaa tune via CAN #3361 2021-12-04 00:33:54 -05:00
GitHub build-firmware Action f091b9a4e1 Auto-generated configs and docs 2021-12-04 05:10:01 +00:00
GitHub build-firmware Action ef765b6770 Auto-generated configs and docs 2021-12-04 03:31:31 +00:00
GitHub build-firmware Action 2afae264c6 Auto-generated configs and docs 2021-12-04 02:51:21 +00:00
Andrei c6fa50d196 CAN update 2021-12-03 21:44:15 -05:00
GitHub build-firmware Action 63a24ceda8 Auto-generated configs and docs 2021-12-04 02:14:41 +00:00
GitHub set-date Action 233551d31b Update date 2021-12-04 01:01:22 +00:00
GitHub build-firmware Action 5633053237 Auto-generated configs and docs 2021-12-03 15:14:27 +00:00
GitHub build-firmware Action 5e0d2ed891 Auto-generated configs and docs 2021-12-03 04:38:08 +00:00
GitHub build-firmware Action 3ee6d21c6d Auto-generated configs and docs 2021-12-03 03:45:48 +00:00
rusefillc 3a8e7e00f9 MAP phase sensing #3544 2021-12-02 22:32:07 -05:00
GitHub set-date Action 57dac128ad Update date 2021-12-03 01:11:52 +00:00
GitHub build-firmware Action dc45237830 Auto-generated configs and docs 2021-12-03 00:39:13 +00:00
Matthew Kennedy 25beb610b0
log actual tooth angle (#3646) 2021-12-02 19:22:33 -05:00
GitHub build-firmware Action 9313c7b3ed Auto-generated configs and docs 2021-12-02 22:42:07 +00:00
rusefillc fda7a3a775 Engine phase wrap around in log #3645
refactoring & docs
2021-12-02 17:06:20 -05:00
rusefillc e896afe2f6 Engine phase wrap around in log #3645
refactoring & docs
2021-12-02 17:06:20 -05:00
GitHub build-firmware Action c9aa40293c Auto-generated configs and docs 2021-12-02 06:56:04 +00:00
rusefillc 168a899ba9 how many more spelling mistakes?! 2021-12-02 01:06:40 -05:00
rusefillc f4ab23eb2b Requesting LUA Torque intervention #3638 2021-12-02 01:02:56 -05:00
GitHub build-firmware Action eee7a3a406 Auto-generated configs and docs 2021-12-02 05:29:18 +00:00
GitHub build-firmware Action 4392161ac9 Auto-generated configs and docs 2021-12-02 05:04:17 +00:00
rusefillc 56d52f01be refactoring 2021-12-01 23:33:26 -05:00
rusefillc bf98a53872 CAN progress 2021-12-01 22:57:21 -05:00
GitHub build-firmware Action f175393684 Auto-generated configs and docs 2021-12-02 02:59:01 +00:00
GitHub set-date Action 7056fd19ec Update date 2021-12-02 01:01:54 +00:00
rusefillc 0ce025b1f5 fix vBatt false-detection 2021-12-01 11:22:13 -05:00
GitHub build-firmware Action 040f68d4ec Auto-generated configs and docs 2021-12-01 14:21:38 +00:00
rusefillc c7db973434 proteus to have enlarged Lua 2021-12-01 09:06:16 -05:00
rusefillc ab34c8707f proteus to have enlarged Lua 2021-12-01 00:07:04 -05:00
GitHub build-firmware Action 4227e7afcb Auto-generated configs and docs 2021-12-01 04:23:33 +00:00
rusefillc 6d4b1e6020 proteus to have enlarged Lua
one step back
2021-11-30 22:35:29 -05:00
rusefillc c8b43e9c7a proteus to have enlarged Lua 2021-11-30 21:57:15 -05:00
GitHub build-firmware Action 6de2e59fb1 Auto-generated configs and docs 2021-12-01 02:00:42 +00:00
GitHub set-date Action 3d04e5b260 Update date 2021-12-01 01:08:34 +00:00
GitHub build-firmware Action 36fb3c195d Auto-generated configs and docs 2021-12-01 00:36:32 +00:00
Matthew Kennedy 890cbd8cf2
remove define_constructor (#3640)
* no define_constructor

* jar

* sim needs live doc
2021-11-30 19:31:54 -05:00
GitHub build-firmware Action 4f2b50b8d4 Auto-generated configs and docs 2021-11-30 22:57:09 +00:00
GitHub build-firmware Action 6219679d77 Auto-generated configs and docs 2021-11-30 21:40:56 +00:00
GitHub set-date Action 9be4bc307b Update date 2021-11-30 01:01:31 +00:00
GitHub build-firmware Action 59ad7d73e9 Auto-generated configs and docs 2021-11-29 22:53:01 +00:00
Matthew Kennedy a37c9bca9e
Remove the EFI_NO_CONFIG_WORKING_COPY option (#3630)
* no working copy

* oops
2021-11-29 16:44:45 -05:00
rusefillc e75590fd45 why so many channels are hidden in debug ? #3614 2021-11-29 14:11:19 -05:00
GitHub build-firmware Action 76477bbd46 Auto-generated configs and docs 2021-11-29 17:54:58 +00:00
GitHub build-firmware Action 061a5f7fed Auto-generated configs and docs 2021-11-29 17:35:56 +00:00
rusefillc 89f92e1694 why so many channels are hidden in debug ? #3614 2021-11-29 11:54:55 -05:00
GitHub build-firmware Action d5ec983f55 Auto-generated configs and docs 2021-11-29 16:49:40 +00:00
GitHub build-firmware Action 8913746065 Auto-generated configs and docs 2021-11-29 16:10:44 +00:00
rusefillc 11e81cfb57 why so many channels are hidden in debug ? #3614 2021-11-29 10:44:41 -05:00
rusefillc 818d12f68e why so many channels are hidden in debug ? #3614 2021-11-29 10:16:45 -05:00
rusefillc de0680209b why so many channels are hidden in debug ? #3614 2021-11-29 10:15:28 -05:00
GitHub build-firmware Action 81f4a3e5f0 Auto-generated configs and docs 2021-11-29 06:58:09 +00:00
rusefillc 67af7470d7 why so many channels are hidden in debug ? #3614 2021-11-29 01:13:04 -05:00
rusefillc 26997ab9e3 why so many channels are hidden in debug ? #3614 2021-11-29 01:02:40 -05:00
GitHub build-firmware Action f61f3e2834 Auto-generated configs and docs 2021-11-29 06:00:58 +00:00
GitHub build-firmware Action 247a772f7f Auto-generated configs and docs 2021-11-29 05:41:48 +00:00
GitHub build-firmware Action b466f82af1 Auto-generated configs and docs 2021-11-29 04:25:09 +00:00
GitHub build-firmware Action d0fc494aa1 Auto-generated configs and docs 2021-11-29 02:00:43 +00:00
GitHub set-date Action 9adf540d12 Update date 2021-11-29 01:03:05 +00:00
GitHub build-firmware Action 0ed6784f93 Auto-generated configs and docs 2021-11-28 23:53:55 +00:00
rusefillc d89e269567 Epic: Remove FSIO #2928 2021-11-28 17:47:16 -05:00
rusefillc 82397f149e Epic: Remove FSIO #2928 2021-11-28 17:31:38 -05:00
GitHub build-firmware Action b73316f3a4 Auto-generated configs and docs 2021-11-28 22:26:50 +00:00
GitHub build-firmware Action 3fae399b7c Auto-generated configs and docs 2021-11-28 21:41:29 +00:00
GitHub build-firmware Action cc3c4bca0e Auto-generated configs and docs 2021-11-28 21:26:05 +00:00
GitHub build-firmware Action 78963680bd Auto-generated configs and docs 2021-11-28 20:53:00 +00:00
GitHub build-firmware Action 262beffbeb Auto-generated configs and docs 2021-11-28 20:32:19 +00:00
Matthew Kennedy a071e2a168
verbose CAN bits picker (#3628)
* verbose bits picker

* s
2021-11-28 14:59:26 -05:00
GitHub build-firmware Action 0c578dde4a Auto-generated configs and docs 2021-11-28 19:46:47 +00:00
GitHub build-firmware Action a0c69408ca Auto-generated configs and docs 2021-11-28 19:18:32 +00:00
GitHub build-firmware Action 99716d83a9 Auto-generated configs and docs 2021-11-28 18:22:48 +00:00
GitHub build-firmware Action 2e97642dae Auto-generated configs and docs 2021-11-28 05:54:31 +00:00
Matthew Kennedy b8660db35e
make fan control live-data-friendly (#3626)
* make fan live-data-friendly

* script

* generated for happy simulator
2021-11-28 00:40:12 -05:00
GitHub set-date Action b7e8dbc137 Update date 2021-11-28 01:01:58 +00:00
GitHub build-firmware Action 6ac700c7cd Auto-generated configs and docs 2021-11-28 00:44:50 +00:00
Matthew Kennedy 71aff73081
not industrial (#3627) 2021-11-27 19:27:57 -05:00
GitHub build-firmware Action 026b0a344d Auto-generated configs and docs 2021-11-27 23:40:21 +00:00
GitHub build-firmware Action 785ca1b828 Auto-generated configs and docs 2021-11-27 19:21:04 +00:00
GitHub build-firmware Action 7b1b611559 Auto-generated configs and docs 2021-11-27 18:42:03 +00:00
rusefillc edb10af9f4 automation around outputs section #197 2021-11-27 13:36:37 -05:00
GitHub build-firmware Action eacba66f80 Auto-generated configs and docs 2021-11-27 18:23:12 +00:00
GitHub build-firmware Action bcf4a8c67c Auto-generated configs and docs 2021-11-27 17:44:20 +00:00
GitHub build-firmware Action e41a9ab7b0 Auto-generated configs and docs 2021-11-27 16:00:49 +00:00
GitHub build-firmware Action 43cda35d79 Auto-generated configs and docs 2021-11-27 14:01:08 +00:00
Matthew Kennedy d5363b814a
better VSS configuration (#3542)
* vss uses real values

* some defaults

* test and correct math

* km, not miles!

* comment

* tooltip

* that macro went away

* 100hz and default settings gives 9kph

* changelog

* order of operations safety

* make the test like the pwm test

* housekeeping

* this is why we need sensor automation

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-27 08:49:07 -05:00
GitHub build-firmware Action 08d85b5dfd Auto-generated configs and docs 2021-11-27 06:18:39 +00:00
GitHub build-firmware Action 7f3658bf71 Auto-generated configs and docs 2021-11-27 06:02:00 +00:00
GitHub build-firmware Action 6c62fdbdda Auto-generated configs and docs 2021-11-27 03:40:13 +00:00
rusefillc 6ff42cc031 automation around outputs section #197 2021-11-26 20:46:42 -05:00
GitHub set-date Action 973a4a24fb Update date 2021-11-27 00:58:56 +00:00
Matthew Kennedy 5eea2764f5
strtof (#3623)
* strtof

* do fewer divides
2021-11-26 18:39:45 -05:00
rusefillc e70f862f62 first edition 2021-11-26 16:02:21 -05:00
rusefillc 5c0795f034 random note 2021-11-26 15:48:42 -05:00
rusefillc 4b8c5f1671 harley 2021-11-26 14:41:35 -05:00
rusefillc bdde177e04 skipspark script kills ECU fix #3611 2021-11-25 22:40:19 -05:00
GitHub build-firmware Action c0d3de4128 Auto-generated configs and docs 2021-11-26 02:06:11 +00:00
Andrey 0ec8b8d46c reliable 32/2 trigger shape 2021-11-25 20:45:58 -05:00
GitHub build-firmware Action d8cb7b8059 Auto-generated configs and docs 2021-11-26 01:23:28 +00:00
GitHub set-date Action b5f3c1d6a2 Update date 2021-11-26 00:59:36 +00:00
GitHub build-firmware Action 4f101697a2 Auto-generated configs and docs 2021-11-25 23:51:06 +00:00
Matthew Kennedy f8403543d6
wall fuel tweaks (#3617) 2021-11-25 18:45:44 -05:00
Matthew Kennedy 0badb6b2ff
AC is EngineModule (#3604)
* AC is engine module

* missed a spot with main relay while we're at it

* TS
2021-11-25 07:59:31 -05:00
Andrey 12d5106614 isCylinderCleanupEnabled would be nice by default 2021-11-24 23:32:55 -05:00
Andrey 48ed80ffb9 MAP phase sensing #3544 2021-11-24 23:06:52 -05:00
Andrey 228d5ee810 MAP phase sensing #3544 2021-11-24 22:41:49 -05:00
Andrey e2fa1af527 MAP phase sensing #3544 2021-11-24 22:36:36 -05:00
Andrey f1b8acb1fd MAP phase sensing #3544 2021-11-24 22:35:56 -05:00
Andrey c2fa1cea78 minor progress 2021-11-24 22:35:56 -05:00
GitHub build-firmware Action d205bf7635 Auto-generated configs and docs 2021-11-25 03:31:35 +00:00
Matthew Kennedy 992689ced5
bye (#3609) 2021-11-24 22:03:17 -05:00
GitHub build-firmware Action 26709493e1 Auto-generated configs and docs 2021-11-25 02:45:07 +00:00
GitHub set-date Action ac4231a5b3 Update date 2021-11-25 01:01:18 +00:00
Matthew Kennedy bc1c2e78fd
fix map avg logging (#3606)
* s

* s
2021-11-24 18:24:39 -05:00
rusefi 91544f7658 live data for wastegate #3588 2021-11-24 15:22:10 -05:00
rusefi 8ed3020c07 live data for wastegate #3588 2021-11-24 15:07:48 -05:00
rusefi 4dad940160 live data for wastegate #3588 2021-11-24 15:03:06 -05:00
GitHub build-firmware Action fbdcca54a1 Auto-generated configs and docs 2021-11-24 19:48:08 +00:00
Matthew Kennedy 09bf989995
map averaging usability (#3603) 2021-11-24 14:39:54 -05:00
GitHub build-firmware Action ffe525c160 Auto-generated configs and docs 2021-11-24 19:31:50 +00:00
rusefillc 446252d77d MAP phase sensing #3544 2021-11-24 14:26:41 -05:00
GitHub build-firmware Action c46cf51dc5 Auto-generated configs and docs 2021-11-24 19:10:22 +00:00
rusefillc 284fea286b live data for wastegate #3588 2021-11-24 13:20:47 -05:00
rusefillc 3ac46c98f2 live data for wastegate #3588 2021-11-24 13:18:07 -05:00
rusefillc 3077f795c4 live data for wastegate #3588 2021-11-24 12:59:57 -05:00
GitHub build-firmware Action bfdbf70c07 Auto-generated configs and docs 2021-11-24 13:02:01 +00:00
Matthew Kennedy 81fffe87b7
main relay doesn't use fsio (#3580)
* fuel pump

* s

* call correct callback

* more dead

* test adjustment

* don't overflow

* don't need separate function

* java

* give it a name

* generated

* generated

* add to generate script

* import *

* this is so cheap we don't need a flag

* main relay

* plumbing

* dead fsio stuff

* test it

* by 100%, we mean 99.98%
2021-11-24 07:47:51 -05:00
GitHub set-date Action e59ee8deef Update date 2021-11-24 01:00:22 +00:00
GitHub build-firmware Action 25d175b47a Auto-generated configs and docs 2021-11-23 21:48:05 +00:00
rusefillc 794ec5e2b8 well Lua wants to be BIG 2021-11-23 16:40:04 -05:00
GitHub build-firmware Action 7287d41467 Auto-generated configs and docs 2021-11-23 21:00:29 +00:00
rusefillc c75291f415 live data for wastegate #3588
i want to persist state so no 'const' sorry
2021-11-23 15:52:43 -05:00
rusefillc ca1e420073 live data for wastegate #3588 2021-11-23 15:51:30 -05:00
rusefillc 719e3f9052 LUA CANbus expect 29bit ID by default #3592
not great quick fix
2021-11-23 15:41:43 -05:00
GitHub build-firmware Action a4557c969f Auto-generated configs and docs 2021-11-23 20:06:24 +00:00
rusefillc d21541934d live data for wastegate #3588 2021-11-23 15:02:03 -05:00
rusefillc ead3853f9a live data for wastegate #3588 2021-11-23 15:00:47 -05:00
rusefillc c29bb71556 spelling 2021-11-23 07:57:43 -05:00
GitHub set-date Action ad5c0fc57c Update date 2021-11-23 01:00:35 +00:00
GitHub build-firmware Action 174b03e8be Auto-generated configs and docs 2021-11-22 23:12:52 +00:00
Matthew Kennedy 3334a6963c
oh my god we've had no asserts (#3595) 2021-11-22 17:52:03 -05:00
rusefillc 42da5746f4 j1850 SAE crc8 Lua 2021-11-22 14:19:19 -05:00
GitHub build-firmware Action 66e9a5e9ae Auto-generated configs and docs 2021-11-22 18:42:24 +00:00
rusefillc a369e7e3d3 unusedLogFormat 2021-11-22 13:37:06 -05:00
Scott Smith 9668626008
Move LuaThread to CCM, and shuffle a couple items out. (#3587)
Lua's stack probably doesn't need DMA.  Allows us to group more of our unused RAM together
in one place.
2021-11-21 20:35:03 -05:00
GitHub set-date Action cd08e2d153 Update date 2021-11-22 01:01:34 +00:00
GitHub build-firmware Action 62e11e18e4 Auto-generated configs and docs 2021-11-21 13:16:25 +00:00
Scott Smith ba4a00d3bb
Drop SingleChannelStateSequence in favor of MultiChannelStateSequenceWithData (#3519)
* Drop SingleChannelStateSequence in favor of MultiChannelStateSequenceWithData

Most all the users were Multi* anyways, so just improve that:
1. Allow up to 8 waveforms to share one byte per timestamp.  It could be better but this is simple
   and gets most of the benefit.
2. Use a wrapper structure to handle reserving space for the arrays.  Makes the interface simpler
   and more rigid.  Also saves 4 bytes per Multi*.  Downside is access is now via -> and *,
   not . and (nothing).

Saves 224 bytes of BSS, 1832 bytes of RAM4/CCM, 952 bytes of TEXT, and 103 bytes of RODATA

* Instantiate a base_t to make debugging easier.
Also fixes crash on real firmware by using &m_base instead - LTO optimization issue?

* No magical templated StaticAlloc thingy.  Just virtual functions.
2021-11-21 04:56:07 -05:00
Matthew Kennedy 9a28e8d938
correctly compute engine revolution number (#3586)
* add param

* first revolution is revolution 0, not revolution 1

* would you look at that, we sync one rev quicker!

* changelog

* rpm value
2021-11-21 09:01:27 +03:00
GitHub set-date Action 3b818a9585 Update date 2021-11-21 01:02:55 +00:00
Matthew Kennedy a342bee57e
rpm calculator refactoring, gm 24x test (#3585)
* data

* stub test

* use getTimeSinceSyncPoint

* s

* s

* no

* test

* stray ;

* those were 1/10 what they were supposed to be

* actually check something

* dead log line?
2021-11-20 14:59:02 +03:00
Scott Smith cbc7c61b3e
Fix potential buffer overrun in cyclic_buffer. (#3583)
This exposed a buffer overrun, so double the size of the buffer (to account for 720 degree engine
cycle vs 360 degree crank events).

Also use proper numeric limits when computing min/max.
Finally, add a lock around the call to cyclic_buffer that actually caused the contention.
2021-11-20 03:01:11 -05:00
Matthew Kennedy bb57a4b084
detect more overflows with asan (#3582)
* overflow detector

* type list dynamic allocate

* fix the buffer length

* comment

* pr fb

* sanitize sim

* fix sim sanitizer bug

* didn't mean to turn off optimization for sim

* asan can do that, if you turn it on!

* cleaning
2021-11-20 01:38:39 -05:00
rusefillc e54d3b9e06 On -fpermissive in Windows in unit tests #3581 2021-11-20 00:16:03 -05:00
rusefillc ecac07f938 brave refactoring 2021-11-19 23:56:52 -05:00
GitHub build-firmware Action 71bf1f7d1a Auto-generated configs and docs 2021-11-20 04:16:43 +00:00
Scott Smith 5bc1949aef
Basic framework for high pressure fuel pump control (#3476)
* Basic framework for high pressure fuel pump control

* Many changes

Move calculations to fast callback
Move main object into Engine
Respond to pin changes without requiring a reboot

* Use EngineModule for HpfpController
Schedule pin off after executing pin on so we are sure it ends, even if the motor stops.
Test scheduling.
Less RAM use by only having one event and reordering fields.

* Make scheduling test actually useful - need non-0 activation angle.

Co-authored-by: rusefillc <48498823+rusefillc@users.noreply.github.com>
2021-11-19 23:06:51 -05:00
GitHub build-firmware Action f8f52c4c1f Auto-generated configs and docs 2021-11-20 03:34:23 +00:00
Matthew Kennedy d40ca0f581
fuel pump doesn't use fsio (#3576)
* fuel pump

* s

* call correct callback

* more dead

* test adjustment

* don't overflow

* don't need separate function

* java

* give it a name

* generated

* generated

* add to generate script

* import *

* this is so cheap we don't need a flag
2021-11-19 22:23:12 -05:00
GitHub set-date Action 3288f42fbf Update date 2021-11-20 00:59:29 +00:00
GitHub build-firmware Action 0b4ca8346b Auto-generated configs and docs 2021-11-19 12:08:29 +00:00
rusefillc 684622e476 debug mode for skipped count for 4 cylinders #3570 2021-11-19 07:02:21 -05:00
Matthew Kennedy 29613ec403
fast exti interrupt handoff (#3497)
* fast exti

* test code snuck in

* full interrupt disable :(

* do it the old fashioned way

* enable interrupt

* consume stored timestamp

* dead

* h7 maybe

* guard maybe

* non-stm32

* exti 16 wrong on f4/f7

* CORTEX_MAXIMUM_PRIORITY

* safer but uglier

* s

* chibios

* no const

* initializers

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-19 06:37:52 -05:00