Commit Graph

1253 Commits

Author SHA1 Message Date
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
rusefillc 70e738cf5f rusEFI console ISO-TP via PCAN #3667
better logging
2021-12-07 15:15:06 -05:00
GitHub build-firmware Action e58ff36e70 Auto-generated configs and docs 2021-12-07 20:11:41 +00:00
Matthew Kennedy 8afab62b23
fix knock log (#3669) 2021-12-07 14:49:45 -05:00
rusefillc b4c07798b5 MAP phase sensing #3544 2021-12-07 08:57:23 -05:00
rusefillc d23b029b5c tune via CAN #3361
a couple of flush() were missing, also improving readability
2021-12-06 22:19:30 -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
rusefillc f826fe13aa MAP phase sensing #3544
trigger sync better gauges/logging
2021-12-06 17:04:05 -05:00
rusefillc 934b005acb trigger sync better gauges/logging 2021-12-06 13:08:41 -05:00
rusefillc dbb3de3618 tune via CAN #3361
pauseCANdueToSerial
2021-12-05 21:21:36 -05:00
GitHub build-firmware Action 54e7062483 Auto-generated configs and docs 2021-12-05 04:36:49 +00:00
rusefillc 865c8015dc duplicate output name 2021-12-04 23:29:35 -05:00
rusefillc 8d20854ba3 tune via CAN #3361
better constant name
2021-12-04 22:29:53 -05:00
rusefillc 359640e7aa tune via CAN #3361
todo: find a better place for these defs
2021-12-04 20:34:31 -05:00
GitHub build-firmware Action d8c052211b Auto-generated configs and docs 2021-12-04 23:28:17 +00: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 17d95341f4 Auto-generated configs and docs 2021-12-04 22:12:49 +00:00
rusefillc 45a95db67f MAP phase sensing #3544
trying longer average
2021-12-04 17:06:59 -05:00
rusefillc cf26181189 helping CAN compile 2021-12-03 22:24:57 -05:00
Andrei c6fa50d196 CAN update 2021-12-03 21:44:15 -05: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 1b036f238f MAP phase sensing #3544 2021-12-02 17:08:43 -05:00
rusefillc 8024fe2b1b Engine phase wrap around in log #3645
hopefully actual fix
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 b03445b421 proteus to have enlarged Lua
one step back
2021-11-30 22:26:36 -05:00
GitHub build-firmware Action 6219679d77 Auto-generated configs and docs 2021-11-30 21:40:56 +00:00
rusefillc 17d1144413 MAP lost in Datalogging after latest snapshot 20121129@28919 #3637 2021-11-30 16:35:45 -05:00
GitHub build-firmware Action 59ad7d73e9 Auto-generated configs and docs 2021-11-29 22:53:01 +00:00
rusefillc f5bf143222 MAP lost in Datalogging after latest snapshot 20121129@2891 fix #3637 2021-11-29 17:46:22 -05: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
GitHub build-firmware Action 76477bbd46 Auto-generated configs and docs 2021-11-29 17:54:58 +00:00
rusefillc f6e8e18563 why so many channels are hidden in debug ? #3614 2021-11-29 12:38:09 -05:00
GitHub build-firmware Action 061a5f7fed Auto-generated configs and docs 2021-11-29 17:35:56 +00:00
rusefillc 1d9d6d2e0b why so many channels are hidden in debug ? #3614 2021-11-29 12:03:48 -05:00
GitHub build-firmware Action d5ec983f55 Auto-generated configs and docs 2021-11-29 16:49:40 +00:00
rusefillc 31bd9102e7 why so many channels are hidden in debug ? #3614 2021-11-29 11:42:29 -05:00
rusefillc 818d12f68e why so many channels are hidden in debug ? #3614 2021-11-29 10:16:45 -05:00
GitHub build-firmware Action 81f4a3e5f0 Auto-generated configs and docs 2021-11-29 06:58:09 +00:00
rusefillc 30d8310dad why so many channels are hidden in debug ? #3614 2021-11-29 01:19:06 -05:00
rusefillc 5df26f5216 why so many channels are hidden in debug ? #3614 2021-11-29 01:15: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
rusefillc 9f196769ad why so many channels are hidden in debug ? #3614 2021-11-29 00:48:45 -05:00
GitHub build-firmware Action 247a772f7f Auto-generated configs and docs 2021-11-29 05:41:48 +00:00
rusefillc f79ae3c623 why so many channels are hidden in debug ? #3614 2021-11-29 00:33:05 -05:00
GitHub build-firmware Action 122a4019f3 Auto-generated configs and docs 2021-11-29 05:25:27 +00:00
rusefillc 4c38220ef9 why so many channels are hidden in debug ? #3614 2021-11-29 00:01:12 -05:00
GitHub build-firmware Action b466f82af1 Auto-generated configs and docs 2021-11-29 04:25:09 +00:00
rusefillc 5eb3e76fb8 why so many channels are hidden in debug ? #3614 2021-11-28 23:09:24 -05:00
GitHub build-firmware Action 28f876171c Auto-generated configs and docs 2021-11-29 03:26:23 +00:00
rusefillc bd48f83b73 why so many channels are hidden in debug ? #3614 2021-11-28 22:21:32 -05:00
GitHub build-firmware Action d0fc494aa1 Auto-generated configs and docs 2021-11-29 02:00:43 +00:00
rusefillc 98a0fc3d07 why so many channels are hidden in debug ? #3614
space for new sensor
2021-11-28 20:55:16 -05:00
rusefillc 51f16894d0 docs 2021-11-28 20:19:05 -05:00
GitHub build-firmware Action b73316f3a4 Auto-generated configs and docs 2021-11-28 22:26:50 +00:00
rusefillc 6a9a267314 automation around outputs section #197
datalog toolset
2021-11-28 17:04:46 -05:00
rusefillc 27e9540e78 automation around outputs section #197
datalog toolset
2021-11-28 16:36:30 -05:00
rusefillc f8576170f6 automation around outputs section #197
datalog toolset
2021-11-28 16:10:09 -05:00
Matthew Kennedy 4537018927
fix (#3629) 2021-11-28 15:36:36 -05:00
rusefillc 1bbe587716 automation around outputs section #197
datalog toolset
2021-11-28 14:40:16 -05:00
rusefillc 30ddb4fd22 automation around outputs section #197
datalog toolset
2021-11-28 14:10:13 -05:00
rusefillc 280b1630b6 automation around outputs section #197 2021-11-27 19:23:35 -05:00
rusefillc 31898a2d79 automation around outputs section #197 2021-11-27 18:54:57 -05:00
rusefillc d068260edf automation around outputs section #197 2021-11-27 18:34:47 -05:00
rusefillc 61b18b7bf9 automation around outputs section #197 2021-11-27 14:09:27 -05:00
rusefillc c4f973c2e2 automation around outputs section #197 2021-11-27 14:08:09 -05:00
rusefillc edb10af9f4 automation around outputs section #197 2021-11-27 13:36:37 -05:00
rusefillc 1cbdd226d5 automation around outputs section #197 2021-11-27 13:05:56 -05:00
rusefillc 412d804350 automation around outputs section #197 2021-11-27 12:28:59 -05:00
Matthew Kennedy 5d2f0e6c4b
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 0b5a9fa1db automation around outputs section #197 2021-11-27 01:13:01 -05:00
rusefillc eb2045f02b automation around outputs section #197 2021-11-26 21:54:31 -05:00
rusefillc 13704396bf automation around outputs section #197 2021-11-26 21:21:46 -05:00
rusefillc 7596e45e86 automation around outputs section #197 2021-11-26 21:10:09 -05:00
rusefillc 93ccc9b1be automation around outputs section #197 2021-11-26 21:03:45 -05:00
rusefillc 7c217d73e9 automation around outputs section #197 2021-11-26 20:53:22 -05:00
rusefillc 6ff42cc031 automation around outputs section #197 2021-11-26 20:46:42 -05:00
rusefillc 89776f5424 automation around outputs section #197 2021-11-26 19:14:11 -05:00
rusefillc bcfc6453a5 automation around outputs section #197 2021-11-26 18:49:16 -05:00
rusefillc 32f43736fa automation around outputs section #197 2021-11-26 18:30:59 -05:00
rusefillc 4d78fd93b5 automation around outputs section #197 2021-11-26 18:16:06 -05:00
rusefillc cbd5650dcf automation around outputs section #197 2021-11-26 15:53:01 -05: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
rusefillc 446252d77d MAP phase sensing #3544 2021-11-24 14:26:41 -05:00
rusefillc 3077f795c4 live data for wastegate #3588 2021-11-24 12:59:57 -05: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
Matthew Kennedy 178ccdeb4d
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 b2ae7243dd
embiggen log buffer (#3596) 2021-11-22 16:46:18 -05:00
rusefillc 66043a5daf automation around outputs section #197 2021-11-21 09:35:37 -05:00
rusefillc 907c955625 automation around outputs section #197 2021-11-20 14:38:50 -05:00
rusefillc 8cc775e6b6 automation around outputs section #197 2021-11-20 14:27:21 -05:00
rusefillc 7fbd8e9154 automation around outputs section #197 2021-11-20 14:08:02 -05:00
rusefillc 0e89992c38 automation around outputs section #197 2021-11-20 13:30:25 -05:00
Scott Smith 1fe26f55fb
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 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
Matthew Kennedy caee2a5439
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 df3e60c07c
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