Commit Graph

1171 Commits

Author SHA1 Message Date
Matthew Kennedy fbb90f2c04
use shared txt instead of parsing full rusefi_config (#59) 2023-03-02 11:52:36 -08:00
GitHub gen-configs Action 73f21a723a Auto-generated configs and docs 2023-02-25 00:26:41 -08:00
Matthew Kennedy 264a6862f4
remove TS_GET_COMPOSITE_BUFFER_DONE_DIFFERENTLY (#45)
* remove TS_GET_COMPOSITE_BUFFER_DONE_DIFFERENTLY

* deadish code
2023-02-25 00:14:40 -08:00
Matthew Kennedy 073d662228
basic harley acr (#48)
* acr

* cleanup

* handle m_hasPinMode

* output channel

* ui

* wrap phase

* don't inject during ACR

* skip extra calculation

---------

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2023-02-25 00:13:51 -08:00
Matthew Kennedy 29e35f7ed0 report firmware version as FOME 2023-02-22 22:11:27 -08:00
Matthew Kennedy bc0444acdb switch to use gitversion.h 2023-02-22 15:39:27 -08:00
Matthew Kennedy 5d7a30ce2b no qc 2023-02-22 14:53:31 -08:00
Matthew Kennedy c2afb43eb0 rusEFI has these checked in, maybe we should? 2023-02-21 15:52:26 -08:00
GitHub gen-configs Action b95a1d77b3 Auto-generated configs and docs 2023-02-21 11:00:59 -08:00
Matthew Kennedy bc4d1127bc etb style idle valve 2023-02-20 22:56:26 -08:00
Matthew Kennedy 495b5aebc7 mcp3208, hip9011 2023-02-20 22:40:31 -08:00
Matthew Kennedy 8bad72090b it wants the folder to exist 2023-02-20 20:32:29 -08:00
Matthew Kennedy caa16abcd4 wideband on second can (#5108) 2023-02-20 11:29:25 -05:00
GitHub gen-configs Action 9e25d37905 Auto-generated configs and docs 2023-02-19 03:53:47 +00:00
rusefi 25b19f00a3 wastegateDcStatus 2023-02-18 22:33:44 -05:00
rusefi 2e274c8fe7 Native SENT TPS input #5079 2023-02-14 20:39:25 -05:00
Andrey 2af943e695 Nick wonders if DC wastegate is still FUBAR #5075 2023-02-13 18:10:39 -05:00
rusefi 1dfda68d4a ETB auto-calibrate usability: both buttons should not be enabled at the same time #5061 2023-02-13 00:48:56 -05:00
GitHub gen-configs Action 249c664d33 Auto-generated configs and docs 2023-02-06 13:15:53 +00:00
Matthew Kennedy 03daac572e more flexible GPPWM (#5032)
* gppwm improvements!

* test

* ui

* autoscale
2023-02-06 08:53:31 -04:00
rusefillc 3904751903 Default binary should have more relaxed pinout: serial fix #4998
we can now simplify code a bit
2023-01-23 08:16:30 -05:00
rusefillc d4e61df602 Default binary should have more relaxed pinout: serial #4998
we can now simplify code a bit
2023-01-23 08:04:41 -05:00
rusefillc 9c015abad5 Default binary should have more relaxed pinout: serial #4998
refactoring: it looks like we can go with simpler code?
2023-01-23 06:01:10 -05:00
rusefillc 8730782cd3 Refactoring: less confusion macro names around serial/uart/etc in connectivity fix #4999 2023-01-23 05:26:59 -05:00
rusefillc 3aa9ffca60 Refactoring: less confusion macro names around serial/uart/etc in connectivity #4999 2023-01-23 05:09:32 -05:00
rusefillc 46005774f4 Refactoring: less confusion macro names around serial/uart/etc in connectivity #4999 2023-01-23 04:59:43 -05:00
rusefillc b699bb48d4 Refactoring: less confusion macro names around serial/uart/etc in connectivity #4999 2023-01-23 04:55:24 -05:00
Matthew Kennedy 39fcad9b4a more (#4981) 2023-01-20 17:16:40 +05:30
GitHub gen-configs Action e7483b2bc6 Auto-generated configs and docs 2023-01-17 01:57:05 +00:00
rusefillc 95391f4e7c h-bridge wastegate not alive on bench #4965
more live data
2023-01-16 20:50:45 -05:00
Andrey 3d096b2ac1 totalFuel and totalIgnition correction gauges in Tunerstudio #4955 2023-01-15 08:26:38 -05:00
Andrey cfeecaf119 Merge branch 'master' of https://github.com/rusefi/rusefi 2023-01-14 23:22:00 -05:00
Andrey df2b073c49 totalFuel and totalIgnition correction gauges in Tunerstudio #4955 2023-01-14 23:21:23 -05:00
GitHub gen-configs Action 1a0426d36e Auto-generated configs and docs 2023-01-15 04:03:32 +00:00
rusefillc f7f1ca6809 logging of live data structs was: data points, we are moving away from debug mode #3614 2023-01-14 22:57:14 -05:00
Andrey d357028a1d logging of live data structs was: data points, we are moving away from debug mode #3614 2023-01-14 22:47:17 -05:00
GitHub gen-configs Action bc2cab4c40 Auto-generated configs and docs 2023-01-15 03:44:44 +00:00
Andrey e1af0aec18 logging of live data structs was: data points, we are moving away from debug mode #3614 2023-01-14 22:38:38 -05:00
rusefi 569bbc58fa copy paste evil 2022-12-18 16:49:20 -05:00
Matthew Kennedy aadb09233b nonblocking for TS, blocking for SD card (#4903) 2022-12-17 20:01:15 -05:00
Andrey fe780d477e kinetis asking for guard, also I've must have messed up something 2022-12-17 18:04:54 -05:00
rusefillc 8705150be4 RusEFI console keeps resetting on latest #4899 2022-12-17 16:13:44 -05:00
rusefillc d951f36794 guards 2022-12-17 14:36:27 -05:00
rusefillc 7a8fe3486f TurboMarian is the ALS boss 2022-12-16 23:31:51 -05:00
rusefillc a0cb53b189 TurboMarian is the ALS boss 2022-12-16 20:38:13 -05:00
rusefillc bef9b46e1d TurboMarian is the ALS boss 2022-12-16 20:32:37 -05:00
GitHub gen-configs Action a12362cc4d Auto-generated configs and docs 2022-12-17 01:29:31 +00:00
rusefillc 47d93fa1be antilag 2022-12-16 20:22:48 -05:00
Matthew Kennedy 2e35013d1d SD card tooth log (#4897)
* adjust tooth logger api

* mmc card writes tooth log

* changelog
2022-12-15 08:34:10 -04:00
Andrey fc7c5f4bbe antilag and anti-lag #2403 2022-12-14 22:52:05 -05:00
Matthew Kennedy 969002f105 Trigger scope uses full buffer (#4893)
* trigger scope uses full buffer

* channels swapped on 4chan

* UI has custom names for boards
2022-12-13 19:55:36 -04:00
Matthew Kennedy b74ba44cff Basic trigger scope implementation (#4885)
* big buffer

* mostly hooked up big buffer

* bad merge

* s

* sneak preview of trigger scope

* s

* constness

* channel limits

* s

* unnecessary

* efilib

* TcpServerSandbox

* includes fix

* binary format

* tooth logger uses big buffer

* dead config

* config

* implement basic trigger scope

* good behavior

* enable on other alphax

* flag to enable second channel

* use 8 bit mode on the ADC for less memory use

* changelog
2022-12-10 23:00:12 -05:00
GitHub gen-configs Action 4ed86fc9b0 Auto-generated configs and docs 2022-12-10 23:01:38 +00:00
Matthew Kennedy 2118aaff60 Allow scheduling_s to come from a pool (#4841)
* injection events use scheduling pool

* knock and prime

* bench test

* dropped this: *

* extract action before execute

* comment

* init allocated timers

* metrics

* dropped this: ,

* guard

* injection events use scheduling pool

* knock and prime

* bench test

* dropped this: *

* extract action before execute

* comment

* init allocated timers

* metrics

* dropped this: ,

* guard

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-12-10 17:55:51 -05:00
Matthew Kennedy 7fe386a6a5 tooth logger uses big buffer (#4883)
* big buffer

* mostly hooked up big buffer

* bad merge

* s

* sneak preview of trigger scope

* s

* constness

* channel limits

* s

* unnecessary

* efilib

* TcpServerSandbox

* includes fix

* binary format

* tooth logger uses big buffer

* dead config
2022-12-10 17:17:15 -05:00
GitHub gen-configs Action 5670052046 Auto-generated configs and docs 2022-12-10 12:40:43 +00:00
Matthew Kennedy c617b00180 Use a shared buffer for "high memory" operations (#4878)
* big buffer

* mostly hooked up big buffer

* bad merge

* s

* sneak preview of trigger scope

* s

* constness

* channel limits

* s

* unnecessary

* efilib

* TcpServerSandbox

* includes fix

* binary format
2022-12-10 07:35:39 -05:00
GitHub gen-configs Action a1b4acce85 Auto-generated configs and docs 2022-12-04 18:19:30 +00:00
rusefillc 74cf0a0d58 reducing aux/lua mess 2022-12-04 13:13:38 -05:00
Matthew Kennedy c2c69553b3 live data objects evaluated at runtime (#4857)
* live data objects evaluated at runtime

* guard

* s
2022-11-30 19:29:22 -05:00
rusefillc ae4cc77c75 ETB fragment is null in fragments #4856 2022-11-30 11:23:01 -05:00
Andrey ca63f37d9e ETB duty cycle jitter #4833
do-you-TDD
2022-11-29 16:05:36 -05:00
Andrey G 35e9cdd3e4 Bluetooth jdy33: minor fixes (#4852)
* bluetooth: add '-BLE' suffix for BLE broadcast name

* bluetooth: show current connection status before setup procedure

* tunerstudio: actually show EFI_CONSOLE_* pins
2022-11-29 10:26:56 -05:00
Andrey G 6001214163 Bluetooth jdy33: save some memory (#4848)
* bluetooth: remove bluetooth_cancel command

No need. In case of error setup process will be canceled.

* bluetooth: no need to have separate thread for setup

Use same TinerStudio thread.

* bluetooth: pass tsChannel as argument

* bluetooth: use struct for baudrate - parameter table

* bluetooth: query MAC address if debug is enabled
2022-11-27 14:43:54 -05:00
Matthew Kennedy 9e60b52ed4 fix warnings (#4840)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-11-27 10:11:14 -05:00
Andrey G 5263f8f1b1 Bluetooth jdy33 setup minor fixes (#4834)
* bluetoth: only HC05 needs equal sign in AT+NAME command

* bluetooth: returt on all param errors

* bluetooth setup: return on fail and request
2022-11-27 08:47:02 -05:00
rusefillc fab70fabe8 Target AFR table Y axis stuck at 0 #4826
sweet coverage
2022-11-26 20:28:31 -05:00
Andrey 24c78d2f0b Q: would this break anything?
A: apparently YES!
2022-11-26 17:36:27 -05:00
rusefillc 8a8c0c722b would this break anything? 2022-11-26 17:04:16 -05:00
rusefillc c729b10bbe refactoring: constexpr fuel computer (#4830)
* refactoring: constexpr fuel computer

* refactoring: constexpr fuel computer

* refactoring: constexpr fuel computer

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-11-26 12:25:04 -05:00
GitHub gen-configs Action 9a1381a790 Auto-generated configs and docs 2022-11-26 16:23:09 +00:00
rusefillc 6c5c35a2e2 etbStatus_error does the job (#4820)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-11-26 11:08:26 -05:00
rusefillc c77ad8a73d Full Optimized – High Speed #4818 2022-11-25 19:00:28 -05:00
rusefillc 0ed3478a8a Full Optimized – High Speed #4818 2022-11-25 10:50:48 -05:00
rusefillc d6d859bf87 Full Optimized – High Speed #4818 2022-11-25 08:36:24 -05:00
rusefillc 28bcfd31f4 Full Optimized – High Speed #4818 2022-11-24 21:54:11 -05:00
rusefillc 1388de3a8c Full Optimized – High Speed #4818
refactoring: extract method
2022-11-24 21:41:20 -05:00
rusefillc bc4289aa7f Full Optimized – High Speed #4818 2022-11-24 10:01:45 -05:00
rusefillc ff11b916a3 validation of already initialized BT #4191 2022-11-17 11:40:39 -05:00
rusefillc b0e451880a validation of already initialized BT #4191 2022-11-17 11:39:09 -05:00
rusefillc ffd66f4065 Bluetooth jdy33 #4653 2022-11-16 23:12:05 -05:00
rusefillc 82c84609da Bluetooth jdy33 #4653 2022-11-16 18:29:50 -05:00
Andrey G dfa5aef590 Bluetooth jdy33 (#4653)
* bluetooth: use isdigit()

* bluetooth: abort setup on wrong pin, simplify checks

* bluetooth: more robust setup, jdy33 features

* bluetooth: JDY33 does not need this warning

* bluetooth: rework setup code
2022-11-16 18:13:06 -05:00
rusefillc 6a4b746750 dead code 2022-11-15 00:21:09 -05:00
GitHub gen-configs Action cdcc94bb02 Auto-generated configs and docs 2022-11-06 00:28:03 +00:00
Matthew Kennedy 32b170810e duplicate log field names (#4730)
* remove duplicate target lambda/afr

* names on fuel computer

* remove more copies

* sensor.java

* everybody loves hard dependencies on generated fields

* target afr gauge fix

* test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-11-05 20:23:09 -04:00
GitHub gen-configs Action e4291ae90b Auto-generated configs and docs 2022-11-03 02:21:44 +00:00
rusefillc 955a90327d target lambda & afr log fields broken #4727 2022-11-02 22:17:00 -04:00
rusefillc bb28d61f0b target lambda & afr log fields broken #4727 2022-11-02 22:03:14 -04:00
GitHub gen-configs Action a225635864 Auto-generated configs and docs 2022-11-01 21:35:56 +00:00
rusefillc 1d78a0486e Too long field comment becomes log field name #4716 2022-11-01 17:31:47 -04:00
GitHub gen-configs Action d49fa94c55 Auto-generated configs and docs 2022-10-24 16:46:53 +00:00
Matthew Kennedy ede3df75f5 dual MAF sensors (#4697)
* add second MAF

* output channesl

* move them around

* ok let's try at the very end

* is the logic wrong, or something else?

* ooh it's the sensor order
2022-10-24 12:41:05 -04:00
GitHub gen-configs Action 9b2784959b Auto-generated configs and docs 2022-10-19 10:47:20 +00:00
Matthew Kennedy acec8f2da3 VE blend tables (#4640)
* blendy ve too

* ui

* small optimizations

* save kinetis memory

* changelog
2022-10-19 06:42:22 -04:00
GitHub gen-configs Action 2edbf8ecb0 Auto-generated configs and docs 2022-10-17 03:44:02 +00:00
rusefi 3d748ba34a Lua aux gauge #4672 2022-10-16 23:38:24 -04:00
rusefillc bbb6350f52 /*isEndOfPacket*/ 2022-10-16 01:21:44 -04:00
GitHub gen-configs Action 3396704f74 Auto-generated configs and docs 2022-10-13 00:07:37 +00:00
rusefillc 6746c5454d allow SD logging of int #4658
workaround?
2022-10-12 20:02:23 -04:00
rusefillc 3aa3144e95 allow SD logging of int #4658
wordaround?
2022-10-12 19:49:07 -04:00
rusefillc 6827da1bd5 SD card log fields list should be auto-generated #3985 2022-10-11 21:28:01 -04:00
GitHub gen-configs Action 937c2920da Auto-generated configs and docs 2022-10-12 01:03:24 +00:00
Matthew Kennedy d74ae44b30 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
GitHub gen-configs Action 1efad41754 Auto-generated configs and docs 2022-10-11 03:03:43 +00:00
rusefillc e2e07a2141 SD card log fields list should be auto-generated #3985 2022-10-10 22:58:17 -04:00
rusefillc 009d9dbe49 SD card log fields list should be auto-generated #3985 2022-10-10 22:58:17 -04:00
rusefillc 9a8f8d3110 SD card log fields list should be auto-generated #3985 2022-10-10 22:40:43 -04:00
GitHub gen-configs Action dad970ae62 Auto-generated configs and docs 2022-10-11 01:56:08 +00:00
rusefillc eb3c3c19d6 SD card log fields list should be auto-generated #3985 2022-10-10 21:50:49 -04:00
rusefillc e00d4a819a SD card log fields list should be auto-generated #3985 2022-10-10 21:25:35 -04:00
GitHub gen-configs Action 1662653d6e Auto-generated configs and docs 2022-10-09 21:44:59 +00:00
rusefillc a57cc9ff60 one odd name 2022-10-09 16:16:30 -04:00
GitHub gen-configs Action 0be046c221 Auto-generated configs and docs 2022-10-06 23:00:58 +00:00
rusefillc fa0b07bf20 startStopStateToggleCounter to live data 2022-10-06 18:55:29 -04:00
Andrey G 06638a5993 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
rusefillc 35bf947f06 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 d5dd3f5df4 Auto-generated configs and docs 2022-09-20 02:05:56 +00:00
Matthew Kennedy e737141a6f 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 b285269f74 console: bluetooth: check if BT port exist before configuring (#4588) 2022-09-18 16:15:50 -04:00
GitHub gen-configs Action 7aba987cdd Auto-generated configs and docs 2022-09-17 00:16:59 +00:00
Matthew Kennedy 4106704385 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 2dbc98588e Auto-generated configs and docs 2022-09-15 19:00:51 +00:00
rusefillc 672f0b8acc mapFast into logs 2022-09-15 14:55:49 -04:00
rusefillc 6e3bbd2ca2 dead idea 2022-09-15 14:55:32 -04:00
Andrey 1d0f13fc41 deep rabbit holes are the best ones!
refactoring: encapsulation
2022-09-14 02:17:04 -04:00
GitHub gen-configs Action c88a18b13e Auto-generated configs and docs 2022-09-14 04:39:50 +00:00
rusefillc f97c5ed8fd i suspect that no one cares about these 2022-09-14 00:34:04 -04:00
GitHub gen-configs Action 273314bdf2 Auto-generated configs and docs 2022-09-13 18:12:48 +00:00
Matthew Kennedy 3358cdab11 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 474b705c5e outputRequestPeriod into logs 2022-09-12 21:41:23 -04:00
rusefillc 228437f574 outputRequestPeriod into logs 2022-09-12 20:56:57 -04:00
GitHub gen-configs Action 04db1fbb36 Auto-generated configs and docs 2022-09-13 00:18:15 +00:00
rusefillc 0618824061 outputRequestPeriod into logs 2022-09-12 20:13:17 -04:00
Andrey G 1ca5988877 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 efcd8ea084 refactoring - reducing API between FW and Java 2022-09-11 01:59:44 -04:00
GitHub gen-configs Action 218e8b4d95 Auto-generated configs and docs 2022-09-08 02:51:42 +00:00
Andrey a35f20af78 remove alternator on/off mode fix #4548 2022-09-07 22:46:42 -04:00
Andrey a7c8ce61f4 brutal encapsulation 2022-09-07 19:37:11 -04:00
Andrey 25b6d39802 os_access.h dead? 2022-09-07 15:56:45 -04:00
Matthew Kennedy 3112fc25de safer/clearer index management (#4543) 2022-09-06 19:19:16 -04:00
GitHub gen-configs Action 2135888d19 Auto-generated configs and docs 2022-09-05 05:33:14 +00:00
Andrey 79139e30fc Engine Sniffer into TS data logs #4535 2022-09-05 01:25:12 -04:00
Andrey e9e040895b different file names for different entities 2022-09-04 23:11:19 -04:00
GitHub gen-configs Action aa87ad717f Auto-generated configs and docs 2022-09-05 02:56:42 +00:00
Andrey 6b6ca6c987 refactoring: reducing outputChannels copy 2022-09-04 22:51:11 -04:00
GitHub gen-configs Action 0a37c6d963 Auto-generated configs and docs 2022-09-05 02:44:56 +00:00
Andrey 8fd5e46472 refactoring: reducing outputChannels copy 2022-09-04 22:38:05 -04:00
GitHub gen-configs Action abc5b91ae9 Auto-generated configs and docs 2022-09-03 21:43:03 +00:00
rusefi 6b0f1c579a refactoring: reducing outputChannels copy 2022-09-03 17:38:06 -04:00
GitHub gen-configs Action 4857561a0d Auto-generated configs and docs 2022-09-03 21:35:26 +00:00
Andrey f008a98b94 refactoring: reducing outputChannels copy 2022-09-03 17:12:47 -04:00
Andrey 05e851c138 tear down Engine god object #4511
just trying different things
2022-09-01 19:24:19 -04:00
Andrey 436c294770 refactoring: reducing outputChannels copy 2022-09-01 10:58:16 -04:00
GitHub gen-configs Action bac4f9800f Auto-generated configs and docs 2022-09-01 14:39:52 +00:00
Andrey 09f0a540b6 refactoring: reducing outputChannels copy 2022-09-01 10:30:07 -04:00
GitHub gen-configs Action 8abba1b2fd Auto-generated configs and docs 2022-09-01 14:11:17 +00:00
Andrey 5cb41535d5 smaller step forward 2022-09-01 10:06:00 -04:00
GitHub gen-configs Action 9744fa0920 Auto-generated configs and docs 2022-09-01 04:53:05 +00:00
Andrey bc407d7749 54ac7279b1 partial rollback 2022-09-01 00:46:54 -04:00
GitHub gen-configs Action 9c2bb7e7e6 Auto-generated configs and docs 2022-09-01 04:18:59 +00:00
Andrey 54ac7279b1 refactoring: reducing outputChannels copy 2022-09-01 00:13:55 -04:00
Andrey 6a5e3bc078 currentEngineDecodedPhase as trigger central field 2022-08-31 23:31:35 -04:00
GitHub gen-configs Action 470c44ba12 Auto-generated configs and docs 2022-08-27 18:44:44 +00:00
Andrey G aefea6d3ff output channels: isFuelPumpOn vs isPumpOn, remove second one (#4490) 2022-08-27 14:28:33 -04:00
GitHub gen-configs Action d5811a698a Auto-generated configs and docs 2022-08-26 00:41:14 +00:00
Matthew Kennedy f3a5c28f07 fix typo, move bit to idle state (#4484) 2022-08-25 20:26:12 -04:00
Matthew Kennedy dfd340e8c3 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 ec9a705cf6 docs 2022-08-23 22:25:08 -04:00
GitHub gen-configs Action 991cd40f74 Auto-generated configs and docs 2022-08-23 23:50:32 +00:00
Matthew Kennedy 58e27505db 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 26e81a4647 Auto-generated configs and docs 2022-08-23 04:19:39 +00:00
GitHub gen-configs Action 3897340735 Auto-generated configs and docs 2022-08-23 03:11:55 +00:00
GitHub gen-configs Action 437f10bcbd Auto-generated configs and docs 2022-08-23 02:57:26 +00:00
GitHub gen-configs Action 4b6abf9557 Auto-generated configs and docs 2022-08-22 22:23:05 +00:00
GitHub gen-configs Action 911a6c5f0c Auto-generated configs and docs 2022-08-17 04:30:35 +00:00
rusefillc 2aabef68c9 Struct array for outputs #4442 (#4453)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-08-17 00:25:55 -04:00
rusefillc bb21977556 invalid ini fix #4451 2022-08-16 22:24:02 -04:00
GitHub build-firmware Action 72ead5be96 Auto-generated configs and docs 2022-08-15 21:22:59 +00:00
Andrey 6f47772e6b Revert "A safe place where stuff is consistent (#4444)"
This reverts commit b4eb56c7b4.
2022-08-15 17:05:40 -04:00
GitHub build-firmware Action 006190aa15 Auto-generated configs and docs 2022-08-15 19:03:46 +00:00
GitHub build-firmware Action 9a5808c53e Auto-generated configs and docs 2022-08-15 18:43:52 +00:00
rusefillc b4eb56c7b4 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 ec8639d188 Auto-generated configs and docs 2022-08-15 17:10:30 +00:00
rusefillc 18f1197d58 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
GitHub build-firmware Action 471dedde04 Auto-generated configs and docs 2022-08-11 14:25:31 +00:00
rusefillc 5f896cf00f https://github.com/rusefi/alphax-4chan/issues/57 2022-08-11 10:08:51 -04:00
rusefi bfa13ddce7 ISO-TP does not work on real car #4427
verboseIsoTp
2022-08-11 01:23:44 -04:00
rusefi 39200f55eb ISO-TP does not work on real car #4427
oh shit :(
2022-08-11 00:37:48 -04:00
rusefillc bf15c5bc8a ISO-TP does not work on real car #4427 2022-08-09 13:12:51 -04:00
Matthew Kennedy eb442998dc misc fixes (#4411)
* fix warnings

* break to debugger in case of panic

* move the check

* s
2022-08-02 12:19:50 -04:00
rusefillc e19b61aa5b [SECURITY] Cheap password protection against tune modification fix #4243 2022-07-30 12:23:53 -04:00
rusefillc db26a35209 refactoring 2022-07-30 12:07:36 -04:00
rusefillc 39aebf27d0 dead code? 2022-07-30 11:53:20 -04:00
rusefillc a47e3e2314 docs 2022-07-30 11:21:42 -04:00
GitHub build-firmware Action dcc43ee4b4 Auto-generated configs and docs 2022-07-27 09:38:56 +00:00
Matthew Kennedy 4865213537 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 efdae2322d Start -> start (#4366) 2022-07-21 15:17:32 -04:00
rusefillc a8e86b9b81 typos 2022-07-20 18:45:35 -04:00
Andrey G 2eeb1ad84e 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 ca25530445 picking atomic piece of #4358 2022-07-20 17:06:34 -04:00
rusefillc 5fafaa571d refactoring: reducing warnings 2022-07-20 17:03:15 -04:00
Matthew Kennedy 2bf6c94663 fragments (#4357) 2022-07-19 11:02:41 +03:00
Matthew Kennedy cd98ad35c2 use libfirmware for a few things (#4351)
* use libfirmware

* unit tests

* crc

* missed one

* bootloader
2022-07-16 02:22:51 -04:00
GitHub build-firmware Action 7123361f2e Auto-generated configs and docs 2022-07-15 10:29:23 +00:00
rusefillc 807bb26555 raw aux inputs gauges #4346 2022-07-15 06:23:24 -04:00
rusefillc 4c4f494904 PID logging: p term #4337 2022-07-08 10:31:34 -04:00
rusefillc c3d99528e1 PID logging: p term #4337 2022-07-08 09:43:05 -04:00
rusefillc 372f5e6790 dead code? (#4325)
* dead code?

* dead code?

* dead code?

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-07-07 00:35:11 -04:00
Matthew Kennedy ab24c5eb35 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 2c80b8cf19 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
Andrey ef2278aeb1 logging of live data structs was: data points #3614 2022-06-29 03:21:53 -04:00
rusefillc c50009ee59 logging of live data structs was: data points #3614 2022-06-29 03:13:35 -04:00
rusefillc fb84241a48 logging of live data structs was: data points #3614 2022-06-29 03:01:13 -04:00
GitHub build-firmware Action 718b4fd3e9 Auto-generated configs and docs 2022-06-29 05:34:35 +00:00
rusefillc 2ab71f88e5 logging of live data structs was: data points #3614 2022-06-29 01:27:42 -04:00
GitHub build-firmware Action e2c241bd38 Auto-generated configs and docs 2022-06-27 02:39:05 +00:00
Matthew Kennedy da5446ed2e get rid of extra quotes (#4288) 2022-06-26 22:32:47 -04:00
GitHub build-firmware Action 81f1df25e4 Auto-generated configs and docs 2022-06-27 00:12:14 +00:00
rusefillc ce1d80ec33 stealing from David 2022-06-26 19:42:08 -04:00
rusefillc f4454a47ba visiting "live data" tab causes fatal error on ECU fix #4271 2022-06-25 22:09:54 -04:00
rusefillc e8777995be visiting "live data" tab causes fatal error on ECU fix #4271 2022-06-25 19:48:48 -04:00
GitHub build-firmware Action fbdebdc20e Auto-generated configs and docs 2022-06-24 00:20:41 +00:00
Matthew Kennedy 840bf6fb27 wideband live data (#4276)
* wideband live data magic

* test build happy

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

* missed a few

* kinetis
2022-06-23 19:42:09 -04:00
Matthew Kennedy 40106224f0 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 9128873c3b verbose trigger sync should reuse engineSnifferRpmThreshold #4259
this should work faster?
2022-06-18 14:44:10 -04:00
Matthew Kennedy 2e56c9dd6f 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
Matthew Kennedy c2f61dc95f 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 1d802f4c22 hard requirement for console version match #4187 2022-05-29 14:42:08 -04:00
GitHub build-firmware Action 0eade966b9 Auto-generated configs and docs 2022-05-14 12:21:15 +00:00
rusefillc 9aebed59fe Maintenability: frequency sensors need a simple event counter in the logs #4173 2022-05-14 08:13:47 -04:00
rusefillc 4517c2cfe9 CAN category (#4148)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-05-09 16:49:23 -04:00
GitHub build-firmware Action cd3cce1da5 Auto-generated configs and docs 2022-05-09 09:42:49 +00:00
rusefillc 39df91b183 Remove value copy from controller into outputChannels #4095 2022-05-09 05:30:04 -04:00
GitHub build-firmware Action 5bbb401f85 Auto-generated configs and docs 2022-05-08 13:06:44 +00:00
rusefillc b2771f9b44 Remove value copy from controller into outputChannels #4095 2022-05-08 08:50:27 -04:00
GitHub build-firmware Action a4b7845279 Auto-generated configs and docs 2022-05-08 12:05:34 +00:00
rusefillc ad4591945e Remove value copy from controller into outputChannels #4095 2022-05-08 07:58:19 -04:00
GitHub build-firmware Action df404bfd04 Auto-generated configs and docs 2022-05-05 04:59:48 +00:00
Matthew Kennedy 597c9b0256 binary log knock count and retard (#4139) 2022-05-05 07:41:41 +03:00
rusefillc 64e0f342b1 knock reaction #202 2022-04-29 12:25:33 -04:00
rusefillc 19abcab3d1 docs 2022-04-25 00:36:12 -04:00
GitHub build-firmware Action 8145bd6bc0 Auto-generated configs and docs 2022-04-25 04:01:07 +00:00
GitHub build-firmware Action ba35602702 Auto-generated configs and docs 2022-04-25 03:46:16 +00:00
rusefillc d1173219b6 Remove value copy from controller into outputChannels #4095 2022-04-23 19:53:05 -04:00
GitHub build-firmware Action 80031c385a Auto-generated configs and docs 2022-04-23 11:41:19 +00:00
David Holdeman b4e8dfb05a 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 1ba3d587a3 Auto-generated configs and docs 2022-04-21 13:14:29 +00:00
David Holdeman 918224fbc1 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