Commit Graph

1801 Commits

Author SHA1 Message Date
GitHub gen-configs Action 740425611f Auto-generated configs and docs 2022-11-28 03:49:25 +00:00
rusefillc c3563ec577 ETB overheats due to constant isTpsError true/false/true/false jitter #4832
refactoring: extract method
2022-11-27 18:44:44 -05:00
GitHub gen-configs Action 74ea14b29e Auto-generated configs and docs 2022-11-27 23:28:40 +00:00
Andrey G 57c5ff6420
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 8ea5969607
fix warnings (#4840)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-11-27 10:11:14 -05:00
Andrey G 64371e0f3a
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 5b24fd14b8 Target AFR table Y axis stuck at 0 #4826
sweet coverage
2022-11-26 20:28:31 -05:00
Andrey 45478c8161 Q: would this break anything?
A: apparently YES!
2022-11-26 17:36:27 -05:00
rusefillc 0fc6300b03 would this break anything? 2022-11-26 17:04:16 -05:00
rusefillc 55062b1ef6
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 2645f97cab Auto-generated configs and docs 2022-11-26 16:23:09 +00:00
rusefillc 2c18e7745b
etbStatus_error does the job (#4820)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-11-26 11:08:26 -05:00
rusefillc 2464d04d31 Full Optimized – High Speed #4818 2022-11-25 19:00:28 -05:00
rusefillc de77216bb7 Full Optimized – High Speed #4818 2022-11-25 10:50:48 -05:00
rusefillc 1cfcccbda3 Full Optimized – High Speed #4818 2022-11-25 08:36:24 -05:00
rusefillc c59cd8a5b0 Full Optimized – High Speed #4818 2022-11-24 21:54:11 -05:00
rusefillc cef341235f Full Optimized – High Speed #4818
refactoring: extract method
2022-11-24 21:41:20 -05:00
rusefillc c057834575 Full Optimized – High Speed #4818 2022-11-24 10:01:45 -05:00
Nathan Schulte fd1115d01a
code style, GPS fixes (test, firmware) (#4822)
* tidy NMEA

* const in nmea

* correct gps test output

* fix GPS UART print statements

* cleanup feature toggles in settings

* fix comment typos, misc whitespace
2022-11-23 07:01:34 -04:00
GitHub gen-configs Action d64aaaf707 Auto-generated configs and docs 2022-11-23 01:42:21 +00:00
rusefillc b28af58960 validation of already initialized BT #4191 2022-11-17 11:40:39 -05:00
rusefillc 576371bcc0 validation of already initialized BT #4191 2022-11-17 11:39:09 -05:00
rusefillc 1df07695a7 Bluetooth jdy33 #4653 2022-11-16 23:12:05 -05:00
rusefillc 4baf779b6d Bluetooth jdy33 #4653 2022-11-16 18:29:50 -05:00
Andrey G 92d47d1814
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
GitHub gen-configs Action 7c47bdf0a6 Auto-generated configs and docs 2022-11-15 14:34:13 +00:00
rusefillc 6299f37e82 dead code 2022-11-15 00:21:09 -05:00
GitHub gen-configs Action ac7562b26f Auto-generated configs and docs 2022-11-10 20:17:00 +00:00
Matthew Kennedy 91808c3a0e
lwip thread priorities (#4746) 2022-11-06 20:38:25 -05:00
Andrey 77a3f5d795 trigger refactoring: instance RPM #4740 2022-11-06 11:56:18 -05:00
GitHub gen-configs Action f5f1fbfe2f Auto-generated configs and docs 2022-11-06 00:28:03 +00:00
Matthew Kennedy f4f5f69ee6
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
rusefillc ec05edd55a target lambda & afr log fields broken #4727 2022-11-02 22:37:52 -04:00
rusefillc 399a9c4a51 target lambda & afr log fields broken #4727 2022-11-02 22:35:40 -04:00
GitHub gen-configs Action 0a703fec8c Auto-generated configs and docs 2022-11-03 02:21:44 +00:00
rusefillc 95d360f7b1 target lambda & afr log fields broken #4727 2022-11-02 22:17:00 -04:00
rusefillc b87f60f07d target lambda & afr log fields broken #4727 2022-11-02 22:03:14 -04:00
GitHub gen-configs Action 7d19cf3bea Auto-generated configs and docs 2022-11-03 01:54:29 +00:00
GitHub gen-configs Action 54cea0119a Auto-generated configs and docs 2022-11-01 21:35:56 +00:00
rusefillc dd081e5d58 Too long field comment becomes log field name #4716 2022-11-01 17:31:47 -04:00
GitHub gen-configs Action 523a6b9592 Auto-generated configs and docs 2022-11-01 21:00:55 +00:00
GitHub gen-configs Action c7ce2c2565 Auto-generated configs and docs 2022-10-30 21:55:22 +00:00
GitHub gen-configs Action b974b20ed3 Auto-generated configs and docs 2022-10-28 14:33:29 +00:00
GitHub gen-configs Action cb77801ed3 Auto-generated configs and docs 2022-10-28 14:09:22 +00:00
GitHub gen-configs Action 6b28fee5ce Auto-generated configs and docs 2022-10-28 13:11:34 +00:00
GitHub gen-configs Action 1695cdeb7b Auto-generated configs and docs 2022-10-28 08:36:50 +00:00
rusefillc eeb7a59d48 SD card log fields list should be auto-generated #3985
oh many fields!
2022-10-28 04:11:54 -04:00
rusefillc 3c5f8f8f3c renaming tool 2022-10-28 03:44:39 -04:00
GitHub gen-configs Action 911899e28a Auto-generated configs and docs 2022-10-24 16:46:53 +00:00
Matthew Kennedy f8a4d35d25
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
Matthew Kennedy 6e3efed09c
more f429 business (#4679)
* 429 boots and LEDs work

* oops missed a comma

* enable on f767 too, since it should be the same board

* why not just completely duplicate it

* script should not be fancy

* script should not be fancy

* correct pins

* h743 while we're at it
2022-10-20 00:59:39 -04:00
GitHub gen-configs Action bf43376558 Auto-generated configs and docs 2022-10-19 10:47:20 +00:00
Matthew Kennedy 2bc8fbce7d
VE blend tables (#4640)
* blendy ve too

* ui

* small optimizations

* save kinetis memory

* changelog
2022-10-19 06:42:22 -04:00
rusefillc 50270af024 Lua aux gauge #4672 2022-10-18 15:52:32 -04:00
rusefillc 2dc1ee05f1 Lua aux gauge #4672 2022-10-18 15:25:47 -04:00
rusefillc e16c8f9120 Lua aux gauge #4672 2022-10-17 21:21:23 -04:00
rusefillc 2eba65505b Lua aux gauge #4672 2022-10-17 20:01:46 -04:00
GitHub gen-configs Action 4b52c5c49c Auto-generated configs and docs 2022-10-17 03:44:02 +00:00
rusefi 5df4a196af Lua aux gauge #4672 2022-10-16 23:38:24 -04:00
rusefillc d4d2aaea05 /*isEndOfPacket*/ 2022-10-16 01:21:44 -04:00
rusefillc edd08db491 Enable ethernet on one or both nucleo boards #4665 2022-10-16 01:17:34 -04:00
rusefillc fd7edd7266 SD card log fields list should be auto-generated #3985
let's try again
2022-10-12 20:24:16 -04:00
rusefillc 472942cd7a SD card log fields list should be auto-generated #3985
progress
2022-10-12 20:14:28 -04:00
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