Commit Graph

1319 Commits

Author SHA1 Message Date
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