Commit Graph

319 Commits

Author SHA1 Message Date
Matthew Kennedy 3015876003 TS cleanup: ts_response_format_e 2024-06-03 16:24:27 -04:00
Andrey 5ba6236318 time for VCS_VERSION to go 2024-05-29 17:45:41 -04:00
Andrey Gusakov 239018ca5f ts: deduplicate 2024-05-25 18:08:06 -04:00
Andrey 53fe86fa52 only: better variable name TS_PACKET_HEADER_SIZE 2024-05-21 18:28:29 -04:00
rusefi 217546b02d EFI_CONFIGURATION_STORAGE 2024-05-05 15:38:21 -04:00
3er0.1ive d6fdf204fa - fix build 2024-05-04 10:51:46 -04:00
3er0.1ive bdb997fe1a - clean commit with knock_analyzer 2024-05-04 10:51:46 -04:00
jcor25 adff96ebea Update tunerstudio.cpp 2024-04-28 23:16:52 -04:00
rusefi 9932330bca only: migrating to Timer API 2024-04-25 18:51:35 -04:00
rusefillc fa106f8a51 identify board right in error message
only:uaefi
2024-04-01 16:04:34 -04:00
rusefillc 8a5ba90692 cleaner guards 2024-03-15 14:15:53 -06:00
rusefillc c572d98072 slow mode is broken fix #6161 2024-03-07 15:09:30 -05:00
rusefillc 761eff22cc UAEFI crash if set to daihatsu 4cyl trigger #6079
hiding EFI_TS_SCATTER
2024-03-01 10:10:47 -05:00
Andrey Gusakov c97769f2a5 ts: better types for highSpeedOffsets decode 2024-02-25 11:30:16 -05:00
Andrey Gusakov 161c54d27b ts: clean highSpeedOffsets list before settings CRC calculation
1. TS expect highSpeedOffsets to be zero-filled, as it is noMsqSave
2. zero highSpeedOffsets as settings CRC request is a sing on new
TS session start. Lets start in fresh.
2024-02-25 11:30:16 -05:00
Andrey Gusakov 5d5fcf0460 ts: print scatter list on tsinfo command 2024-02-25 11:30:16 -05:00
Andrey Gusakov 400f8321bf tunerstudio: do not try to print random chars 2024-02-24 07:46:20 -05:00
Andrey Gusakov e0021544c9 tunerstudio: plain command should also light comm led 2024-02-24 07:46:20 -05:00
Matthew Kennedy adb53ff42e ECU firmware knows what sort of bootloader it has 2024-01-30 22:00:09 -05:00
rusefillc 4cb45a354b
Better efi engine control guard (#5695)
* better EFI_ENGINE_CONTROL

* better EFI_ENGINE_CONTROL

* better EFI_ENGINE_CONTROL

* better EFI_ENGINE_CONTROL

* better EFI_ENGINE_CONTROL

* better EFI_ENGINE_CONTROL

* better EFI_ENGINE_CONTROL
2023-11-05 13:54:06 -05:00
Andrey 6436612f38 cleanup tunerstudio integration 2023-11-04 23:07:50 -04:00
Andrey G ed8af771ac
at_start_f435: enable MFS for internal flash (#5687)
* Rename EFI_INTERNAL_FLASH to EFI_STORAGE_INT_FLASH

This define enables use of RE custom flash driver for storing
settings to internal flash.

* at_start_f435: enable MFS for settings storing in internal flash

* MRE: fix special build

* kinetis: fix flash_int.cpp vs flash_int.c mess

* at32: allow allowFlashWhileRunning()

* flash_main: supress warning
2023-11-03 13:08:35 -04:00
Matthew Kennedy 27fb1f092c deadish code makes it not build on macos 2023-11-02 01:33:28 -04:00
andreika-git 6bc83826f9 handleWrapCan() now receives packets https://github.com/rusefi/rusefi/issues/5606 2023-10-11 18:44:06 -04:00
rusefillc d558a46a11
Xxx (#5567)
* testability: bench test commands should have automated coverage using simulator #5562

* testability: bench test commands should have automated coverage using simulator #5562
2023-09-16 10:29:53 -04:00
Andrey 6d12cdb7c9 only: debug channel cleanups 2023-09-14 10:10:10 -04:00
Andrey 247a0a91b5 spelling is important 2023-09-09 19:54:57 -04:00
rusefillc 256e25a452 only:stronger stack shortage response 2023-06-25 02:16:31 -04:00
rusefi f3ee2fb9d0 reducing magic constant 2023-06-12 20:07:48 -04:00
Matthew Kennedy 12a29232cc tooth_logger.h -> pch
(cherry picked from commit ad3ea57276361b6da69eb920dd056a662f6f5c70)
2023-05-31 15:59:02 -04:00
rusefillc bebfc6f975 better code guard? 2023-05-24 00:00:03 -04:00
Matthew Kennedy 61e5b4b1ad change ObdCode to enum class builds firmware 2023-04-29 00:44:00 -04:00
rusefillc 8ef2af44f3 counting per-channel traffic 2023-03-16 13:14:25 -04:00
rusefillc 00ea3e56e9 dead code 2023-03-16 13:02:31 -04:00
Matthew Kennedy 87b903a2e3
nonblocking for TS, blocking for SD card (#4903) 2022-12-17 20:01:15 -05:00
rusefillc 654759d47a RusEFI console keeps resetting on latest #4899 2022-12-17 16:13:44 -05:00
Matthew Kennedy 52884c64cb
SD card tooth log (#4897)
* adjust tooth logger api

* mmc card writes tooth log

* changelog
2022-12-15 08:34:10 -04:00
Matthew Kennedy 9d8bfb834e
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
Matthew Kennedy 9f76dc4c6b
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
Andrey G fee886b310
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 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
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 c057834575 Full Optimized – High Speed #4818 2022-11-24 10:01:45 -05: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
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
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
Andrey ab4b451195 os_access.h dead? 2022-09-07 15:56:45 -04:00