Commit Graph

765 Commits

Author SHA1 Message Date
GitHub build-firmware Action fd23938b2a Auto-generated configs and docs 2022-01-05 05:09:04 +00: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
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 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
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
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
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
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
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
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 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 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
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
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
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 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
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
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 504bd78814 Remove engine load acceleration enrichment fix #3357 2021-10-16 21:24:05 -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
rusefillc 79fd7586e0 some cheap used junkyard Accelerometer #2225
MM5.10
2021-10-06 00:19:33 -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 c0805d4cc6 rusEFI console logs are missing some fields #3314 2021-10-04 00:30:20 -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
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
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
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
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 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 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
rusefi 723b347e4d longer error message in 't' response 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
Andrey 09fee427c4 fix vvt indication #2926
only field rename
2021-07-08 09:25:31 -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
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
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
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 d7f9d42e07 Hook up multi bank fuel trim (#2532)
* multi bank trim

* cleaning

* output channels

* output channels
2021-05-08 17:41:50 -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