Commit Graph

1522 Commits

Author SHA1 Message Date
Matthew Kennedy 5ee6a353f8 swapped wall wetting channels (#3824)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-01-21 18:09:28 -05:00
GitHub build-firmware Action cd3bbb39d9 Auto-generated configs and docs 2022-01-21 20:59:16 +00:00
Matthew Kennedy 20076e6490 Raw map and ego gauges (#3822)
* raw afr and map

* gauges

* s

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-01-21 15:53:16 -05:00
Andrey a8e016f162 migrating to SensorType::Rpm API 2022-01-20 22:27:48 -05:00
Andrey e05d710086 migrating to SensorType::Rpm API 2022-01-20 22:06:20 -05:00
rusefillc ed584dd904 GDI Epic #1448 2022-01-18 16:16:17 -05:00
rusefillc 7ac8d9d83d GDI Epic #1448 2022-01-18 12:31:12 -05:00
rusefillc ffca542785 On m_event vs lobe vs scheduling #3804 2022-01-18 00:45:24 -05:00
rusefillc 3e8207f393 GDI Epic #1448 2022-01-18 00:27:20 -05:00
rusefillc 65c96dbb6f https://github.com/rusefi/alphax-2chan/issues/14 2022-01-16 23:43:53 -05:00
rusefillc 3c0d9b9eae USE_OPENBLT 2022-01-16 19:56:49 -05:00
GitHub build-firmware Action fde7324cc0 Auto-generated configs and docs 2022-01-15 22:45:28 +00:00
rusefillc f2261618ba Gear detection based on RPM to VSS ratio #3779 2022-01-15 17:30:08 -05:00
rusefillc 908d573e47 Gear detection based on RPM to VSS ratio #3779 2022-01-14 21:32:46 -05:00
GitHub build-firmware Action 72ac03a8c4 Auto-generated configs and docs 2022-01-12 21:38:47 +00:00
rusefillc 9d3d7b046a 't' in terminal does not print seconds properly fix #3780 2022-01-12 16:03:40 -05:00
Matthew Kennedy 78119b7df4 improve maf output channels and logging (#3743)
* maf channels

* s

* binary log

* if only I could type

* can

* instant RPM too

* s

* test

* graceful zero rpm

* test works

* float near
2022-01-12 15:41:35 -05:00
rusefillc bb77e30f0c logging of live data structs #3614 2022-01-11 22:54:57 -05:00
rusefillc f9054b0cde 't' to print current date 2022-01-11 22:47:46 -05:00
rusefillc 6fd0ae24d9 RE usability: live data for idle controller 2022-01-10 19:48:58 -05:00
rusefillc 9b38a7d445 limp ClearReason 2022-01-08 22:13:20 -05:00
rusefillc 72fb656d6c happy new year 2022-01-08 20:16:01 -05:00
rusefi 553d63b620 disablePrimaryUart for MRE for GDI 2022-01-08 19:38:02 -05:00
rusefillc 855836b389 mk files refactoring 2022-01-06 21:44:37 -05:00
rusefillc 433ff5c62e Live Data progress 2022-01-06 19:02:35 -05:00
rusefillc ca6b7bba23 Live Data progress 2022-01-06 17:58:59 -05:00
rusefillc e7c28e685e Live Data progress 2022-01-06 15:20:58 -05:00
rusefillc 0445ea9f57 Live Data progress 2022-01-06 13:13:07 -05:00
rusefillc 3887ac8634 Live Data progress 2022-01-06 12:37:48 -05:00
rusefillc 272fb450d0 Live Data progress 2022-01-06 12:21:43 -05:00
Andrey f4f3f8cfd9 Live Data progress 2022-01-06 12:01:37 -05:00
Andrey 6c1b363d37 Live Data progress 2022-01-05 20:15:23 -05:00
GitHub build-firmware Action e4f828c0a1 Auto-generated configs and docs 2022-01-05 06:49:51 +00:00
GitHub build-firmware Action fd23938b2a Auto-generated configs and docs 2022-01-05 05:09:04 +00:00
rusefillc d077a2c53d Check available RAM at runtime #3335 2022-01-04 18:15:40 -05:00
GitHub build-firmware Action af1a69a84b Auto-generated configs and docs 2022-01-03 23:46:25 +00:00
rusefillc f4d385aca2 helping TS with explicit padding? 2022-01-03 18:40:02 -05:00
rusefillc 20bcb99ee0 live data progress 2022-01-02 01:17:22 -05:00
rusefillc 62abbd173e GDI Epic #1448 2022-01-01 17:18:11 -05:00
rusefillc 1707805dbf reducing potential confusion with "NO PIN" in engine sniffer
https://rusefi.com/forum/viewtopic.php?p=43812#p43812
2022-01-01 12:10:55 -05:00
GitHub build-firmware Action e5fba9e080 Auto-generated configs and docs 2021-12-30 22:59:03 +00:00
rusefillc 9c3fa033e2 GDI Epic #1448 2021-12-30 17:41:57 -05:00
GitHub build-firmware Action 1cf58391b1 Auto-generated configs and docs 2021-12-30 22:03:20 +00:00
rusefillc e1d8a7648f GDI Epic #1448 2021-12-30 16:56:15 -05:00
GitHub build-firmware Action 45eab7f8a0 Auto-generated configs and docs 2021-12-21 23:15:00 +00:00
Matthew Kennedy b1aa9449ec log channel improvements (#3710)
* WB info

* fix a bunch of unsigned vs signed, move some TPS stuff too

* s
2021-12-21 18:09:40 -05:00
rusefillc dad928a627 Second CAN #3687 2021-12-21 00:48:13 -05:00
rusefillc d767b13360 ISO-TP minor progress 2021-12-19 00:54:31 -05:00
rusefillc 9500ccb474 PCAN sandbox - error requestOutputChannels #3698
improving logging
2021-12-19 00:43:22 -05:00
Andrey 62d8ba2ae7 PCAN sandbox - error requestOutputChannels fix #3698 2021-12-19 00:29:30 -05:00
rusefillc 92f9335d73 PCAN sandbox - error requestOutputChannels #3698
improving logging
2021-12-19 00:00:54 -05:00
rusefillc 700281c505 PCAN sandbox - error requestOutputChannels #3698 2021-12-18 23:26:41 -05:00
rusefillc 881fdbd573 PCAN sandbox - error requestOutputChannels #3698 2021-12-18 23:07:31 -05:00
GitHub build-firmware Action 1a5bbb09d4 Auto-generated configs and docs 2021-12-16 21:08:16 +00:00
rusefillc cbcedc32a0 live data for wastegate and launch control #3588 2021-12-16 15:26:57 -05:00
rusefillc 769e655026 live data for wastegate and launch control #3588 2021-12-16 15:24:32 -05:00
GitHub build-firmware Action 40b1b77110 Auto-generated configs and docs 2021-12-16 19:53:45 +00:00
rusefillc d84030ac0d live data for wastegate and launch control #3588 2021-12-16 14:47:00 -05:00
rusefillc d5f8abb508 clutch input via CAN #3605 2021-12-15 20:11:23 -05:00
rusefillc e7dec2a4b9 MAP phase sensing #3544 2021-12-09 22:16:42 -05:00
rusefillc 75821d8f61 rusEFI console ISO-TP via PCAN #3667
changing this mess just a bit
2021-12-08 18:43:27 -05:00
Andreika adfe24c801 can_isotp fix? (#3678)
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2021-12-08 18:12:51 -05:00
rusefillc 761790ba47 Update serial_can.cpp 2021-12-08 17:01:53 -05:00
rusefillc 5ee26c81d5 rusEFI console ISO-TP via PCAN #3667
fixing build #3
2021-12-08 16:24:54 -05:00
rusefillc 78e1702309 rusEFI console ISO-TP via PCAN #3667
fixing build #2
2021-12-08 16:13:02 -05:00
Andreika 95adac3f03 CAN ISO-TP progress (+unit-tests fix) (#3677)
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2021-12-08 15:11:19 -05:00
rusefillc 98dbf0a352 rusEFI console ISO-TP via PCAN #3667 2021-12-08 12:01:28 -05:00
rusefillc 4554a94794 docs 2021-12-08 11:55:34 -05:00
Andrey d3afd617d2 MAP phase sensing #3544
new implementation seems complete?
2021-12-07 21:08:25 -05:00
Andrey d2c46b3310 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
rusefillc a268c670bf rusEFI console ISO-TP via PCAN #3667
better logging
2021-12-07 15:15:06 -05:00
GitHub build-firmware Action 170bc5fe1d Auto-generated configs and docs 2021-12-07 20:11:41 +00:00
Matthew Kennedy 2dd8bb2388 fix knock log (#3669) 2021-12-07 14:49:45 -05:00
rusefillc c38ae9f148 MAP phase sensing #3544 2021-12-07 08:57:23 -05:00
rusefillc f7f86e978d tune via CAN #3361
a couple of flush() were missing, also improving readability
2021-12-06 22:19:30 -05:00
Matthew Kennedy aa8584d89a 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
rusefillc ddbe875d98 MAP phase sensing #3544
trigger sync better gauges/logging
2021-12-06 17:04:05 -05:00
rusefillc e0d5a5afac trigger sync better gauges/logging 2021-12-06 13:08:41 -05:00
rusefillc 7c5940fcc2 tune via CAN #3361
pauseCANdueToSerial
2021-12-05 21:21:36 -05:00
GitHub build-firmware Action 548794bdc4 Auto-generated configs and docs 2021-12-05 04:36:49 +00:00
rusefillc 4fac3390f2 duplicate output name 2021-12-04 23:29:35 -05:00
rusefillc 0a13200527 tune via CAN #3361
better constant name
2021-12-04 22:29:53 -05:00
rusefillc 08aacafc8c tune via CAN #3361
todo: find a better place for these defs
2021-12-04 20:34:31 -05:00
GitHub build-firmware Action 6ae6ce8c7a Auto-generated configs and docs 2021-12-04 23:28:17 +00:00
rusefillc e0559a8548 MAP phase sensing #3544
taking a step back to happy place
2021-12-04 18:21:10 -05:00
GitHub build-firmware Action 83b516a4a6 Auto-generated configs and docs 2021-12-04 22:12:49 +00:00
rusefillc f3a3d96fa9 MAP phase sensing #3544
trying longer average
2021-12-04 17:06:59 -05:00
rusefillc e705db16ff helping CAN compile 2021-12-03 22:24:57 -05:00
Andrei d1f30f10b1 CAN update 2021-12-03 21:44:15 -05:00
Matthew Kennedy 99367c8348 log actual tooth angle (#3646) 2021-12-02 19:22:33 -05:00
GitHub build-firmware Action fb3846c3ef Auto-generated configs and docs 2021-12-02 22:42:07 +00:00
rusefillc 7de0e9c60a MAP phase sensing #3544 2021-12-02 17:08:43 -05:00
rusefillc b69292540b Engine phase wrap around in log #3645
hopefully actual fix
2021-12-02 17:06:20 -05:00
GitHub build-firmware Action 68a23f56f1 Auto-generated configs and docs 2021-12-02 06:56:04 +00:00
rusefillc 37ed110750 how many more spelling mistakes?! 2021-12-02 01:06:40 -05:00
rusefillc 36d0720066 proteus to have enlarged Lua
one step back
2021-11-30 22:26:36 -05:00
GitHub build-firmware Action d08be922ea Auto-generated configs and docs 2021-11-30 21:40:56 +00:00
rusefillc 12a96c948d MAP lost in Datalogging after latest snapshot 20121129@28919 #3637 2021-11-30 16:35:45 -05:00
GitHub build-firmware Action 1aa351e4f8 Auto-generated configs and docs 2021-11-29 22:53:01 +00:00
rusefillc cae4e921b4 MAP lost in Datalogging after latest snapshot 20121129@2891 fix #3637 2021-11-29 17:46:22 -05:00
Matthew Kennedy 565a94ea34 Remove the EFI_NO_CONFIG_WORKING_COPY option (#3630)
* no working copy

* oops
2021-11-29 16:44:45 -05:00
GitHub build-firmware Action c19d611352 Auto-generated configs and docs 2021-11-29 17:54:58 +00:00
rusefillc 045932cd1b why so many channels are hidden in debug ? #3614 2021-11-29 12:38:09 -05:00
GitHub build-firmware Action bcdb2c5e1e Auto-generated configs and docs 2021-11-29 17:35:56 +00:00
rusefillc 7e9ddc7908 why so many channels are hidden in debug ? #3614 2021-11-29 12:03:48 -05:00
GitHub build-firmware Action 5c51edea0b Auto-generated configs and docs 2021-11-29 16:49:40 +00:00
rusefillc c973411f8a why so many channels are hidden in debug ? #3614 2021-11-29 11:42:29 -05:00
rusefillc ffb35aeff7 why so many channels are hidden in debug ? #3614 2021-11-29 10:16:45 -05:00
GitHub build-firmware Action 2079dd56d2 Auto-generated configs and docs 2021-11-29 06:58:09 +00:00
rusefillc 1213ccd2e0 why so many channels are hidden in debug ? #3614 2021-11-29 01:19:06 -05:00
rusefillc ba719adc1a why so many channels are hidden in debug ? #3614 2021-11-29 01:15:04 -05:00
rusefillc c64fb3f595 why so many channels are hidden in debug ? #3614 2021-11-29 01:02:40 -05:00
GitHub build-firmware Action a44eb45371 Auto-generated configs and docs 2021-11-29 06:00:58 +00:00
rusefillc e03a0fce2f why so many channels are hidden in debug ? #3614 2021-11-29 00:48:45 -05:00
GitHub build-firmware Action 07c12b29e6 Auto-generated configs and docs 2021-11-29 05:41:48 +00:00
rusefillc 1e53844f5b why so many channels are hidden in debug ? #3614 2021-11-29 00:33:05 -05:00
GitHub build-firmware Action ed1cc90477 Auto-generated configs and docs 2021-11-29 05:25:27 +00:00
rusefillc 2dd32c38ed why so many channels are hidden in debug ? #3614 2021-11-29 00:01:12 -05:00
GitHub build-firmware Action aed5a3927c Auto-generated configs and docs 2021-11-29 04:25:09 +00:00
rusefillc 11fdd6658b why so many channels are hidden in debug ? #3614 2021-11-28 23:09:24 -05:00
GitHub build-firmware Action edbf6f20db Auto-generated configs and docs 2021-11-29 03:26:23 +00:00
rusefillc 057bcba5cd why so many channels are hidden in debug ? #3614 2021-11-28 22:21:32 -05:00
GitHub build-firmware Action aa10fdd333 Auto-generated configs and docs 2021-11-29 02:00:43 +00:00
rusefillc b6c0d0fb7d why so many channels are hidden in debug ? #3614
space for new sensor
2021-11-28 20:55:16 -05:00
rusefillc 7e4a1beac8 docs 2021-11-28 20:19:05 -05:00
GitHub build-firmware Action 1e58ab65d1 Auto-generated configs and docs 2021-11-28 22:26:50 +00:00
rusefillc 8465c920a2 automation around outputs section #197
datalog toolset
2021-11-28 17:04:46 -05:00
rusefillc f72f081cc2 automation around outputs section #197
datalog toolset
2021-11-28 16:36:30 -05:00
rusefillc 3f0ed6bbd7 automation around outputs section #197
datalog toolset
2021-11-28 16:10:09 -05:00
Matthew Kennedy b364844344 fix (#3629) 2021-11-28 15:36:36 -05:00
rusefillc da4f41ce3e automation around outputs section #197
datalog toolset
2021-11-28 14:40:16 -05:00
rusefillc 6fcb42a258 automation around outputs section #197
datalog toolset
2021-11-28 14:10:13 -05:00
rusefillc 942adf0cc8 automation around outputs section #197 2021-11-27 19:23:35 -05:00
rusefillc a193d268c1 automation around outputs section #197 2021-11-27 18:54:57 -05:00
rusefillc 24965590a2 automation around outputs section #197 2021-11-27 18:34:47 -05:00
rusefillc 0d88de6342 automation around outputs section #197 2021-11-27 14:09:27 -05:00
rusefillc 7b73fe643c automation around outputs section #197 2021-11-27 14:08:09 -05:00
rusefillc 7bc85f5e9c automation around outputs section #197 2021-11-27 13:36:37 -05:00
rusefillc 547a045a14 automation around outputs section #197 2021-11-27 13:05:56 -05:00
rusefillc 00472d078c automation around outputs section #197 2021-11-27 12:28:59 -05:00
Matthew Kennedy 7eff78a9a1 don't need autoscale when it's 1.0 ratio (#3625)
* don't need autoscale when it's 1.0 ratio

* chmod +x

* we needed a few of those
2021-11-27 10:01:17 -05:00
rusefillc 337dc1a37c automation around outputs section #197 2021-11-27 01:13:01 -05:00
rusefillc b636cc3920 automation around outputs section #197 2021-11-26 21:54:31 -05:00
rusefillc 358f04091a automation around outputs section #197 2021-11-26 21:21:46 -05:00
rusefillc e90d6b9ce7 automation around outputs section #197 2021-11-26 21:10:09 -05:00
rusefillc 53fdc40c7d automation around outputs section #197 2021-11-26 21:03:45 -05:00
rusefillc 3b3fb9b93a automation around outputs section #197 2021-11-26 20:53:22 -05:00
rusefillc 3f8c0d605c automation around outputs section #197 2021-11-26 20:46:42 -05:00
rusefillc 4da5520238 automation around outputs section #197 2021-11-26 19:14:11 -05:00
rusefillc 972c8c496a automation around outputs section #197 2021-11-26 18:49:16 -05:00
rusefillc 9c7766835b automation around outputs section #197 2021-11-26 18:30:59 -05:00
rusefillc 452b7d42ba automation around outputs section #197 2021-11-26 18:16:06 -05:00
rusefillc 95a28e0dda automation around outputs section #197 2021-11-26 15:53:01 -05:00
Matthew Kennedy dad52dd75a wall fuel tweaks (#3617) 2021-11-25 18:45:44 -05:00
Matthew Kennedy 6e4759389a 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
rusefillc 6c23986cf0 MAP phase sensing #3544 2021-11-24 14:26:41 -05:00
rusefillc 28c9d7555b live data for wastegate #3588 2021-11-24 12:59:57 -05:00
Matthew Kennedy 5274cffff3 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
Matthew Kennedy e7417ef0c0 simulator writes binary log (#3598)
* simulator writes log

* replace the file

* check that the sim actually fails

* put it back

* did the sim really not fail?

* good, asan does catch it
2021-11-23 11:42:45 -05:00
Matthew Kennedy c45bb2b67d embiggen log buffer (#3596) 2021-11-22 16:46:18 -05:00
rusefillc ee9fef1024 automation around outputs section #197 2021-11-21 09:35:37 -05:00
rusefillc df7ea34864 automation around outputs section #197 2021-11-20 14:38:50 -05:00
rusefillc e10067da93 automation around outputs section #197 2021-11-20 14:27:21 -05:00
rusefillc 1c89d629e5 automation around outputs section #197 2021-11-20 14:08:02 -05:00
rusefillc fe3f8233d6 automation around outputs section #197 2021-11-20 13:30:25 -05:00
Scott Smith 8406fafa9e Expose console over serial port for H7 proc (#3578)
This way you can use the console/TunerStudio with the ST-Link

In the process, combine TS_PRIMARY_UART and TS_PRIMARY_SERIAL into TS_PRIMARY_PORT, to make UART vs
SERIAL selection more robus.  Ditto for TS_SECONDARY_*.  Also change use of TS_NO_PRIMARY to be #if
not #ifdef, so that it can be properly set as a compile flag and not be overwritten by various
header files.
2021-11-20 00:39:08 -05:00
Matthew Kennedy e7956a53f6 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
Matthew Kennedy a0a1b5e6a0 delimeter is not comma (#3533)
* delimeter is not comma

* do it in config txt

* use txt

* s

* string

* compat

* also, spelling is hard

* use new name

* use new name

* generate enough for happy console

* use an even less common character

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-19 12:01:45 +03:00
Scott Smith 7d65b2e5f8 Extend LogField to support scaled_channel divisors. (#3575)
Also move the type field and shrink the size field for better packing.
Saves about 800 bytes of flash.  This fixes #3574.
2021-11-19 02:29:19 -05:00
rusefillc dad52881f0 automation around outputs section #197
a step back
2021-11-18 21:12:54 -05:00
rusefillc 4bf31a4016 automation around outputs section #197 2021-11-18 20:09:07 -05:00
rusefillc f5cddb6337 automation around outputs section #197 2021-11-18 19:46:17 -05:00
rusefillc 1b93e07b31 automation around outputs section #197 2021-11-18 19:34:46 -05:00
rusefillc f1ab9d7054 automation around outputs section #197
wow huge step!
2021-11-18 00:19:11 -05:00
rusefillc fc9345de5e automation around outputs section #197 2021-11-18 00:05:27 -05:00
rusefillc f9c43e4dfa automation around outputs section #197
packing & making my job easier
2021-11-17 23:22:08 -05:00
rusefillc 28998b70a6 automation around outputs section #197
refactoring
2021-11-17 23:16:15 -05:00
Scott Smith 80091498a6 Programmatically replace ENGINE() and CONFIG() with engine-> etc (#3565)
git grep -l -w ENGINE | xargs sed -i -r "s/ENGINE\(([]a-zA-Z_0-9.[]+)\)/engine->\1/g"

git grep -l -w CONFIG | xargs sed -i -r "s/([^a-zA-Z_])CONFIG\(([]a-zA-Z_0-9.[]+)\)/\1engineConfiguration->\2/g"
2021-11-17 03:54:21 -05:00
Matthew Kennedy 7296593448 remove engine pointer passing (#3556)
* some

* more

* more

* the last?!
2021-11-16 04:15:29 -05:00
Andrey 7b790d36f6 random refactoring: trigger central encapsulation 2021-11-15 20:22:05 -05:00
Andrey 4bc9343d0b refactoring launch 2021-11-15 20:09:03 -05:00
Matthew Kennedy c1941f3a49 (void) -> () (#3550)
* static functions with (void)

* more

* Revert "more"

This reverts commit 246e53441f935451437df186ac92d7df26b62fb6.

* s

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-15 13:02:34 +01:00
Matthew Kennedy 3d79c06200 enable nb1 serial pins (#3546)
* enable serial on nb1

* typo

* serial

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-14 16:07:56 -05:00
Matthew Kennedy 26749e0384 test TS writes (#3515)
* test TS writes

* s

* this must be a gcc extension
2021-11-10 07:29:40 -05:00
rusefillc 5ddd516860 refactoring - magic constant bad 2021-11-07 00:09:17 -04:00
rusefillc 2437abf51f simplify signature.h generation #3480
part two: unused variables
2021-11-06 18:09:14 -04:00
Matthew Kennedy f45d365f24 log current engine phase on trigger teeth (#3471)
* log phase on trigger teeth

* ui

* guard
2021-11-05 20:02:15 -04:00
rusefi f182c65e5b turbo speed turbospeed input #2935 2021-11-04 19:43:22 -04:00
Matthew Kennedy 8ee86e0789 log vvt targets (#3417)
* log vvt target

* java

* make java happy probably

* sensorlogger
2021-11-02 15:03:57 -04:00
Matthew Kennedy 1cee83a56c Knock retard (#3396)
* output gauge

* knock controller

* don't need that

* inject engine ref

* test knock

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-01 23:33:59 -04:00
Andrey ef413188ee Whatever we call it, no matter how we do it - we need live data / remote view into rusEFI actual state #3353 2021-10-30 22:21:36 -04:00
rusefi e3c8d47097 bugfix: DBG_TRIGGER_COUNTERS was overwriting VVT counters 2021-10-28 16:51:01 -04:00
rusefi 4dd1ae7035 triggerinfo progress 2021-10-23 19:01:31 -04:00
rusefillc 8b0299dead respond to 'Q follow-up #3383 2021-10-20 20:51:10 -04:00
Matthew Kennedy 0eb190cf85 respond to 'Q' (#3382) 2021-10-20 15:40:37 -04:00
rusefillc bee1eb2c6b very old very dead code 2021-10-20 10:38:36 -04:00
Matthew Kennedy c984894cb3 last packet optimization (#3363)
* last packet optimization

* comment

* test

* missed one

* set tcp mss
2021-10-18 19:59:08 -04:00
rusefillc f463f6501f more relaxed VVT debug field 2021-10-17 14:21:09 -04:00
rusefillc 504bd78814 Remove engine load acceleration enrichment fix #3357 2021-10-16 21:24:05 -04:00
Matthew Kennedy b83fc540de enable ethernet on atlas (#3348)
* enable h7 ethernet

* some ethernet settings while we're here

* mac address

* misc

* extra spaces

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-10-16 12:31:53 -04:00
rusefillc d4dd74c731 Whatever we call it, whatever we implement it - we need live data / remote view into rusEFI actual state #3353
progress
2021-10-14 18:50:03 -04:00
rusefillc f588b92a65 fixing build 2021-10-14 16:49:15 -04:00
rusefillc 998b474e2d Whatever we call it, no matter how we do it - we need live data / remote view into rusEFI actual state #3353
progress
2021-10-14 15:17:30 -04:00
Matthew Kennedy 8ca619144d misc ethernet config parameters (#3343)
* various cfg

* this has to be 1522

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-10-11 15:35:09 -04:00
Matthew Kennedy 208497e6ed ethernet (#3342)
* checksum offload

* ethernet console

* guard flag

* flags

* reserve pins

* f4

* ip and link options

* chibios

* conditional build lwip

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-10-10 01:15:49 -04:00
rusefi bb6bd61ecd todo: bug, at the moment we report 1MB on dual-bank F7 2021-10-08 00:33:04 -04:00
rusefi ac988225bd some cheap used junkyard Accelerometer #2225
MM5.10
2021-10-06 15:05:29 -04:00
rusefillc e16054bac6 some cheap used junkyard Accelerometer #2225
MM5.10
2021-10-06 11:07:46 -04:00
rusefillc 79fd7586e0 some cheap used junkyard Accelerometer #2225
MM5.10
2021-10-06 00:19:33 -04:00
Matthew Kennedy dab377d15d getOrZero (#3319) 2021-10-05 19:59:07 -04:00
Matthew Kennedy 36d8799105 break up sensors even more (#3318) 2021-10-05 19:06:17 -04:00
rusefillc 33fe6d111b rusEFI console logs are missing some fields #3314 2021-10-05 16:28:15 -04:00
rusefillc 6e07b2bb73 some cheap used junkyard Accelerometer #2225
MM5.10
2021-10-05 16:21:41 -04:00
rusefillc 3b22dc5fc8 https://github.com/rusefi/rusefi/issues/3302 2021-10-05 15:30:51 -04:00
Matthew Kennedy 34d8014202 clean up debug channels in status_loop.cpp (#3317)
* FSIO is going away eventually

* dead modes

* rx8 hmm

* break out tps debug
2021-10-05 15:27:08 -04:00
Matthew Kennedy b84df3dda8 dead map (#3316) 2021-10-04 18:33:10 -04:00
Matthew Kennedy 00708d2030 check for overflow in HW CI (#3313) 2021-10-04 08:19:58 -04:00
rusefillc c0805d4cc6 rusEFI console logs are missing some fields #3314 2021-10-04 00:30:20 -04:00
rusefillc a3a3459597 rusEFI console logs are missing some fields #3314 2021-10-03 23:07:16 -04:00
rusefillc 438963c4bd rusEFI console logs are missing some fields #3314 2021-10-03 22:45:47 -04:00
Matthew Kennedy 5b9c2b6c0e reduce updateTunerStudioState stack usage (#3308)
* break out in to functions

* 100 more saved

* happy simulator

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-10-03 16:24:34 -04:00
Matthew Kennedy 48da721c49 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 9fc1e5d24c Knock count (#3240)
* knocky knocky

* check the right thing

* improve operator

* TS

* s

* bbbbb
2021-09-20 14:27:26 -04:00
Matthew Kennedy f5616b51d2 per cylinder knock level in SD log (#3239) 2021-09-19 03:54:59 -04:00
rusefillc ba40de44b3 TS channel names for nicer console messages 2021-09-18 18:03:31 -04:00
rusefillc 75bd49ccbd TS channel names for nicer console messages 2021-09-18 16:58:35 -04:00
rusefillc 2944a89e4e TS channel names for nicer console messages 2021-09-18 15:33:14 -04:00
rusefillc 0ee09ef62f SD-card log fields improvement (warning counter & last code) fix #3162 2021-09-08 21:15:41 -04:00
rusefillc 39138aba8f SD-card log fields improvement (warning counter & last code) #3162 2021-09-08 20:45:52 -04:00
Andrey 536567cc13 SD-card log fields improvement (warning counter & last code) #3162 2021-09-05 14:43:35 -04:00
Andrey 935ab7610d SD-card log fields improvement (warning counter & last code) #3162 2021-09-05 10:01:04 -04:00
Andrey e26ead3f57 SD-card log fields improvement (warning counter & last code) #3162 2021-09-05 09:16:35 -04:00
Matthew Kennedy f6e269a3ab remove old vss implementation (#3208)
* dead vss

* remove
2021-08-28 01:39:55 -04:00
rusefillc 43346e1a4a Revert "partial rollback was requested to revive HW CI"
This reverts commit a460e588
2021-08-27 12:42:53 -04:00
rusefillc 6247a50662 Revert "Revert "memory savings (#3195)""
This reverts commit 86cf9cf7
2021-08-27 06:18:05 -04:00
rusefillc 86cf9cf7c9 Revert "memory savings (#3195)"
This reverts commit 1b485ca2
2021-08-27 02:32:31 -04:00
rusefillc a460e588ef partial rollback was requested to revive HW CI 2021-08-26 17:04:27 -04:00
Matthew Kennedy 1b485ca2d8 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
rusefillc 7f5198abbc Tooth logger to use engineSnifferRpmThreshold #3161
more refactoring also removing obsolete comment
2021-08-15 14:14:13 -04:00
rusefillc 0fb9ce14df Tooth logger to use engineSnifferRpmThreshold #3161
use configurable limit
2021-08-15 13:59:18 -04:00
rusefillc 87a2a70554 Tooth logger to use engineSnifferRpmThreshold #3161
refactoring
2021-08-15 13:55:28 -04:00
Matthew Kennedy e056369f05 actually remove FSIO idle stuff (#3150)
* debug mode

* pid cleanup

* more dead

* more dead

* wow more dead

* much dead many death wow
2021-08-14 09:48:45 +03:00
alxrMironov 9d1ce540c4 Begin "vehicleSpeed" refactoring. Module switched to "FunctionalPointerSensor" class. #3106 #3107 #3108. (#3132)
* Add new sensor type "VehicleSpeed"

* Add "Vehicle speed" sensor to name list

* Add Vehicle speed sensor initialization with function pointer sensor.

* Add init_vehicle_speed_sensor.cpp to Makefile

* Replace dependencies from "getVehicleSpeed" to OOP-like "Sensor::get()"

* Add warning and TODO to "mock vehicle speed" call

* Replace get & mock "VehicleSpeed" methods in tests

* Remove #warning directive (cause error by current settings)

* Remove stray tab

* Remove explicitly type casting.

* Add "InitVehicleSpeedSensor" function declaration to init.h

* Add "VehicleSpeedSensor" initialization call into "InitNewSensors"

Co-authored-by: alxrMironov <330OMcorporative>
2021-08-12 22:16:51 +03:00
rusefillc 8034528dff moving two lines closer 2021-08-07 17:13:54 -04:00
Matthew Kennedy c3cbf8d34c oops (#3116) 2021-08-07 22:56:59 +03:00
rusefillc dbd879284c would H7 work? 2021-08-07 12:36:39 -04:00
Matthew Kennedy 39388c75d8 even more pch (#3112)
* s

* more

* s

* f7
2021-08-04 19:30:52 -04:00
Matthew Kennedy 4e6b61234f yet more pch (#3068)
* big pch energy

* put back ramdisk stub

* tests are happy

* h743 nucleo

* kinetis

* I love deleting code!

* make stepper happy

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-03 22:05:01 -04:00
Matthew Kennedy c03c779703 make build happy (#3067) 2021-07-26 09:08:05 -04:00
Matthew Kennedy d3ec2b21d1 Use pch in lots of files (#3066)
* most engine.h

* most engine_configuration

* more

* more

* more

* more

* more

* moooooore

* ok I'm done for now

* oops
2021-07-26 01:05:17 -04:00
Matthew Kennedy 0fde085a44 remove TS file read (#3004)
* remove

* more defines

* test

* lots of java

* s
2021-07-21 14:24:53 -04:00
Matthew Kennedy 3fa7a52a84 fan indicators + test buttons (#3002)
* sd bits

* rusefi.input

* second fan bit

* fans
2021-07-20 23:26:06 -04:00
Matthew Kennedy dfaac25df1 sd card indicators (#3001)
* sd bits

* rusefi.input
2021-07-20 21:29:24 -04:00
Matthew Kennedy 7d709950f7 force init LEDs even with fatal (#2998) 2021-07-20 17:09:52 -04:00
Matthew Kennedy dec215f199 detect clock with TIM11 instead of TIM5 (#2989)
* detect clock with TIM11 instead of TIM5

* s

* h7 has a different register name

* s

* rename
2021-07-19 18:04:59 -04:00
rusefillc 9570458aea NB2 trigger shape does not seem to match JimStim #2980 2021-07-17 16:12:54 -04:00
Matthew Kennedy e3849b95d5 don't require EXTERN_ENGINE in every file (#2969)
* move enginePins

* no more extern engine

* uses

* more

* extern config too

* put this where it belongs

* include correct header

* merge
2021-07-16 18:13:33 -04:00
Andrey 122ef9f637 making code more testable 2021-07-14 22:37:05 -04:00
Matthew Kennedy c08eb18ca7 Start on HSI clock (#2957)
* chibios uses HSI

* set pll to use HSE

* simplify capture

* even better logging

* string

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-07-14 15:20:38 -04:00
rusefi 723b347e4d longer error message in 't' response 2021-07-14 12:42:35 -04:00
rusefi ad37021a0b printing autoDetectedPllMValue in console 2021-07-14 12:42:35 -04:00
rusefi 1b2be671dd 't' comammand to return fatal error text 2021-07-13 22:53:11 -04:00
Matthew Kennedy ff31301284 trailing coils (#2937)
* gpio wiring

* plumbing
2021-07-09 15:51:30 -04:00
rusefillc 1cfdf68ecf fix vvt indication #2926
TS project part of the change
2021-07-08 09:37:56 -04:00
Andrey 09fee427c4 fix vvt indication #2926
only field rename
2021-07-08 09:25:31 -04:00
Matthew Kennedy 717d4dd7ac Unified cyl count macro (#2914)
* update test framework

* eh

* hey look it's fewer warnings

* unwind

* fix

* config

* configs

* logic

* even java had some

* console needs help
2021-07-06 20:14:08 -04:00
Andrey G fdfec5ea3c Fix swap macro (#2904)
* convert swap macroses to inline functions

* clean-up workarounds
2021-07-04 18:03:17 -04:00
Andrey 9ad5ec8044 refactoring: getShaftSynchronized 2021-07-03 10:37:03 -04:00
Andrey 9339f0169d Nissan progress 2021-07-02 20:12:31 -04:00
Andrey e1c6e19577 less broken code? 2021-07-02 19:28:09 -04:00
Matthew Kennedy fe6f123be5 Move AC logic out of FSIO (#2872)
* new impl

* remove fsio

* inject "is ac active" to fan

* include the correct code

* include

* test

* more AC features

* AC switch vs. actual AC indicators

* include

* duh
2021-06-27 18:51:34 -04:00
Matthew Kennedy b0ef8313cd warnings (#2862)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-25 20:58:38 -04:00
Andrey G 5c552e196a TS communication minor fixes (#2847)
* console: noone use this

* console: do not stop blinking if TS command executes too long

Set and clear flag from the same place

Co-authored-by: rusefillc <48498823+rusefillc@users.noreply.github.com>
2021-06-23 04:36:55 -04:00
Andrey 270905fa8b removing dead code 2021-06-23 04:26:32 -04:00
Andrey 25168809f3 performance optimization by dron0gus 2021-06-21 09:27:09 -04:00
Andrey d7789bc2a0 those and many other offsets are no longer correct 2021-06-21 02:11:36 -04:00
Matthew Kennedy c77686ce3b gauges for raw TPS (#2831)
* ecu part

* gauges

* debug info for ford throttle

* sensible order
2021-06-18 16:27:44 -04:00
Andrey ba8ad555c2 reverting TCU cherry pick 2021-06-12 13:52:18 -04:00
Andrey aa9f609df5 random trick 2021-06-12 13:48:37 -04:00
rusefillc 9caa794e6c TCU cherry 2021-06-11 23:48:57 -04:00
rusefillc 68d2fdb6ce https://rusefi.com/forum/viewtopic.php?f=16&t=2027 2021-05-27 05:50:59 -04:00
Matthew Kennedy 4b0d75ff92 make the simulator usable (#2717)
* these start themselves now

* dead

* configure ports

* start serial

* dead

* minimal pins

* simulator logging works

* why not enable lua

* speeeeeed

* start lua

* spammy print
2021-05-17 12:44:02 +03:00
Andrey G 6d849d05c7 Hw layer rearrangement (#2703)
* max31855: move to sensors

* uart GPS driver: move to sensors and rename

* i2c_bb: move to drivers

* LCD HD44780: move to drivers

* ping?
2021-05-16 06:01:00 -04:00
Matthew Kennedy ad505bfb1b idle indicators (#2692)
* add coasting bit

* remove useless bit
2021-05-13 17:35:00 -04:00
Matthew Kennedy 047f62b2b9 remove deprecated getEngineLoadT (#2676)
* remove

* few more
2021-05-10 08:30:41 -04:00
Matthew Kennedy 76f2f063d2 Maf in sensor model (#2672)
* init

* consumers

* hasMafSensor

* consumers

* remove

* remove

* s

* guard

* tiny bit of ram

* ram
2021-05-09 20:59:06 -04:00
Andrey G dd46591ad5 hip9011 (#2658)
* hip9011: isolate debug stuff

* hip9011: renames

* hip9011: start sensing knockDetectionWindowStart degres from fire

* engine: more realistic values for knock window

* hip9011: remove magic CS toggling

* hip9011: EFI_HIP_9011_DEBUG should depend on EFI_HIP_9011
2021-05-08 18:43:55 -04:00
Matthew Kennedy d7f9d42e07 Hook up multi bank fuel trim (#2532)
* multi bank trim

* cleaning

* output channels

* output channels
2021-05-08 17:41:50 -04:00
rusefillc 4b9dd02056 check MCU flash size at runtime fix #2648 2021-05-07 17:05:47 -04:00
Andrey G f2a194e035 Kill warnings (#2623)
* dead code

* rtc_helper: clean-up warnings

* kill unused
2021-05-04 18:55:27 -04:00
Andrey G 2176d1656b ADC: internalIndex should be used as getAvgAdcValue argument (#2618)
* ADC: internalIndex should be used as getAvgAdcValue argument

-plus output messages re-formated

* ADC: logger -> efiPrintf
2021-05-03 16:44:19 -04:00
rusefillc 87e0b28cc4 https://rusefi.com/forum/viewtopic.php?f=16&t=1996 2021-04-25 09:18:35 -04:00
rusefi 7300bbe750 improving QC process 2021-04-23 00:45:36 -04:00
rusefi 6c75a3d7b4 improving QC process 2021-04-22 22:04:39 -04:00
rusefi be0f2210c5 improving QC process 2021-04-22 21:23:20 -04:00
Matthew Kennedy 737ee444b8 rip the bandaid: find-replace most of scheduleMsg (#2572)
* biiiig find replace

* more trivial find replace

* pwm

* almost all of them

* few more

* gpio

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-21 12:53:13 -04:00
Matthew Kennedy 8cfb63455d Logging remove 3 (#2568)
* ts logger

* sensors

* wideband too

* missed one

* init

* motors, pid, etc

* vvt

* more

* idle

* missed one

* dynoview

* launch

* can

* console IO

* s

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-20 14:09:41 -04:00
Matthew Kennedy 967383dd8e remove simple cases of LoggingWithStorage (#2569)
* remove simple cases

* more simple

* serial

* s

* more

* try memory

* easy

* mmc acc

* that's how much memory

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-19 08:11:59 -04:00
Matthew Kennedy 177f3afd05 ts logger (#2566)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-18 19:13:48 -04:00
Matthew Kennedy 1c4c7fe62c remove duplicate SD log fields (#2556)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-15 01:07:59 -04:00