Commit Graph

974 Commits

Author SHA1 Message Date
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