Commit Graph

504 Commits

Author SHA1 Message Date
rusefi 1c7e0e3595 A vague bug #1684 2020-08-09 00:02:58 -04:00
rusefi 1050ee12bd A vague bug #1684 2020-08-08 23:56:42 -04:00
rusefi 529ac5b8e0 trigger and VSS hw integrated testing #1668 2020-08-08 19:39:29 -04:00
rusefi 528d03a90b trigger and VSS hw integrated testing #1668 2020-08-08 18:28:43 -04:00
rusefi 64a9440bc0 trigger and VSS hw integrated testing #1668 2020-08-08 11:45:02 -04:00
rusefi 4bbb5b8762 trigger and VSS hw integrated testing #1668 2020-08-08 11:25:17 -04:00
Matthew Kennedy cd547ceb00 no more setFuelMap 2020-08-03 12:14:11 -07:00
Matthew Kennedy 9fcd700429 unused 2020-08-03 12:03:39 -07:00
Matthew Kennedy ec9710817c don't use 2020-07-31 23:28:12 -07:00
Matthew Kennedy 2243b54f46 printFloatArray 2020-07-29 02:12:11 -07:00
rusefi 07df0c78a8 Weird VAG: DC motor idle valve not ETB
#1637
Seattle we might have a problem!
2020-07-26 12:03:36 -04:00
rusefi d9c6cdc94a "get is_enabled_spi_3" command 2020-07-09 20:37:24 -04:00
rusefi 9dee72cf3e progress 2020-05-21 22:33:48 -04:00
rusefi 4015c600e9 MRE pre-sets 2020-05-21 20:44:14 -04:00
rusefi 871cee3092 test fixture progress 2020-05-21 18:36:32 -04:00
Matthew Kennedy 441fe43dab warnings (#1462)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-21 01:08:07 -04:00
kon ae44c0fce7 Aux serial (#1422)
* aux serial updates from last PR

* trying to guess

* wow that's old! also not working maybe?

* hiding diag code which was messing with GP2/GP3 i.e. TLE8888_PIN_22 TLE8888_PIN_23

* date

* Mc33 undervolt (#1421)

* mc33 flash check

* DI sanity checks for setting HV config

* mc33 under voltage check

* mc33 under voltage check

Co-authored-by: Christopher W. Anderson <gitstuff@pswitch.com>

* fixed {}

Co-authored-by: rusefi <rusefillc@gmail.com>
Co-authored-by: NOx-z <50815960+NOx-z@users.noreply.github.com>
Co-authored-by: Christopher W. Anderson <gitstuff@pswitch.com>
Co-authored-by: kon <dev@triggerdevel>
2020-05-11 12:17:42 -04:00
Matthew Kennedy e89b7b4b11 trigger emulator refactoring (#1358)
* trigger gen refactoring

* missed one

* fix makefile

* commentary

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-24 14:00:06 -04:00
Matthew Kennedy 39c84378eb don't store self stim in config (#1356)
* kill

* add bench test

* fix
2020-04-23 22:38:14 -04:00
shadowm60 54f7ab268c Vss over Can implementation proposal (#1340)
* Vss over Can implementation proposal

Working for BMW e46

* fixed Firmware CI?

* kinetis fix.

* minor fixes
2020-04-21 20:48:37 -04:00
rusefi 2d4faaef75 tiny progress 2020-04-19 19:58:20 -04:00
rusefi 6a4dd83982 trying to fix build 2020-04-19 18:50:45 -04:00
shadowm60 b327d1db5f Prep TS for VSS over CAN (#1329)
TS update

Co-authored-by: rusefi <rusefi@users.noreply.github.com>
2020-04-19 18:23:06 -04:00
Matthew Kennedy 2a97a06e64 new temperature sensor math in TS (#1297)
* switch

* new sensor printing

* typo

* and printing info

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-15 01:12:07 -04:00
rusefi 0fc66f1598 progress 2020-04-10 20:31:58 -04:00
rusefi e673281a9d set_cj125_cs_pin & set_cj125_heater_pin 2020-04-08 22:37:00 -04:00
rusefi 5993a6a7f0 killing nbVvtIndex 2020-04-05 11:43:45 -04:00
Matthew Kennedy 44bb09d1a4 yet more tps consumers (#1258)
* advance_map

* tests

* unneeded

* idle

* use driver intent instead

* and obd and lcd

* engine load

* ve lookup

* unused

* oops we needed that

* oops needed that too

* mocking

* test mocks

* oops

* helps to use the right sensor

* and cylinder cleanup

* fuel math

* typo

* old tests

* kill dead stuff

* cleanup

* more

* fix

* test

* s

* fix signature

* fix test

* comment

* priming pulse

* remove mock tps

* remove more dead

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-05 09:11:25 -04:00
Matthew Kennedy 7e4f4ca97e Replace hasPedalPositionSensor (#1245)
* remove

* add Sensor::hasSensor

* consume in etb

* remove unused state

* don't use it there either

* format

* fix up tests

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-02 08:04:12 -04:00
Matthew Kennedy 8235d8d765 Fully switch acc pedal to new sensors (#1212)
* proxy sensor

* header

* idle

* can

* settings

* remove old mocking

* remove old impl

* etb

* oops, gotta actually register it

* fix test

* structured bindings ftw!

* driver intent for stepper

* tear out old

* oops too much
2020-04-01 20:21:03 -04:00
rusefi fe604f71b8 CAN progress 2020-03-31 16:49:19 -04:00
rusEfi a3588f64fa v12 & dual-TPS 2020-03-30 01:13:02 -04:00
Matthew Kennedy 0ac3e06149 cleanup extern mess (#1237)
* cleanup

* move outside define
2020-03-29 19:06:03 -04:00
Matthew Kennedy 61c4d0fe83 save some ram (#1211)
* remove dead stuff

* why store those pointers twice?
2020-03-22 19:06:29 -04:00
rusefi d9690bed3a progress towards start/stop 2020-03-18 16:32:03 -04:00
rusEfi b866b57d23 we need tpsinfo especially when data is invalid! 2020-02-27 02:21:01 -05:00
rusEfi 040e040b4a verboseTLE8888 2020-02-27 02:11:20 -05:00
Matthew Kennedy a2a5b40ced Support disabling most/all features (#1162)
* this flag did nothing

* guard features properly
2020-02-26 18:16:35 -05:00
rusefi e2704a4525 minor progress 2020-02-22 13:04:19 -05:00
rusEfi ce54ae9497 TLE8888 watchdog #917
window watchdog progress
2020-02-10 13:24:09 -05:00
Matthew Kennedy e04fc117e6 Consume new tps in status_loop.cpp, settings.cpp (#1129)
* new tps

* more

* settings.cpp too

* more

* comment
2020-02-07 06:05:15 -03:00
rusefi 67de6fe6fd fixing build 2020-02-02 13:18:41 -05:00
Matthew Kennedy 734963343d Rescale TPS (#1112)
* fake adc ticks

* consumers

* fix test 1

* fix tests
2020-02-01 16:41:07 -05:00
rusefi a222ecdfe1 happy new year unification 2020-01-13 21:57:43 -05:00
dron0gus d218b4e8e6 Spi fixes (#1083)
* spi: add support for SPI4

* mpu_util: spi: add 8BIT mode definitions for F4, F7 and kineris (?)
2020-01-06 08:44:23 -05:00
rusefi c392db2798 functional testing should not be that darn slow #1076
progress?
2019-12-22 01:03:58 -05:00
rusefi b08c0209fd functional testing should not be that darn slow #1076
hopefully progress?
2019-12-21 23:27:54 -05:00
rusefi 3ed388d1ad refactoring & fixing build 2019-12-21 20:43:11 -05:00
rusefi 28ae4e478e refactoring only #1076 2019-12-21 20:17:58 -05:00
rusefi c94532a697 boring test mule stuff 2019-12-15 22:21:49 -05:00
rusefi f47a1a16d1 getting rid of boardConfiguration / binary compatible change 2019-12-11 17:48:55 -05:00
rusefi bcec694eb1 just a trivial massive rename: TriggerState > TriggerWaveform 2019-12-08 01:09:39 -05:00
rusefi 8ace300b39 The Big Refactoring of 2019: folder structure #723 2019-12-04 00:57:54 -05:00
rusefi 2738fefa48 that's how we can move all fields one by one from boardConfiguration to engineConfiguration
my approach is to move fields from the bottom of BC struct
2019-11-30 10:24:37 -05:00
rusEfi 171ad3f235 v12 2019-11-29 01:35:45 -05:00
andreika-git 7220735530 Starter relay + Hardcoded 'FSIO' + simulator fix (#1032)
* Starter Relay: gui + built-in FSIO impl.

* Hardcoded 'FSIO' replacement for RAM-limited boards

* fix simulator
2019-11-25 20:08:01 -05:00
rusefi ef6b2be840 refactoring: extracting constant 2019-11-23 12:52:57 -05:00
Matthew Kennedy 0a7535fb1f Use templated array references (#1027)
* update defs

* consumers, use default params

* setArrayValues in tests

* floats

* test fixing
2019-11-22 23:27:24 -05:00
rusefi fb66dd1e7d making more code testable 2019-11-20 08:46:54 -05:00
rusefi 76a4e37c66 making more code testable 2019-11-20 02:18:17 -05:00
rusefi a6e7b1455d v12 2019-11-18 23:45:35 -05:00
rusefi 80ef79eded this is not great :(
#639
#971
2019-11-11 22:19:35 -05:00
rusefi f776513a5a preparation for #961
macro as a syntax sugar for method invocation
2019-10-10 07:28:52 -04:00
rusefi 658dac889c ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 09:56:06 -04:00
rusefi 9586490e6c progress 2019-09-21 14:18:59 -04:00
rusefi d95740467e refactoring "date" command and flex dead code 2019-09-20 18:12:56 -04:00
rusEfi a168c5f2eb A/C relay cleanup 2019-09-15 11:32:38 -04:00
rusEfi 5ce8e65170 mock voltage bugfix, thank you AndreiKA! 2019-09-12 08:27:25 -04:00
rusefi c8bd1b68b1 pedal calibration into status message 2019-09-02 22:58:36 -04:00
rusefi b51e32424b refactoring: extracting magic command constant 2019-09-02 22:57:40 -04:00
rusEfi 645aec27b4 typo 2019-09-01 18:56:57 -04:00
rusEfi 8f10e85d03 mock PPS voltage command in addition to mock PPS position
ETB pane progress
2019-09-01 17:35:43 -04:00
rusEfi e5ef4725b1 MRE NA6 2019-08-18 14:43:38 -04:00
rusEfi c4d6604551 MRE etb 2019-08-17 17:33:44 -04:00
rusEfi 714af981e4 MRE_MIATA_NB2 2019-08-13 19:15:24 -04:00
rusefi c518a6c7f6 WFT is wrong with MRE_miata_na6 config? operationMode complexity #898
more refactoring
2019-08-08 00:51:15 -04:00
rusefi f6971c2bea WFT is wrong with MRE_miata_na6 config? operationMode complexity #898
refactoring to begin with, zero logic change
2019-08-08 00:19:09 -04:00
rusEfi 1e64c5a67f MRE test setup 2019-08-05 23:00:35 -04:00
rusefi d57779b686 F7 nucleo does not work?
funny, it was about some very unused feature
2019-08-02 01:36:02 -04:00
rusEfi efb5e0377a MRE is getting closer! 2019-07-25 21:39:39 -04:00
rusefi d4c28ecc69 setDefaultBoardConfiguration shouldn't have Frankenso pinout #852 2019-07-24 22:33:30 -04:00
Matthew Kennedy a2f2a677b4 Remove warmup afr pid (#879)
* config changes

* actually remove from config

* rip out implementation
2019-07-18 18:26:18 -04:00
rusefi 5b5b56f01b gcc 2019 q3 fails integration testing #886
kind of guessing potential problem
2019-07-14 15:47:08 -04:00
rusefi 2164661274 undoing wrong fix & better fix for #805
also generator logging improvements
This reverts commit 96270758c9.
2019-06-30 14:28:47 -04:00
rusefi ffc00f3613 verbose trigger sync: better field name & check box to engine sniffer 2019-06-25 02:25:26 -04:00
rusefi 96270758c9 "Calibrate TPS" broken in TS fix #805 2019-06-17 22:00:34 -04:00
rusefi acbdac20ff input has sizes hard-coded #836 2019-06-10 15:47:29 -04:00
rusefi 2c24571ddb dreams of two ETBs 2019-05-05 12:02:42 -04:00
rusefi 85b790edcf The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657
maybe probably pointless refactoring? reducing parameters visibility
2019-05-03 18:41:43 -04:00
rusefi 86f894d3df fixing mock voltage controls 2019-05-01 09:36:29 -04:00
rusEfi 892be38a03 ETB tiny progress 2019-04-30 19:22:12 -04:00
rusEfi 67e8adf6f5 ETB micro progress 2019-04-30 01:21:09 -04:00
rusefi f100a701a1 ETB progress 2019-04-23 23:18:48 -04:00
rusefi 884c54a185 defined(__DOXYGEN__) ? #748 2019-04-12 22:07:03 -04:00
rusefi c0a8c2e80f The Big Refactoring of 2019: folder structure #723 2019-04-09 23:00:17 -04:00
rusefi bceec323c2 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
andreika-git 03a8e68b2d trigger_input_icu, EFI_ENABLE_MOCK_ADC, HALINC_CONTRIB (#724)
* trigger_input_icu.cpp

* EFI_ENABLE_MOCK_ADC

* $(HALINC_CONTRIB)
2019-03-31 23:15:32 +02:00
rusefi c29e6d99c4 The Big Refactoring of 2019: folder structure #723 2019-03-31 16:56:13 -04:00
andreika-git c7b1bb1ff1 More portability & bootloader fix (#720)
* fix bootloader

* EFI_FSIO

* EFI_EMULATE_POSITION_SENSORS, EFI_BOARD_TEST, EFI_AUX_PID, EFI_JOYSTICK
2019-03-29 15:46:15 +01:00
andreika-git a79175f6ef 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 e28ce71bb8 unifying_file_naming 2019-03-29 09:11:13 -04:00
rusefi 0afb571bfb fixing build? 2019-03-11 15:02:27 -04:00
rusefi 141d13ec8d command line progress? 2019-03-11 13:51:03 -04:00
rusEfi e93c2b5efb TPS commands & compacting 2019-03-02 13:21:12 -05:00
rusefi c60c8ce777 better (?) variable names 2019-02-10 22:47:49 -05:00
rusefi 4e95a6c002 dwell docs & better command name 2019-02-06 00:05:14 -05:00
rusefi f475fb1691 better conditional compilation 2019-01-31 17:55:23 -05:00
rusefi 8beae89bcb FSIO testability and test-driven development 2019-01-19 22:09:37 -05:00
rusefi d4443164e8 The Big Refactoring of 2019: configuration version should not be a global variable #656 2019-01-15 21:51:09 -05:00
rusefi 6682a7def2 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-10 17:07:29 -05:00
rusefi b9f28b43aa Revert "The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657"
This reverts commit 4e5cbe3
2019-01-10 00:56:08 -05:00
rusefi 4e5cbe3764 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-09 23:38:59 -05:00
Matthew Kennedy 7154da1f5f Improve wall wetting AE to use time constant (#650)
* impruv

* c++17

* add tests, docs
2019-01-06 20:45:51 -05:00
rusefi 5bac3f799c refactoring around "stopEngine" logic 2019-01-05 23:33:04 -05:00
Matthew Kennedy a75e5fb007 const (#648) 2019-01-05 08:06:18 -05:00
rusEfi c163b0c5a6 ETB CLI progress 2018-11-26 22:17:16 -05:00
andreika-git 96dfebc542 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 856475794a ETB progress 2018-09-24 23:57:03 -04:00
rusefi 553969dc72 refactoring 2018-09-16 22:26:57 -04:00
rusefi 0f67373bc1 usability 2018-03-04 23:21:43 -05:00
rusefi 8fd3d1a318 same action twice 2018-01-30 14:56:24 -05:00
rusefi adfe5e9274 #65
explicit precision control
2018-01-23 12:05:14 -05:00
rusefi f5a4376036 happy new year 2018-01-20 20:55:31 -05:00
rusefi e53efc0cbd #492 2018-01-17 19:37:26 -05:00
rusEfi 87f47b4a0e better method name 2018-01-07 11:17:49 -05:00
rusefi 403565dfe2 get global_fuel_correction 2018-01-04 18:45:25 -05:00
rusEfi 4ce94603bb new command style 2018-01-03 15:38:08 -05:00
rusefi 4bc4451382 #502 2017-12-01 23:11:01 -05:00
rusefi d60c434ac8 #490 2017-11-27 21:15:08 -05:00
rusefi 3ca7becb33 #490 2017-11-27 21:10:49 -05:00
rusefi 415bc28298 fixing build 2017-11-24 19:16:00 -05:00
rusefi b4b032cc14 #494 2017-11-16 14:44:53 -05:00
rusefi e5a4f56533 minor piece of mind 2017-11-04 19:37:40 -04:00
rusEfi 1b7ffd040b minor etb 2017-09-17 22:05:03 -04:00
rusefi 15635fb20a date docs & message fix 2017-08-23 00:46:34 -04:00
rusefi 153ec34e9e call to pit progress 2017-07-25 21:59:20 -04:00
rusefi 956766754a improvement: IAC solenoid frequencty changeable on the fly 2017-07-10 22:24:03 -04:00
rusefi 69d155daaf some hack to handle linear CLT sensors 2017-06-12 18:48:55 -04:00
rusefi 4b15a23316 new command: set_injector_lag VOLTAGE LAG 2017-06-11 15:32:29 -04:00
rusefi 18a3d18781 refactoring 2017-06-11 14:40:29 -04:00
rusEfi 62835fbd9b enable verbose_etb 2017-05-29 23:13:02 -04:00
rusefi b4f8be4eb3 better error handling 2017-05-29 11:09:14 -04:00
rusefi 3fb5167f7a PID storage refactoring - minor incompatible storage change 2017-05-28 22:32:32 -04:00
rusefi df19934640 #4 2017-05-28 13:39:08 -04:00
rusefi 15b6993cb4 #4 progress 2017-05-22 23:25:34 -04:00
rusefi e8b55e2c54 #4 2017-05-22 15:06:27 -04:00
rusefi 55a6cbce5d #4 2017-05-16 22:13:40 -04:00
rusefi 8ada6971b4 #4 2017-05-16 20:52:52 -04:00
rusefi f8e592f454 better macro name 2017-05-15 23:28:49 -04:00
rusefi 34c81e0251 trigger sync debug, warning_period command 2017-05-13 08:14:13 -04:00