Commit Graph

1838 Commits

Author SHA1 Message Date
GitHub gen-configs Action 984fdc1e79 Auto-generated configs and docs 2022-10-13 00:07:37 +00:00
rusefillc c1834b14f6 allow SD logging of int #4658
workaround?
2022-10-12 20:02:23 -04:00
rusefillc faba7f44f3 allow SD logging of int #4658
wordaround?
2022-10-12 19:49:07 -04:00
rusefillc ddaf9fb838 SD card log fields list should be auto-generated #3985
progress
2022-10-12 19:46:17 -04:00
rusefillc 7250f8f4dc SD card log fields list should be auto-generated #3985
progress
2022-10-12 19:35:54 -04:00
rusefillc b29da1f253 rollback 2022-10-12 14:50:13 -04:00
rusefillc 7dbf38d635 SD card log fields list should be auto-generated #3985
prime time of phase 1
2022-10-12 13:12:57 -04:00
GitHub gen-configs Action a86e46c3ca Auto-generated configs and docs 2022-10-12 16:56:29 +00:00
GitHub gen-configs Action c3f750af0b Auto-generated configs and docs 2022-10-12 12:10:52 +00:00
rusefillc 2733270a83 SD card log fields list should be auto-generated #3985 2022-10-12 08:04:58 -04:00
GitHub gen-configs Action 4660a15bf8 Auto-generated configs and docs 2022-10-12 04:18:34 +00:00
rusefillc ca4e8d1a2c SD card log fields list should be auto-generated #3985 2022-10-11 23:43:45 -04:00
rusefillc af2d486614 SD logging: cutting out intermediate buffer since we already have nicely buffered writer 2022-10-11 23:41:18 -04:00
rusefillc cb1b79a9ef SD logging: calculating sum on the fly 2022-10-11 23:31:47 -04:00
rusefillc afe646d88d refactoring: nicer parameter name 2022-10-11 23:27:15 -04:00
GitHub gen-configs Action 7880cde433 Auto-generated configs and docs 2022-10-12 01:35:09 +00:00
rusefillc cbabdf5011 SD card log fields list should be auto-generated #3985 2022-10-11 21:28:01 -04:00
GitHub gen-configs Action 02261ef061 Auto-generated configs and docs 2022-10-12 01:03:24 +00:00
Matthew Kennedy 09ad5a738c
allow SD logging non-scaled_channel (#4657)
* allow SD logging non-scaled_channel

* comments and kick ci
2022-10-11 20:58:43 -04:00
rusefillc 58c9c5fe87 SD card log fields list should be auto-generated #3985 2022-10-11 07:42:31 -04:00
GitHub gen-configs Action 4351de3ee5 Auto-generated configs and docs 2022-10-11 03:03:43 +00:00
rusefillc 7b830447ae SD card log fields list should be auto-generated #3985 2022-10-10 22:58:17 -04:00
rusefillc 210c878493 SD card log fields list should be auto-generated #3985 2022-10-10 22:58:17 -04:00
GitHub gen-configs Action d84674e291 Auto-generated configs and docs 2022-10-11 02:54:46 +00:00
rusefillc 3b3b7b6718 SD card log fields list should be auto-generated #3985 2022-10-10 22:40:43 -04:00
GitHub gen-configs Action 423b5cc32d Auto-generated configs and docs 2022-10-11 01:56:08 +00:00
rusefillc b631e435e7 SD card log fields list should be auto-generated #3985 2022-10-10 21:50:49 -04:00
GitHub gen-configs Action 31903e08c7 Auto-generated configs and docs 2022-10-11 01:50:20 +00:00
GitHub gen-configs Action c08e7eda8b Auto-generated configs and docs 2022-10-11 01:30:56 +00:00
rusefillc 3acc8af0b4 SD card log fields list should be auto-generated #3985 2022-10-10 21:25:35 -04:00
rusefillc cedee541c5 SD card log fields list should be auto-generated #3985 2022-10-10 07:52:20 -04:00
GitHub gen-configs Action 36673efa76 Auto-generated configs and docs 2022-10-09 21:44:59 +00:00
rusefillc 1d3e5c6d83 one odd name 2022-10-09 16:16:30 -04:00
GitHub gen-configs Action 2789005e56 Auto-generated configs and docs 2022-10-06 23:24:19 +00:00
GitHub gen-configs Action 3e44d98a22 Auto-generated configs and docs 2022-10-06 23:00:58 +00:00
rusefillc f08076ee96 startStopStateToggleCounter to live data 2022-10-06 18:55:29 -04:00
Andrey G e8f33ce7ec
Bluetooth hang (#4632)
* tunerstudio: send BT disconnect notifications only for BT channel

* bluetooth: btProcessIsRunning duplicates btProcessIsStarted

* bluetooth: some comments

* bluetooth: no need to call chThdExit(), just exit thread function

* bluetooth: avoid possible race conditions: set flag first

* bluetooth: make "bluetooth_cancel" do something
2022-10-03 08:51:19 -04:00
Andrey e3758dc7ce livedata has replaced that legacy command-line approach 2022-09-28 19:46:47 -04:00
rusefillc cab0177df0
insist on setBoardConfigOverrides fix #4614 (#4615)
* insist on setBoardConfigOverrides fix #4614

* insist on setBoardConfigOverrides fix #4614

* insist on setBoardConfigOverrides fix #4614

* insist on setBoardConfigOverrides fix #4614

* insist on setBoardConfigOverrides fix #4614
2022-09-24 07:35:19 -04:00
GitHub gen-configs Action 3b5ee8da51 Auto-generated configs and docs 2022-09-24 04:29:39 +00:00
Matthew Kennedy b76a7cbcd8
simulator reads/writes configuration (#4605)
* simulator reads/writes configuration

* c_str

* include order
2022-09-23 08:47:50 -04:00
rusefillc 05b84d21e6 auxSpeed1 2022-09-20 23:00:42 -04:00
GitHub gen-configs Action f2cad9076c Auto-generated configs and docs 2022-09-20 02:05:56 +00:00
Matthew Kennedy 3a57c41c1b
add fuel/spark cut codes to TS indicators (#4592)
* add fuel/spark cut codes to TS indicators

* fix list

* only set clearReason if not cleared
2022-09-19 22:01:03 -04:00
Andrey G 9632a3e056
console: bluetooth: check if BT port exist before configuring (#4588) 2022-09-18 16:15:50 -04:00
GitHub gen-configs Action b84688be11 Auto-generated configs and docs 2022-09-17 00:16:59 +00:00
Matthew Kennedy 8ea31909a3
add ignition adder tables (#4586)
* ign blend tables

* tweaks

* iterate

* tweaks

* axis values

* changelog
2022-09-16 20:07:04 -04:00
GitHub gen-configs Action 9fa2e8c7ae Auto-generated configs and docs 2022-09-15 19:00:51 +00:00
rusefillc 888247eccd mapFast into logs 2022-09-15 14:55:49 -04:00
rusefillc 85b170f84e dead idea 2022-09-15 14:55:32 -04:00
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