Commit Graph

1838 Commits

Author SHA1 Message Date
Andrey 2c0ce0ec7d deep rabbit holes are the best ones!
refactoring: encapsulation
2022-09-14 02:17:04 -04:00
GitHub gen-configs Action bf66444ebe Auto-generated configs and docs 2022-09-14 04:39:50 +00:00
rusefillc e733782920 i suspect that no one cares about these 2022-09-14 00:34:04 -04:00
GitHub gen-configs Action 4fef1d2346 Auto-generated configs and docs 2022-09-13 18:12:48 +00:00
Matthew Kennedy 86562332c4
resurrect EFI_CLOCK_LOCKS (#4572)
* resurrect EFI_CLOCK_LOCKS

* missing extern

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-09-13 14:07:25 -04:00
rusefillc ac33561801 outputRequestPeriod into logs 2022-09-12 21:41:23 -04:00
rusefillc fae5f82125 outputRequestPeriod into logs 2022-09-12 20:56:57 -04:00
rusefillc 9c83cfd696 moving SD logic to better source 2022-09-12 20:39:43 -04:00
GitHub gen-configs Action 08db9cc1ac Auto-generated configs and docs 2022-09-13 00:18:15 +00:00
rusefillc 18684f2c28 outputRequestPeriod into logs 2022-09-12 20:13:17 -04:00
Andrey G 91d4844e38
time routines refactor (#4563)
* Extract time helpers from engine_controller_misc to efitime.cpp

* Rename currentTimeMillis() to getTimeNowMs()

We have getTimeNowNt(), getTimeNowUs(), currentTimeMillis() and getTimeNowSeconds()
Align a bit.

find . -type f -name '*.c*' -exec sed -i 's/currentTimeMillis/getTimeNowMs/g' {} \;

* Rename getTimeNowSeconds() to getTimeNowS()

To align with Nt, Us, Ms versions.

* Some comments about getTimeNowLowerNt()
2022-09-11 13:06:03 -04:00
rusefillc 94762094a7 refactoring - reducing API between FW and Java 2022-09-11 01:59:44 -04:00
GitHub gen-configs Action 766735f3b6 Auto-generated configs and docs 2022-09-08 02:51:42 +00:00
Andrey dab9e04b25 remove alternator on/off mode fix #4548 2022-09-07 22:46:42 -04:00
GitHub gen-configs Action 27c40e162b Auto-generated configs and docs 2022-09-08 02:41:09 +00:00
Andrey 6e8d248408 brutal encapsulation 2022-09-07 19:37:11 -04:00
Andrey ab4b451195 os_access.h dead? 2022-09-07 15:56:45 -04:00
Matthew Kennedy 5c435526e6
safer/clearer index management (#4543) 2022-09-06 19:19:16 -04:00
GitHub gen-configs Action f59de1296b Auto-generated configs and docs 2022-09-05 05:33:14 +00:00
Andrey aec5c60f15 Engine Sniffer into TS data logs #4535 2022-09-05 01:25:12 -04:00
Andrey a0b52eeb2f different file names for different entities 2022-09-04 23:11:19 -04:00
Andrey a70d21d789 refactoring: reducing outputChannels copy 2022-09-04 23:03:42 -04:00
GitHub gen-configs Action ddcadae4e2 Auto-generated configs and docs 2022-09-05 02:56:42 +00:00
Andrey 47f4001d11 refactoring: reducing outputChannels copy 2022-09-04 22:51:11 -04:00
GitHub gen-configs Action aed7b77535 Auto-generated configs and docs 2022-09-05 02:44:56 +00:00
Andrey 71e5fbcb55 refactoring: reducing outputChannels copy 2022-09-04 22:38:05 -04:00
GitHub gen-configs Action f6cf4700ff Auto-generated configs and docs 2022-09-03 21:43:03 +00:00
rusefi c4f79aa978 refactoring: reducing outputChannels copy 2022-09-03 17:38:06 -04:00
GitHub gen-configs Action fa3b2fe009 Auto-generated configs and docs 2022-09-03 21:35:26 +00:00
Andrey 632bf967bb refactoring: reducing outputChannels copy 2022-09-03 17:12:47 -04:00
Andrey d329f8ae10 tear down Engine god object #4511
just trying different things
2022-09-03 07:44:24 -04:00
GitHub gen-configs Action 244ef7630d Auto-generated configs and docs 2022-09-02 18:42:52 +00:00
rusefillc 25f4ebbc01
moving state into specific class (#4520)
* moving state into specific class

* moving state into specific class
2022-09-02 14:38:03 -04:00
Andrey e6ae70dee6 tear down Engine god object #4511
just trying different things
2022-09-01 19:24:19 -04:00
GitHub gen-configs Action 059b06292b Auto-generated configs and docs 2022-09-01 23:18:26 +00:00
GitHub gen-configs Action 3d6d710379 Auto-generated configs and docs 2022-09-01 15:03:34 +00:00
Andrey 7e340cceb3 refactoring: reducing outputChannels copy 2022-09-01 10:58:16 -04:00
GitHub gen-configs Action ea1d2b848f Auto-generated configs and docs 2022-09-01 14:39:52 +00:00
Andrey 56f6c10042 refactoring: reducing outputChannels copy 2022-09-01 10:30:07 -04:00
GitHub gen-configs Action 7dee4d33cb Auto-generated configs and docs 2022-09-01 14:11:17 +00:00
Andrey 5941ad8fb7 smaller step forward 2022-09-01 10:06:00 -04:00
GitHub gen-configs Action b712732dff Auto-generated configs and docs 2022-09-01 05:33:56 +00:00
Andrey e240ac84d3 refactoring: reducing outputChannels copy 2022-09-01 01:06:49 -04:00
GitHub gen-configs Action 5237235e48 Auto-generated configs and docs 2022-09-01 04:53:05 +00:00
Andrey 9e14073feb c63fb29aaf partial rollback 2022-09-01 00:46:54 -04:00
GitHub gen-configs Action 4f6f985d4f Auto-generated configs and docs 2022-09-01 04:18:59 +00:00
Andrey c63fb29aaf refactoring: reducing outputChannels copy 2022-09-01 00:13:55 -04:00
GitHub gen-configs Action 398003c65d Auto-generated configs and docs 2022-09-01 03:56:47 +00:00
Andrey dddec7cf06 currentEngineDecodedPhase as trigger central field 2022-08-31 23:31:35 -04:00
Andrey 4cbaddcc60 less code is better 2022-08-31 23:14:20 -04:00
GitHub gen-configs Action 81a73508b7 Auto-generated configs and docs 2022-08-31 23:10:02 +00:00
GitHub gen-configs Action 490d9b0c93 Auto-generated configs and docs 2022-08-30 06:02:26 +00:00
GitHub gen-configs Action 886f62da3d Auto-generated configs and docs 2022-08-30 02:29:24 +00:00
GitHub gen-configs Action 8b8ce329b3 Auto-generated configs and docs 2022-08-27 18:44:44 +00:00
Andrey G 9997bf95e0
output channels: isFuelPumpOn vs isPumpOn, remove second one (#4490) 2022-08-27 14:28:33 -04:00
GitHub gen-configs Action 06cc54057a Auto-generated configs and docs 2022-08-26 01:09:10 +00:00
GitHub gen-configs Action dd41e87877 Auto-generated configs and docs 2022-08-26 00:41:14 +00:00
Matthew Kennedy 016c9ecd4b
fix typo, move bit to idle state (#4484) 2022-08-25 20:26:12 -04:00
GitHub gen-configs Action d048d6522e Auto-generated configs and docs 2022-08-25 22:51:12 +00:00
GitHub gen-configs Action cf8d43f412 Auto-generated configs and docs 2022-08-24 22:15:50 +00:00
Matthew Kennedy 73abcb044d
log the state of hasSynchronizedPhase() (#4478)
* s

* log whether we've synced phase

* trigger_state_primary

* need that file

* engine state is not the right spot
2022-08-24 18:11:05 -04:00
rusefillc 2baae2adc0 docs 2022-08-23 22:25:08 -04:00
GitHub gen-configs Action b167dab9cd Auto-generated configs and docs 2022-08-24 02:19:34 +00:00
GitHub gen-configs Action 1d73174592 Auto-generated configs and docs 2022-08-23 23:50:32 +00:00
Matthew Kennedy 9738ba84ae
log missed exti events (#4473)
* log missed exti events

* units

* s

* guard

* stub for non stm32
2022-08-23 19:45:28 -04:00
GitHub gen-configs Action 19a650f467 Auto-generated configs and docs 2022-08-23 04:19:39 +00:00
GitHub gen-configs Action ed96da8738 Auto-generated configs and docs 2022-08-23 03:11:55 +00:00
GitHub gen-configs Action 36ce822066 Auto-generated configs and docs 2022-08-23 02:57:26 +00:00
GitHub gen-configs Action 237bf1d611 Auto-generated configs and docs 2022-08-22 22:32:47 +00:00
GitHub gen-configs Action 5069937dd0 Auto-generated configs and docs 2022-08-22 22:23:05 +00:00
rusefillc f9b50c2523 better method name 2022-08-22 18:07:59 -04:00
GitHub gen-configs Action dc86c76c9a Auto-generated configs and docs 2022-08-22 15:19:58 +00:00
GitHub gen-configs Action c1b4e4374f Auto-generated configs and docs 2022-08-21 16:43:08 +00:00
GitHub gen-configs Action 47e13297f6 Auto-generated configs and docs 2022-08-21 04:25:05 +00:00
GitHub gen-configs Action 2d9f734a8f Auto-generated configs and docs 2022-08-19 03:08:33 +00:00
Matthew Kennedy 423f69a842
allow logging multiple warnings at once (#4414)
* allow logging multiple warnings at once

* comment

* .Code

* Revert ".Code"

This reverts commit 2b986bd50035aeec051d11aafd83fdbc1694351c.

* add a better comparison operator instead of conversion

* dot code

* Revert "dot code"

This reverts commit 35f6ae1007c41e3b30ea129a324f33ab4205036d.

* force gcc-10 maybe?

* Revert "force gcc-10 maybe?"

This reverts commit 4ddf8bcefddd354ccdc1da682c5fff1e68d44273.

* vq

* dot code

* dead

* dot code

* return may be null

* static_vector; maybe cyclic_buffer is broken or wrong tool for the job?

* move static vector

* put cyclic buffer back how it was since we don't use it now
2022-08-17 01:12:25 -04:00
GitHub gen-configs Action 9d63673dc5 Auto-generated configs and docs 2022-08-17 04:30:35 +00:00
rusefillc 02472721c1
Struct array for outputs #4442 (#4453)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-08-17 00:25:55 -04:00
GitHub gen-configs Action 81b2d57ed3 Auto-generated configs and docs 2022-08-17 03:01:19 +00:00
rusefillc 041c68ff33 invalid ini fix #4451 2022-08-16 22:24:02 -04:00
GitHub build-firmware Action e8349259b0 Auto-generated configs and docs 2022-08-15 22:04:38 +00:00
GitHub build-firmware Action 5c131387ee Auto-generated configs and docs 2022-08-15 21:22:59 +00:00
Andrey 9785c68e82 Revert "A safe place where stuff is consistent (#4444)"
This reverts commit 15d42bd293.
2022-08-15 17:05:40 -04:00
GitHub build-firmware Action 83f2e1e7a6 Auto-generated configs and docs 2022-08-15 19:03:46 +00:00
GitHub build-firmware Action 4199384983 Auto-generated configs and docs 2022-08-15 18:43:52 +00:00
rusefillc 15d42bd293
A safe place where stuff is consistent (#4444)
* We have to move either forward or backwards with newparse #4441

only spot where newparse was used for real?

* We have to move either forward or backwards with newparse #4441

.jar

* Struct array for outputs #4442

* Struct array for outputs #4442

* Struct array for outputs #4442

making kinetis happy :(

* VVT target to allow negative values #4424

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-08-15 14:26:51 -04:00
GitHub build-firmware Action 84ecea460c Auto-generated configs and docs 2022-08-15 17:10:30 +00:00
rusefillc 5cffcd71f4 Struct array for outputs #4442
rear padding too small for current addition, we shall expand for future additions
2022-08-15 13:05:21 -04:00
rusefillc 34bef1b3d2 https://github.com/rusefi/alphax-4chan/issues/57 2022-08-11 10:54:54 -04:00
GitHub build-firmware Action 94a333166f Auto-generated configs and docs 2022-08-11 14:25:31 +00:00
rusefillc 9fb476a542 https://github.com/rusefi/alphax-4chan/issues/57 2022-08-11 10:08:51 -04:00
rusefi 1899ef3506 ISO-TP does not work on real car #4427
verboseIsoTp
2022-08-11 01:23:44 -04:00
rusefi 869e51e31d ISO-TP does not work on real car #4427
oh shit :(
2022-08-11 00:37:48 -04:00
GitHub build-firmware Action 2d7ab9f712 Auto-generated configs and docs 2022-08-10 05:44:46 +00:00
GitHub build-firmware Action a73cf6fc17 Auto-generated configs and docs 2022-08-10 00:44:28 +00:00
rusefillc 5105bc57e3 ISO-TP does not work on real car #4427 2022-08-09 13:12:51 -04:00
Matthew Kennedy 165e5bb869
misc fixes (#4411)
* fix warnings

* break to debugger in case of panic

* move the check

* s
2022-08-02 12:19:50 -04:00
Matthew Kennedy ed5f1b3d57
more CAN verbose (#4402)
* add stuff

* don't read invalid value
2022-08-01 15:27:06 -04:00
Matthew Kennedy b6f1779781
implement sensor checker (#4395)
* implement sensor checker

* use default

* s

* fix

* properly report non-timeout errors

* it's not safe to read Value when invalid

* it's not safe to read Value when invalid
2022-07-30 17:08:48 -04:00
rusefillc 26ae6f7490 [SECURITY] Cheap password protection against tune modification fix #4243 2022-07-30 12:23:53 -04:00
rusefillc 5d9a26c483 refactoring 2022-07-30 12:07:36 -04:00
rusefillc d0074ec695 dead code? 2022-07-30 11:53:20 -04:00
rusefillc 828334c841 docs 2022-07-30 11:21:42 -04:00
GitHub build-firmware Action 04462839f5 Auto-generated configs and docs 2022-07-27 09:38:56 +00:00
Matthew Kennedy d4b8a036af
Log gppwm output values (#4385)
* remove debug option

* purpose built output channels

* name

* embiggen sd log buffer

* Revert "embiggen sd log buffer"

This reverts commit 37432a56535b24c221ae92e9aaded23de4d4a579.

* embiggen SD log buffer
2022-07-27 12:10:00 +03:00
Matthew Kennedy b99d90b006
Start -> start (#4366) 2022-07-21 15:17:32 -04:00
rusefillc 9e4187d8cf typos 2022-07-20 18:45:35 -04:00
Andrey G 7caef0ba92
TunerStudio reconnect speedup (#4358)
* TunerStudio: do not emit tons of errors if we are not in sync

Track state of sync with ither side. Emit only ONE error when sync
is lost.
Also no need to wait 1sec for second byte in binary mode. 10mS is
enought.

* TunerStudio: remove duplicated debug print

* TunerStudio: comment about in_sync

* TunerStudio: clear comments
2022-07-20 17:54:10 -04:00
rusefillc 70d0351f9c picking atomic piece of #4358 2022-07-20 17:06:34 -04:00
rusefillc adc11fcc1f refactoring: reducing warnings 2022-07-20 17:03:15 -04:00
Matthew Kennedy 848fbcf6ca
fragments (#4357) 2022-07-19 11:02:41 +03:00
rusefillc 90e98bacbf scaling of microRusEFI ADC gauges fix #4356 2022-07-18 08:26:17 -04:00
Matthew Kennedy a0d8ae3f4f
use libfirmware for a few things (#4351)
* use libfirmware

* unit tests

* crc

* missed one

* bootloader
2022-07-16 02:22:51 -04:00
rusefillc 8a8a214927 raw aux inputs gauges fix #4346 2022-07-15 06:37:30 -04:00
GitHub build-firmware Action bde98e6f51 Auto-generated configs and docs 2022-07-15 10:29:23 +00:00
rusefillc 3ed54327a3 raw aux inputs gauges #4346 2022-07-15 06:23:24 -04:00
GitHub build-firmware Action 7cada13589 Auto-generated configs and docs 2022-07-14 13:57:47 +00:00
rusefillc 5db378970d PID logging: p term #4337 2022-07-08 10:31:34 -04:00
GitHub build-firmware Action 7daebe83e2 Auto-generated configs and docs 2022-07-08 14:11:38 +00:00
rusefillc 68edeefc6c PID logging: p term #4337 2022-07-08 09:43:05 -04:00
GitHub build-firmware Action 7764bf729a Auto-generated configs and docs 2022-07-08 05:14:15 +00:00
GitHub build-firmware Action e45990462c Auto-generated configs and docs 2022-07-08 04:45:52 +00:00
GitHub build-firmware Action 92eeceb5ed Auto-generated configs and docs 2022-07-08 04:29:21 +00:00
Matthew Kennedy e9d092f975
big delete ICU (#4270)
* big delete

* icu vestiges

* changelog
2022-07-07 15:27:59 -04:00
rusefillc 2f97da185e
dead code? (#4325)
* dead code?

* dead code?

* dead code?

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-07-07 00:35:11 -04:00
Matthew Kennedy aecacc6aa1
Rewrite tooth logger buffer management (#4317)
* s

* make it work

* put back enough maybe

* fix console composite log

* unit tests can just use a vector, why not

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-07-04 16:57:17 -04:00
Matthew Kennedy a95bc3ad03
implement CAN driver for simulator (#4312)
* stub simulator CAN driver

* comments

* CAN sensor

* maybe implement?

* s

* fix

* tx and rx actually work!?!?!

* check_can_isr

* modify chibios

* Sim has no CAN on Windows (for now?)

* safer init/deinit, enable assertions

* smarter handling of missing CAN device

* better guards

* guards for windows
2022-07-03 08:25:24 -04:00
GitHub build-firmware Action a145548ceb Auto-generated configs and docs 2022-07-02 08:21:19 +00:00
GitHub build-firmware Action 54a140d0df Auto-generated configs and docs 2022-07-02 07:55:19 +00:00
GitHub build-firmware Action 3a3dbc9023 Auto-generated configs and docs 2022-06-30 17:53:57 +00:00
GitHub build-firmware Action 7f8a26f779 Auto-generated configs and docs 2022-06-30 03:38:34 +00:00
GitHub build-firmware Action b33f32d20c Auto-generated configs and docs 2022-06-29 22:16:13 +00:00
GitHub build-firmware Action 4ffdf74203 Auto-generated configs and docs 2022-06-29 07:57:36 +00:00
Andrey 9c9cf69ebe logging of live data structs was: data points #3614 2022-06-29 03:29:21 -04:00
Andrey dc4fcda6da logging of live data structs was: data points #3614 2022-06-29 03:21:53 -04:00
rusefillc 8acbf9d8df logging of live data structs was: data points #3614 2022-06-29 03:13:35 -04:00
rusefillc aab466094c logging of live data structs was: data points #3614 2022-06-29 03:01:13 -04:00
rusefillc f7ecebaa64 logging of live data structs was: data points #3614 2022-06-29 02:37:24 -04:00
rusefillc d2cece4f65 https://github.com/rusefi/hellen-NB2-issues/issues/36 2022-06-29 02:33:14 -04:00
GitHub build-firmware Action a8c3769906 Auto-generated configs and docs 2022-06-29 06:21:31 +00:00
GitHub build-firmware Action 171bc28d38 Auto-generated configs and docs 2022-06-29 06:06:27 +00:00
GitHub build-firmware Action 1407909061 Auto-generated configs and docs 2022-06-29 05:34:35 +00:00
rusefillc bdb9eaa2f5 logging of live data structs was: data points #3614 2022-06-29 01:27:42 -04:00
GitHub build-firmware Action 9798e6e22a Auto-generated configs and docs 2022-06-29 05:23:15 +00:00
GitHub build-firmware Action 68b833ab95 Auto-generated configs and docs 2022-06-27 02:39:05 +00:00
Matthew Kennedy b07652af1c
get rid of extra quotes (#4288) 2022-06-26 22:32:47 -04:00
rusefillc 12d3a00712 SD card logs are broken by double fuel: wall correction #4291 2022-06-26 20:48:36 -04:00
GitHub build-firmware Action df70173ad1 Auto-generated configs and docs 2022-06-27 00:12:14 +00:00
rusefillc 88b061dd2c stealing from David 2022-06-26 19:42:08 -04:00
rusefillc 453161a1c0 visiting "live data" tab causes fatal error on ECU fix #4271 2022-06-25 22:09:54 -04:00
rusefillc 5a2b430183 visiting "live data" tab causes fatal error on ECU fix #4271 2022-06-25 19:48:48 -04:00
GitHub build-firmware Action 55b9e384cf Auto-generated configs and docs 2022-06-24 00:20:41 +00:00
Matthew Kennedy 29420c76aa
wideband live data (#4276)
* wideband live data magic

* test build happy

* test even happier
2022-06-23 20:04:26 -04:00
Matthew Kennedy b92c0149d6
get rid of setSerialConfigurationOverrides (#4274)
* get rid of setSerialConfigurationOverrides

* missed a few

* kinetis
2022-06-23 19:42:09 -04:00
GitHub build-firmware Action bd93c0b8da Auto-generated configs and docs 2022-06-19 13:59:06 +00:00
Matthew Kennedy 7e8ae7c8a3
Write output channels with new parser (#4219)
* let the new parser run

* s

* support for output channels

* usages reader uses new parser for output channels

* better debugging configuration

* bad merge

* test it a bit too

* more tests

* copy/paste the same content from other file

* s

* fix bugs where even the existing logic tries to write as an enum (?)

* jar

* print stream always unix

* print stream always unix

* use typedefs correctly

* jar

* stub support for multiple of each type

* s

* s

* name some more datas
2022-06-19 09:52:23 -04:00
rusefi 1f3980f10c verbose trigger sync should reuse engineSnifferRpmThreshold #4259
this should work faster?
2022-06-18 14:44:10 -04:00
GitHub build-firmware Action e058cb7c0c Auto-generated configs and docs 2022-06-18 13:57:19 +00:00
rusefillc e6526621ba helping build? 2022-06-18 09:50:46 -04:00
Matthew Kennedy 7cc09ade6f
More fragment refactoring: encode by type, not enum index (#4075)
* fragment refactoring

* jar

* jar?

* look up fragment by type, not index

* don't even include that

* jar again

* jar again

* unit tests are happy

* guards

* jar

* hpfp guarding

* handle knock controller

* jar

* s

* stub multiple for each

* jar

* Update live_data.cpp

* s

* s
2022-06-18 09:23:44 -04:00
GitHub build-firmware Action 28823f1d84 Auto-generated configs and docs 2022-06-18 01:37:23 +00:00
Matthew Kennedy 4ada633206
Remove third trigger channel (#4226)
* remove third trigger

* clean up the honda mess

* there was nothing novel about this engine config

* include

* missed a few

* s

* x

* changelog

* don't set the third trigger input

* don't redefine the same thing 3 times

* only two inputs!

* test
2022-06-01 21:24:20 -04:00
rusefillc fc81ef9ce5 hard requirement for console version match #4187 2022-06-01 11:07:28 -04:00
rusefillc 97c73b3a4e hard requirement for console version match #4187 2022-05-29 14:42:08 -04:00
GitHub build-firmware Action 49a86760e4 Auto-generated configs and docs 2022-05-14 15:57:57 +00:00
rusefillc cbc4a42954 Maintenability: frequency sensors need a simple event counter in the logs #4173 2022-05-14 08:39:08 -04:00
GitHub build-firmware Action cbfae3bb88 Auto-generated configs and docs 2022-05-14 12:21:15 +00:00
rusefillc cac3427ec8 Maintenability: frequency sensors need a simple event counter in the logs #4173 2022-05-14 08:13:47 -04:00
Matthew Kennedy 170d574a5d
move logic in to trigger decoder (#4162)
* move logic in to trigger decoder

* status loop

* minor cleanup

* s
2022-05-10 23:55:28 +03:00
rusefillc 683a723d2f
CAN category (#4148)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-05-09 16:49:23 -04:00
GitHub build-firmware Action 984b91b14e Auto-generated configs and docs 2022-05-09 11:46:30 +00:00
GitHub build-firmware Action 4e213fbc1e Auto-generated configs and docs 2022-05-09 09:42:49 +00:00
rusefillc 66f35b0b40 Remove value copy from controller into outputChannels #4095 2022-05-09 05:30:04 -04:00
GitHub build-firmware Action c9560fb2dd Auto-generated configs and docs 2022-05-08 13:06:44 +00:00
rusefillc bd9639b91d Remove value copy from controller into outputChannels #4095 2022-05-08 08:50:27 -04:00
GitHub build-firmware Action 04da97c1e3 Auto-generated configs and docs 2022-05-08 12:05:34 +00:00
rusefillc 84f75092ec Remove value copy from controller into outputChannels #4095 2022-05-08 07:58:19 -04:00
GitHub build-firmware Action 5002f694d7 Auto-generated configs and docs 2022-05-05 04:59:48 +00:00
Matthew Kennedy 2a204b9b8f
binary log knock count and retard (#4139) 2022-05-05 07:41:41 +03:00
GitHub build-firmware Action c3bfa25504 Auto-generated configs and docs 2022-04-29 19:34:05 +00:00
GitHub build-firmware Action ebb4d8a531 Auto-generated configs and docs 2022-04-29 16:32:04 +00:00
rusefillc b8c82889f3 knock reaction #202 2022-04-29 12:25:33 -04:00
GitHub build-firmware Action 9a5556227a Auto-generated configs and docs 2022-04-29 15:51:48 +00:00
Matthew Kennedy e4a0979dc2
Brain pin is enum class (#4108)
* change most usages to Gpio::

* board configs

* engine configs etc

* isBrainPinValid, smart gpio

* generator

* generator

* generator

* connector yamls

* kinetis enums

* cypress txt

* kinetis config

* frankenso

* config generator

* actually do it for the others

* disable skips for pr ci

* fix tle8888

* misc

* weird cast from int

* needs this operator too

* this can be an unsigned subtract

* happy tests

* s

* kinetis isConfigurationChanged weirdness

* missed J/K

* cypress efifeatures

* build script mistake (!)

* mistake in smart gpio

* debounce

* eg33

* kinetis, so needy

* it's pretty green, we can skip these again
2022-04-28 17:32:39 -04:00
Matthew Kennedy bc6a87cadc
allow enum_class in rusefi_hw_enums.h (#4104)
* make things c++ friendly

* install various canaries in coal mines

* using is much clearer than typedef

* fixing builds

* lps25

* trigger includes were a mess

* c -> c++ cleanup

* os util

* why did so many include os_util.h?

* fwd declare

* cypress/kinetis

* s

* eg33 happy

* happy sim

* cypress usb

* pch

* cypress

* doesn't need to include all that

* h7
2022-04-25 20:38:16 -04:00
GitHub build-firmware Action b0994daae5 Auto-generated configs and docs 2022-04-25 22:21:16 +00:00
rusefillc d98f35576d docs 2022-04-25 00:36:12 -04:00
GitHub build-firmware Action c8e19e807a Auto-generated configs and docs 2022-04-25 04:01:07 +00:00
GitHub build-firmware Action 8406432b29 Auto-generated configs and docs 2022-04-25 03:46:16 +00:00
GitHub build-firmware Action e064759ef7 Auto-generated configs and docs 2022-04-24 00:06:06 +00:00
rusefillc 838e8d8ddb Remove value copy from controller into outputChannels #4095 2022-04-23 19:53:05 -04:00
GitHub build-firmware Action 986e0573b2 Auto-generated configs and docs 2022-04-23 22:02:47 +00:00
GitHub build-firmware Action 8001c88151 Auto-generated configs and docs 2022-04-23 11:41:19 +00:00
David Holdeman 49f8daae14
More untested transmission features (#4093)
* use ISS for gearbox ratio, add gauge for TC ratio

* measure shift time

* add shift time gauge, todo notes for pc

* do conversion in the right direction

* switch to Timer and seconds

* try fixing build

* try fixing build again

* try defines, remove include

* use shift pcs

* add 3-2 pct curve

* control 3-2 solenoid

* move 3-2 to persistent config

* fix param
2022-04-23 07:34:39 -04:00
GitHub build-firmware Action 786ec5a4dd Auto-generated configs and docs 2022-04-21 13:14:29 +00:00
David Holdeman 1747b6a6e6
Add ISS sensor, rearrange some transmission config (#4089)
* move other solenoids to new dialog

* change name of menu item

* move buttonshift to new dialog

* add ISS config

* add some iss code

* add iss output

* de-init ISS
2022-04-21 09:07:52 -04:00
GitHub build-firmware Action 82e3aa14eb Auto-generated configs and docs 2022-04-19 19:11:17 +00:00
GitHub build-firmware Action 9789425c71 Auto-generated configs and docs 2022-04-19 00:15:57 +00:00
David Holdeman 7de7ea6ad0
TCU features and fixes (#4082)
* add tcc pwm freq field

* add pc fields, make trans fields conditional

* make button shift fields conditional, remove duplicates

* add 3-2 solenoid fields

* add PC curves

* try combining tcc curves

* try combining pc curves

* use airmass instead of tps for pc

* reduce airmass axis

* increase axis digits

* duplicate for per shift, change names

* add pc per shift arrays

* try moving tables

* move more tables

* init solenoid pins

* start adding pwm stuff, change some array names

* fix gear issue

* fix multiple shift issue

* fix transmission controllers not working

* fix transmission controllers not working 2

* rearrange and virtual some things

* make getMode const

* fix pwm
2022-04-18 20:09:27 -04:00
GitHub build-firmware Action f8974c8f26 Auto-generated configs and docs 2022-04-18 21:53:02 +00:00
GitHub build-firmware Action 43b342f5cb Auto-generated configs and docs 2022-04-18 16:29:48 +00:00
rusefillc 9efea589f2 Merge branch 'master' of https://github.com/rusefi/rusefi 2022-04-18 11:45:08 -04:00
rusefillc e715bcc01f actually let's remove the duplicates 2022-04-18 11:43:49 -04:00
GitHub build-firmware Action b3dcc2a603 Auto-generated configs and docs 2022-04-18 15:43:09 +00:00
rusefillc e59ae35196 unique field names 2022-04-18 11:11:57 -04:00
Matthew Kennedy 16de438ab8
knock threshold table fix (#4077)
* fix knock threshold table

* defaults

* knock controller is engine module

* testable

* test builds

* knock tests work

* s

* format

* everyone loves changelogs
2022-04-18 08:03:16 -04:00
GitHub build-firmware Action 0a47930d3b Auto-generated configs and docs 2022-04-18 06:09:25 +00:00
GitHub build-firmware Action 1dbb810345 Auto-generated configs and docs 2022-04-18 04:38:09 +00:00
GitHub build-firmware Action d6088ddbf8 Auto-generated configs and docs 2022-04-18 03:38:52 +00:00
GitHub build-firmware Action e6ade2833a Auto-generated configs and docs 2022-04-18 03:07:00 +00:00
rusefillc 3d44f6d2c0 logging of live data structs was: data points #3614
alpha version of TS UI
2022-04-17 22:28:36 -04:00
GitHub build-firmware Action 285ae7b6d8 Auto-generated configs and docs 2022-04-18 01:08:54 +00:00
GitHub build-firmware Action c6780b8369 Auto-generated configs and docs 2022-04-18 00:42:25 +00:00
rusefillc afd506a868 bugfix: TS connectivity issue with enlarged output channels 2022-04-17 20:02:57 -04:00
GitHub build-firmware Action a2cff4ee12 Auto-generated configs and docs 2022-04-17 20:30:07 +00:00
Andrey 4db874a607 shameless reminder about time-sensitive Proteus fabrication issue which worries me 2022-04-17 16:00:31 -04:00
GitHub build-firmware Action 636dadaffb Auto-generated configs and docs 2022-04-17 18:27:47 +00:00
rusefillc 56f214d679 logging of live data structs was: data points #3614
exciting
2022-04-17 13:28:43 -04:00
rusefillc 2624d0ad07 logging of live data structs was: data points #3614
progress!
2022-04-17 13:16:13 -04:00
GitHub build-firmware Action e4c588c48d Auto-generated configs and docs 2022-04-17 07:48:16 +00:00
GitHub build-firmware Action 1a501254a5 Auto-generated configs and docs 2022-04-17 07:28:07 +00:00
GitHub build-firmware Action bd4b447e3e Auto-generated configs and docs 2022-04-17 06:55:53 +00:00
rusefillc ead4b5488f logging of live data structs was: data points #3614 2022-04-17 02:26:40 -04:00
GitHub build-firmware Action b271f54214 Auto-generated configs and docs 2022-04-17 01:12:17 +00:00
GitHub build-firmware Action 332e979de5 Auto-generated configs and docs 2022-04-16 23:51:06 +00:00
rusefillc b707812788 logging of live data structs was: data points #3614 2022-04-16 19:43:12 -04:00
GitHub build-firmware Action bde3acaefe Auto-generated configs and docs 2022-04-16 23:33:47 +00:00
rusefillc 07f210a82b random progress & method rename 2022-04-16 17:35:59 -04:00
GitHub build-firmware Action 03d558075d Auto-generated configs and docs 2022-04-16 13:31:47 +00:00
Matthew Kennedy 6aef4f10d0
fragment refactoring (#4072)
* fragment refactoring

* jar

* jar?
2022-04-16 09:24:45 -04:00
rusefillc e006a67cc0 logging of live data structs was: data points #3614 2022-04-16 01:03:12 -04:00
GitHub build-firmware Action 3992b745d5 Auto-generated configs and docs 2022-04-16 02:50:41 +00:00
rusefillc 5ea6edda62 some max values 2022-04-15 16:38:08 -04:00
rusefillc 11cea53c36 refactoring 2022-04-15 09:47:12 -04:00
Matthew Kennedy 32d29d1134
s (#4070) 2022-04-15 09:01:04 -04:00
Matthew Kennedy 17f741327f
aux linear fixes (#4069) 2022-04-15 07:22:52 -04:00
rusefillc fb75cd995f logging of live data structs was: data points #3614
YES! we now expose fragments
2022-04-14 22:41:46 -04:00
rusefillc 5086d93a23 logging of live data structs was: data points #3614
getting closer...
2022-04-14 22:40:35 -04:00
rusefillc 943409b979 logging of live data structs was: data points #3614 2022-04-14 22:11:18 -04:00
rusefillc 007396003e logging of live data structs was: data points #3614
unification with outputs
2022-04-14 21:01:26 -04:00
rusefillc 7162bf8d9e makes no difference? oh makes a lot, revert 2022-04-14 15:40:38 -04:00
rusefillc 1e9bc24a73 makes no difference? 2022-04-14 15:31:50 -04:00
rusefillc 084685c747 logging of live data structs was: data points #3614
ETB
2022-04-14 15:25:01 -04:00
rusefi eed821a159 logging of live data structs was: data points #3614 2022-04-14 02:01:34 -04:00
rusefi 141804f490 steps towards better commands encapsulation 2022-04-14 01:44:35 -04:00
rusefi d7da81b5c2 steps towards better commands encapsulation 2022-04-14 01:06:44 -04:00
rusefi fcf9a42bea encapsulation 2022-04-14 00:35:33 -04:00
rusefillc 44ed81fce0 logging of live data structs was: data points #3614
handling request past end of fragments
2022-04-13 23:31:32 -04:00
rusefillc 57df620087 logging of live data structs was: data points #3614 2022-04-13 22:27:44 -04:00
Andrey 8752f55a5f logging of live data structs was: data points #3614
progress
2022-04-13 21:52:05 -04:00
rusefillc 7c5e8c8fb8 logging of live data structs was: data points #3614
one step back
2022-04-13 21:46:38 -04:00
rusefillc d78b09f651 logging of live data structs was: data points #3614
hmm
2022-04-13 21:37:49 -04:00
rusefillc 37d4adeb33 logging of live data structs was: data points #3614
progress & more consistent convention
2022-04-13 21:20:37 -04:00
rusefillc 6518315af6 logging of live data structs was: data points #3614
progress & more consistent convention
2022-04-13 21:01:05 -04:00
rusefillc 4834683dc6 logging of live data structs was: data points #3614
progress & more consistent convention
2022-04-13 20:46:55 -04:00
rusefillc 53d31ee0ea logging of live data structs was: data points #3614
support for null fragments
2022-04-13 20:46:55 -04:00
rusefillc 413e636d4c typo/grammar 2022-04-13 17:55:31 -04:00
rusefillc b889470cd3 Set sensible default for dwell by voltage multiplier table #4067 2022-04-13 15:43:05 -04:00
rusefi 18a193b8e3 American 2022-04-09 17:53:24 -04:00
GitHub build-firmware Action ba8841250a Auto-generated configs and docs 2022-04-07 13:29:42 +00:00
Matthew Kennedy f0b810a81c
Gear detection implementation (#4052)
* gear detect improvements

* ui

* ui for gear ratios

* ui

* output channel

* output channels etc

* implement gear detection

* name

* s

* status loop

* missing function

* ui tweaking

* s
2022-04-07 09:21:11 -04:00
Matthew Kennedy ad368b2031
Gear detection improvements (#4047)
* gear detect improvements

* ui

* ui for gear ratios

* ui
2022-04-06 16:15:58 -04:00
GitHub build-firmware Action 7a0cb64b95 Auto-generated configs and docs 2022-04-05 01:52:38 +00:00
GitHub build-firmware Action 681b8725f2 Auto-generated configs and docs 2022-04-03 22:06:25 +00:00
Matthew Kennedy 61e9cdd483
don't get afr raw if no sensor exists (#4040)
* don't get afr raw if no sensor exists

* fix timing correction units
2022-04-03 17:39:29 -04:00
GitHub build-firmware Action 4a1a177364 Auto-generated configs and docs 2022-03-29 06:42:16 +00:00
rusefillc bf5802ee29 [EPIC] [Feature Request] Transmission Control #1454 2022-03-29 02:35:27 -04:00
rusefillc 5afed85479 We have working runtime RAM detection - we shall use it for Lua #3970 2022-03-27 19:39:40 -04:00
GitHub build-firmware Action 084b042832 Auto-generated configs and docs 2022-03-24 13:05:35 +00:00
Matthew Kennedy f1742c44ff
output channel tweaks (#4023)
* shuffle around output channels

* postState should take a ref

* s

* s

* patch input file

* limits

* accel bad bounds check

* units

* units

* Revert "accel bad bounds check"

This reverts commit b2bb493be331d5d2cf40b9ed01363a53182c883e.

* missed an autoscale
2022-03-24 08:58:55 -04:00
GitHub build-firmware Action b590afad7f Auto-generated configs and docs 2022-03-23 23:22:22 +00:00
Andrey 14076471eb https://rusefi.com/forum/viewtopic.php?p=44732 2022-03-23 19:15:39 -04:00
GitHub build-firmware Action 6e20324be1 Auto-generated configs and docs 2022-03-21 00:20:26 +00:00
Matthew Kennedy be47bc1b37
aux linear sensors (#4005)
* aux linear sensors

* comment

* kick build

* fix alignment

* fix alignment
2022-03-20 20:13:04 -04:00
GitHub build-firmware Action 22d4021a46 Auto-generated configs and docs 2022-03-20 13:35:00 +00:00
Matthew Kennedy f742ae8b7e
limp mangaer handles more stuff (#3983) 2022-03-20 09:28:17 -04:00
rusefillc 6c8f130ff9 JNI for test coverage #3965 2022-03-15 13:05:24 -04:00
rusefillc 9ba10b19d4 JNI for test coverage #3965 2022-03-15 11:47:47 -04:00
Andrey c4339e2148 JNI for test coverage #3965 2022-03-15 11:23:06 -04:00
rusefillc cdc7c2497b JNI for test coverage #3965 2022-03-15 10:47:02 -04:00
rusefillc ed16f3180f JNI for test coverage #3965 and code style 2022-03-15 10:32:32 -04:00
rusefillc 873d4e26cb refactoring 2022-03-14 23:02:00 -04:00
rusefillc 7d32746c02 SD card log fields list should be auto-generated #3985 2022-03-11 17:33:08 -05:00
GitHub build-firmware Action 392935050c Auto-generated configs and docs 2022-03-11 20:54:44 +00:00
Matthew Kennedy 6ac99f3dd7
sd log blah (#3991) 2022-03-11 15:48:03 -05:00
rusefillc 47d84d8c0d BT 2022-03-11 13:06:47 -05:00
rusefillc 23514b7e5c Firmware support or user instructions for jdy-33 fix #3944 2022-03-10 17:01:25 -05:00
rusefillc 0f5cb33426 Firmware support or user instructions for jdy-33 #3944 2022-03-10 13:35:37 -05:00
rusefillc 22eb5a8073 Firmware support or user instructions for jdy-33 #3944 2022-03-10 12:49:04 -05:00
rusefillc dbe02d8a48 SD card log fields list should be auto-generated #3985 2022-03-09 18:45:41 -05:00
GitHub build-firmware Action 4137be13a5 Auto-generated configs and docs 2022-03-09 01:32:57 +00:00
Andrey G bca63957b1
Test bench: implement injector test for dead time calculation (#3960)
* Add output channel for TestBench iter counter

* Update testBenchIter from runBench

* rusefi.input: testBenchIter gauge

* rusefi.input: initial Injector test dialog
2022-03-08 19:25:58 -06:00
rusefillc 286730f2a0 Onboard SD Card Datalogging Doesn't Record TPS #3943 2022-02-18 22:44:39 -05:00
Matthew Kennedy 2f1957cc0c
Chunk outputchannels (#3916)
* executeCommand knows about opcodes

* kick

* remove allowLongResponse

* unused

* chunk output channel reads

* add api in firmware instead

* test size

* bad merge

* firmware missed a spot

* bad merge

* fix logic

* haha we have to disable it

* we can remove the TODO from #3917
2022-02-11 17:24:08 -05:00
Matthew Kennedy 35c4c0bfba
move allowLongResponse option to ECU side (#3917)
* executeCommand knows about opcodes

* kick

* remove allowLongResponse

* add api in firmware instead

* test size

* bad merge

* firmware missed a spot

* fix logic

* haha we have to disable it
2022-02-11 16:03:20 -05:00
rusefillc 06797c4fac docs 2022-02-10 23:17:42 -05:00
GitHub build-firmware Action 4032c83f29 Auto-generated configs and docs 2022-02-11 01:24:16 +00:00
rusefillc 153e7783f7 Lua CAN relay performance #3911 2022-02-10 20:17:17 -05:00
Matthew Kennedy f1897ba7aa
less dependence on that logger (#3884)
* less dependence on that logger

* comma

* refactor a bit, make it clear what this thing actually *does*

* static

* shrink the buffer a bit and make names useful

* dead util that's just subtraction lol
2022-02-09 06:53:16 -05:00
rusefillc b00c39df3e LUA to read if USB is connected or not. #3891 2022-02-04 17:25:05 -05:00