Commit Graph

640 Commits

Author SHA1 Message Date
Matthew Kennedy d708f3e038 Implement TS tooth logger (#873)
* FW changes

* config changes

* whitespace

* comment

* simplify
2019-07-06 20:48:58 -04:00
rusefi cdac02429c refactoring: better file name 2019-07-06 20:15:49 -04:00
rusefi e1bf4e36ab headers cleanup 2019-07-05 20:03:02 -04:00
Matthew Kennedy a50fc33bc5 Tunerstudio.cpp cleanup (#871)
* convert to switch, cleanup

* undo if constexpr
2019-07-05 18:16:32 -04:00
rusefi 9574ef842d fixing build 2019-07-05 17:15:49 -04:00
rusefi 83ad64eade Refactoring: OS access should be explicit #867 2019-07-04 03:57:21 -04:00
rusefi b81c60cf3e Refactoring: OS access should be explicit #867 2019-07-03 21:48:04 -04:00
rusefi b2dece5269 undoing wrong fix & better fix for #805
also generator logging improvements
This reverts commit f07f96599b.
2019-06-30 14:28:47 -04:00
Matthew Kennedy e3a14e5979 Add ETB status gauges, fix gauge menus (#863)
* testing

* fix offsets

* consolidate ts config

* cleanup

* typo

* unwind some

* fix etb idle range setting

* unwind
2019-06-26 19:24:32 -04:00
Matthew Kennedy e790dadfe5 Add "Reset ECU" button (#857)
* add reset button

* fix signed/unsigned bug

* goodbye degree symbols
2019-06-23 09:18:54 -04:00
rusefi 37a9e66bc1 Annotations in C++ code to produce formulas in rusEfi console #807 2019-06-19 22:34:11 -04:00
rusefi f07f96599b "Calibrate TPS" broken in TS fix #805 2019-06-17 22:00:34 -04:00
rusefi 717af8a681 TPS Live Documentation 2019-06-17 21:37:11 -04:00
rusefi a8f456b807
Annotations in C++ code to produce formulas in rusEfi console #807 (#847)
* Annotations in C++ code to produce formulas in rusEfi console #807
firmware part of the change

* removing unneeded stuff & fixing unit test compilation

* not complete better unit test compilation fix  :(

* better C++ usage
2019-06-17 12:18:55 -04:00
rusefi 0bf1653575 removing dead text protocol support 2019-06-16 17:13:11 -04:00
rusefi f1b37bbad1 removing dead code related to text to binary switch 2019-06-15 19:46:42 -04:00
rusefi e07b119a7f bumping configuration version in light of #773 2019-06-14 13:04:04 -04:00
Matthew Kennedy 363f1d04cd fix thread info (#839) 2019-06-13 08:31:25 -04:00
rusefi 6448de52ba issue with SD card logs 2019-06-11 16:00:52 -04:00
rusefi 2ac7d748ac refactoring 2019-05-27 18:58:43 -04:00
rusefi 5f642ac254 unit tests should not have global context, including mock values 2019-05-27 15:56:12 -04:00
rusefi 0dca6e6da1 refactoring: better variable names 2019-05-27 11:17:28 -04:00
rusefi 8c00f9ebe8 FEATURE REQ: aux temperature inputs #332 2019-05-09 19:39:21 -04:00
rusefi 5523caa536 Saab CDM knock signal integration #647 2019-05-05 17:21:36 -04:00
rusefi d09bcad3e7 dreams of two ETBs 2019-05-05 12:02:42 -04:00
andreika-git b80d95578d EFI_CONSOLE_UART_DEVICE, flash->hw_ports, Fix TLE6240 and misc.fixes (#793)
* rename EFI_CONSOLE_UART_DEVICE -> EFI_CONSOLE_SERIAL_DEVICE

* Impl. EFI_CONSOLE_UART_DEVICE

* Move flash source files to ports/stm32/ & hw_ports.mk

* Fix TLE6240

* Fix EFI_NO_CONFIG_WORKING_COPY

* EFI_PRINT_MESSAGES_TO_TERMINAL
2019-05-05 11:06:27 -04:00
rusEfi 0bea626b42 sorry 2019-05-04 10:31:04 -04:00
rusefi edb4e37505 docs 2019-05-02 17:52:48 -04:00
rusEfi 8138d137fe 'warninigLedPin' typo and minor TS progress 2019-04-28 23:04:52 -04:00
rusefi c6c47392d7 electrical noise during tuning ETB causes full tune reset fix #775 2019-04-25 22:28:46 -04:00
rusefi 3c09b8f1f5 reducing analog_inputs debug confusion :) 2019-04-25 08:32:20 -04:00
rusefi 2baca12920 DBG_ANALOG_INFO 2019-04-24 23:46:13 -04:00
rusefi 3298b57932 DBG_ANALOG_INFO 2019-04-24 22:16:37 -04:00
rusefi 5b522dc8fd this change is probably breaking stuff, but some stuff is already broken. something is not right in too many places :( 2019-04-21 14:00:19 -04:00
andreika-git ffd44bf0fe More config portability: TLE6240, Trigger_input, UART/Serial (#759)
* Add fields to UART/Serial configs

* trigger_input: can be both HAL_USE_PAL and HAL_USE_COMP

* tle6240 config: local temporary solution

* Fix for custom_engine::setFsio

* EFI_ACTIVE_CONFIGURATION_IN_FLASH
2019-04-15 08:40:12 -04:00
rusefi d8281626df defined(__DOXYGEN__) ? fix #748 2019-04-12 22:10:57 -04:00
rusEfi 9c9dc05b10 cleanup #4 2019-04-11 22:15:06 -04:00
dron0gus e938372a4b Cleanup 3 (#745)
* status leds: pick warning LED pin from configuration

* wave analyzer: do not init if no pin assigned
2019-04-11 23:33:33 +02:00
rusefi f3d748917f rusEfi settings editor is broken for one byte enums fix #709 2019-04-08 11:57:16 -04:00
rusefi 05d3ce22f4 CONFIG_RESET_SWITCH_PORT flexibility 2019-04-06 08:41:37 -04:00
rusefi 0aac3c8f41 we need TLE8888 driver #714 2019-04-04 23:03:32 -04:00
dron0gus 9d95127260 Fix build if no TS_UART_DMA_MODE, TS_UART_MODE and TS_SERIAL_DEVICE defined (#729) 2019-04-01 23:39:07 +02:00
dron0gus bc0eaf52d8 console vs ts cleanup and compilation fix for linux (#728)
* console vs ts cleanup

* include is case-sensetive in linux
2019-04-01 23:04:49 +02:00
rusefi aaf6fcdf6a The Big Refactoring of 2019: console vs TS vs CONSOLE_MODE_SWITCH_PIN vs text protocol #725
sweet progress!
2019-04-01 14:18:21 -04:00
rusefi 7e3ff76fff The Big Refactoring of 2019: console vs TS vs CONSOLE_MODE_SWITCH_PIN vs text protocol #725
more dead code
2019-04-01 12:11:57 -04:00
rusefi feec03fa24 The Big Refactoring of 2019: console vs TS vs CONSOLE_MODE_SWITCH_PIN vs text protocol #725
more dead code
2019-04-01 11:57:30 -04:00
rusefi 1ab6cace13 The Big Refactoring of 2019: console vs TS vs CONSOLE_MODE_SWITCH_PIN vs text protocol #725
removing startConsoleInBinaryMode
2019-04-01 11:45:06 -04:00
rusefi 17ad43e443 The Big Refactoring of 2019: console vs TS vs CONSOLE_MODE_SWITCH_PIN vs text protocol #725
few lines of dead code
2019-04-01 11:39:25 -04:00
rusefi 1db1b7a277 The Big Refactoring of 2019: console vs TS vs CONSOLE_MODE_SWITCH_PIN vs text protocol #725 2019-04-01 11:16:19 -04:00
andreika-git f1ec34f032 More portability and smaller RAM footprint possible (#722)
* EFI_NO_CONFIG_WORKING_COPY

* EFI_CONSOLE_NO_THREAD

* EFI_SHAFT_POSITION_INPUT

* #ifndef UTILITY_THREAD_STACK_SIZE

* fix printf() -> print()
2019-03-30 22:41:46 +01:00
andreika-git b80806182f More portability & small fixes (#719)
* Use hw_stm32.mk

* Fix bootloader

* Use more common hw_ports.mk filename instead of hw_stm32.mk

* More CPU compatibility for Makefile

* TS_UART_MODE & rename TS_SERIAL_UART_DEVICE->TS_SERIAL_DEVICE

* Move lockAnyContext()/unlockAnyContext() to rfiutil.c

* USE_FATFS

* EFI_LCD

* Less compilation errors

* STATUS_LOGGING_BUFFER_SIZE & SETTINGS_LOGGING_BUFFER_SIZE

* EFI_ALTERNATOR_CONTROL, EFI_SERVO, EFI_DISABLE_CONSOLE_ACTIONS

* #ifndef PWM_PHASE_MAX_COUNT & more flexible GPIO inside portname()

* merge

* EFI_ALTERNATOR_CONTROL, EFI_ELECTRONIC_THROTTLE_BODY
2019-03-29 15:29:01 +01:00
rusefi bd2b992918 unifying_file_naming 2019-03-29 09:11:13 -04:00
rusefi 7c1020b17c random progress 2019-03-14 13:28:51 -04:00
rusefi af87bf7e1e fuel gauges unification 2019-03-12 21:48:28 -04:00
rusefi dd3f5b8668 TS command to reset firmware 2019-03-12 20:33:13 -04:00
rusefi 46bdbf82d1 refactoring: reducing code duplication 2019-02-23 12:33:49 -05:00
rusefi 9547c44ff1
688 brainpins (#694)
* GPIOF, GPIOG and GPIOH ports are not available #688
2019-02-22 22:10:41 -05:00
dron0gus 76fa11d5e2 warning cleanup (#693)
* Kill annoing warnings about unused vars

* Kill annoing signed vs unsigned warnings

* Make ALWAYS_INLINE macro realy inlining

* Incorrect attribute placement.

While correct attribute placement cause ram4 overflow.
Move to correct place (to avoid gcc-2018-q4 errors) and comment
out.

* Silence -Wcast-function-type warnings

Cast to intermediate "void *" to lose compiler knowledge about the original
type and pass the warning. This is a workaround.
2019-02-21 05:44:45 -05:00
rusefi 24b1b34fef wider usage of PeriodicController 2019-02-11 15:09:24 -05:00
rusefi 9325cd6d23 better (?) variable names 2019-02-10 22:47:49 -05:00
rusefi 9edfa448d6 so many years :( 2019-02-06 23:56:41 -05:00
rusefi 01045db270 better blinking logic in case of software fatal error 2019-02-05 21:29:55 -05:00
rusefi 8dad472933 better variable name 2019-02-05 21:13:38 -05:00
rusefi 5e448a7941 refactoring: same condition twice? 2019-02-05 21:05:45 -05:00
rusefi 16da833501 Refactor Trigger System #635
reducing global state magic
2019-02-03 02:47:20 -05:00
rusefi 3b5a07c9d6 CJ125 unit-tests coverage #617 2019-02-01 23:16:34 -05:00
rusefi da4fb3a19f better conditional compilation 2019-01-31 17:55:23 -05:00
rusefi ed4fed57fb better conditional compilation 2019-01-31 11:57:15 -05:00
rusefi d9c8c1fc3e #631 TIME_MS2I mostly 2019-01-28 20:00:17 -05:00
rusefi af518d7978 #657 2019-01-27 23:41:46 -05:00
rusefi ee4ac9b240 NA6 progress
A/C toggle switch indicator in TS
renaming "pedalPosition" to "throttlePedalPosition"
2019-01-27 00:02:58 -05:00
rusefi 53b5c08c0a refactoring around GET_RPM 2019-01-21 21:48:58 -05:00
rusefi 7a20bda66f refactoring around GET_RPM 2019-01-21 20:33:21 -05:00
rusefi 662831cde9 The Big Refactoring of 2019: configuration version should not be a global variable #656 2019-01-15 21:18:44 -05:00
rusefi 1a2c294d1d Question: something strange trigger errors #662
logging 8 codes
2019-01-13 20:45:58 -05:00
rusefi acc4b2f384 idle bench test from TS 2019-01-13 19:41:39 -05:00
rusefi 5301037f61 new unit test 2019-01-11 19:08:15 -05:00
rusefi aeea2b95d0 warning code refactoring related to
Question: something strange trigger errors #662
2019-01-11 09:58:48 -05:00
rusefi cbd2d69731 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-09 22:57:33 -05:00
rusefi 57993ff1b4 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-09 22:16:30 -05:00
rusefi 21c2695c93 #35 refactoring towards making class testable 2019-01-07 23:55:56 -05:00
Matthew Kennedy a12a62b57a TunerStudio Cleanup (#649)
* TS cleanup

* remove fl_protocol

* fix build
2019-01-05 07:55:21 -05:00
rusefi 8a7319449f docs 2019-01-04 22:09:50 -05:00
rusefi e6ac26bf2b better conditional compilation 2019-01-04 00:16:08 -05:00
rusefi 8d32914d4a better variable name 2018-12-23 23:58:40 -05:00
rusefi d81185ac28 bringing std types together 2018-12-08 15:51:45 -05:00
andreika-git 23fea3c0c5 STM32 Nucleo144-F767ZI board: Initial support (#620)
* More EFI_ #ifdefs for config flexibility

* Even more config flexibility

* New firmware/config/stm32f7ems/* files

* New firmware/config/boards/NUCLEO_F767/* files

* New firmware/hw_layer/stm32f7/* files

* Fix for EFI_USB_SERIAL

* Adding #if defined(STM32F7XX)

* SPI flags changed in F7: SPI_CR1_DFF --> SPI_CR1_CRCL

* I2Cv2 config changed in F7

* More versatile CCM defines

* Makefiles

* Double #ifs cleanup

* docs
2018-11-16 07:40:06 -05:00
rusefi b7b2e53d55 CJ125 unit-tests coverage #617 2018-11-03 11:44:57 -04:00
rusEfi e5534d79b7 new debug field 2018-10-10 22:19:20 -04:00
andreika-git bd40691e67 AirFlow-interpolated tCharge Mode (#612)
* Add vars & enums

* updateTChargeK()

* limitRateOfChange()

* Impl. AirFlow-interpolated tCharge mode

* Update tsOutputChannels: tCharge & airFlow

* Set default config params

* Unit-tests

* Fix tChargeMode_e
2018-09-29 12:16:36 -04:00
rusEfi 099adaa447 typo 2018-09-24 23:32:55 -04:00
rusefi 14a2c2d90f metrics without text messages 2018-09-17 21:42:04 -04:00
rusefi 1f90cf153d refactoring 2018-09-16 22:26:57 -04:00
rusefi 3b87b725d1 refactoring 2018-09-16 22:25:17 -04:00
rusefi 7caf762609 refactoring 2018-09-16 22:00:14 -04:00
rusefi d92d4f0c87 better parameter name 2018-08-31 22:38:59 -04:00
rusefi a396c9b587 refactoring: better field names 2018-07-26 15:51:06 -04:00
rusefi 959a91ae4c unique error codes #598 2018-07-25 23:03:04 -04:00
rusefi 1b1d2b16ee refactoring: reducing code duplication 2018-07-24 19:58:32 -04:00
rusefi 9158dc22f2 injectionOffset to TS gauges first step 2018-06-12 05:15:10 -04:00