Commit Graph

3963 Commits

Author SHA1 Message Date
Andreika ea5efd9252
Bench simulator test PWM VVT0 pin (#5697)
* Add vvtPins[0] to simulator config

* bench best VVT PWM pin
2023-11-06 11:11:02 -05:00
rusefi 7367091607 only:cleaner defines 2023-11-05 18:20:12 -05:00
Andrey b3e97fdf2f better EFI_ENGINE_CONTROL 2023-11-05 15:55:29 -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
rusefi 6de42dbab6 better EFI_ENGINE_CONTROL guard 2023-11-05 10:16:19 -05:00
rusefi e2049357e9 only:clean-up 2023-11-05 00:47:11 -04:00
rusefillc b8f71d834b better guards 2023-11-04 13:05:19 -04:00
rusefillc 0725151609 better guards 2023-11-04 09:09:10 -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
rusefillc 3b6c9feea5
require LEDs (#5643)
* require all boards to define LED functions (#272)

* require all boards to define LED functions

* f429 nucleo

* small can

* small can

* add to header

* LEDs

---------

Co-authored-by: Matthew Kennedy <matthewkennedy@outlook.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-11-03 12:56:59 -04:00
Andreika 84f7508701
Trigger emulator: support for cam/vvt (#5642)
* tiny refactoring

* add cam/vvt support to trigger_emulator

* fix

* fix unit-tests

* fix

* CAM sensor simulator #5640
only: assertHappyTrigger

* fix?

* better fix?

* only:alphax-8chan

* progress!

---------

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
Co-authored-by: Andrey <rusefillc@gmail.com>
2023-11-02 21:57:01 -04:00
rusefi 75dd0f26f8 hiding stuff deeper 2023-11-02 13:02:33 -04:00
rusefillc 5715d3fa3b only:minor 2023-11-01 23:40:45 -04:00
GitHub gen-configs Action 1bad0860e8 Auto-generated configs and docs 2023-11-01 19:08:27 -04:00
Matthew Kennedy e3edb2b15c maf cleanup 2023-11-01 19:08:27 -04:00
rusefillc ab4e11f865 only:untrimmedInjectionMass is better 2023-11-01 17:19:29 -04:00
Matthew Kennedy 2c049d206a dead pid auto tune 2023-11-01 17:01:07 -04:00
rusefillc 6ce02ccb63 ASE and CL Ignition fix #5678 2023-11-01 16:37:33 -04:00
rusefillc 2e62e6fc91 only:shall we be just a little less Toyota 2023-11-01 10:21:27 -04:00
rusefillc 198c9e8f57 only:shall we be just a little less Toyota 2023-11-01 10:09:04 -04:00
rusefi e4f60c72c9 much better field name 2023-10-31 10:29:14 -04:00
rusefi b77a7c4111 hd 2023-10-31 10:29:14 -04:00
rusefi 6b97f23eae pursuit of truth 2023-10-31 09:36:45 -04:00
GitHub gen-configs Action 2f257fbea8 Auto-generated configs and docs 2023-10-31 06:15:39 +00:00
rusefi 088438f8ca hd 2023-10-31 02:02:20 -04:00
rusefillc 0b1b7a86d9 Make TPS/PPS split configurable #5620 2023-10-30 22:25:29 -04:00
rusefi 53d51941c0 https://github.com/rusefi/rusefi-hardware/issues/253
only:hellen-112-17
2023-10-29 20:34:12 -04:00
rusefi 198609ecaf Non-square dimension maps #5641
copy/paste bad
2023-10-25 23:50:28 -04:00
Andrey f1c32b52e9 only: Non-square dimension maps #5641 2023-10-25 22:44:48 -04:00
rusefillc 9d0eac561e Non-square dimension maps #5641 2023-10-25 19:33:32 -04:00
rusefillc ef1266b924 CAM sensor simulator #5640 2023-10-25 19:33:32 -04:00
rusefillc 77b7cd683d Non-square dimension maps #5641 2023-10-25 18:08:05 -04:00
rusefillc 33f4f39b6d CAM sensor simulator #5640 2023-10-25 18:05:48 -04:00
Patryk Chmura 41ac8a921c
Fixes confirmed on the real car (#5638)
Co-authored-by: pchmura4 <>
2023-10-25 14:02:41 -04:00
rusefillc 9fa20ad0a8 CAM sensor simulator #5640 2023-10-25 12:57:07 -04:00
Andreika 0097fe292c
Bench test: main relay and other pins fix (#5637)
* use standard pin bench test for the main relay

* fix pin bench test

* enable some pin bench test

* fix
2023-10-25 10:22:45 -04:00
Matthew Kennedy e1fcc6de08 missed override in gear detector 2023-10-24 15:03:53 -04:00
Patryk Chmura da7ebbfc61
After-start enrichment handling more similar to OEM, round two (#5633)
* After-start enrichment handling more similar to OEM and other Standalone EFI systems

* Corrections and tidying-up

* Corrected small mistake in TunerStudio definition

* Compatibility fixes

* Readability fix

* Changed to more appropriate cycles instead of seconds, bugfix for TS

* Typo fix...

---------

Co-authored-by: pchmura4 <>
2023-10-24 12:54:41 -04:00
Patryk Chmura 9252ecc3c0
After-start enrichment handling more similar to OEM (#5632)
* After-start enrichment handling more similar to OEM and other Standalone EFI systems

* Corrections and tidying-up

* Corrected small mistake in TunerStudio definition

* Compatibility fixes

* Readability fix

---------

Co-authored-by: pchmura4 <>
2023-10-23 15:41:35 -04:00
pchmura4 beebe4c233 Renamed "bump" to "target", changed CHANGELOG 2023-10-22 18:16:19 -04:00
GitHub gen-configs Action 49c838363b Auto-generated configs and docs 2023-10-21 22:19:15 +00:00
rusefillc ba1ea253a3 dead code 2023-10-21 18:14:52 -04:00
Matthew Kennedy 883336ff30 fixAngle -> wrapAngle 2023-10-19 22:42:50 -04:00
rusefillc ff40d113ab same gear count for everyone, also honda
only:small-can-board
2023-10-19 12:54:30 -04:00
rusefillc 1537c9560b Password protection makes ECU go CRITICAL #5622 2023-10-19 09:52:38 -04:00
GitHub gen-configs Action 17a0a3f549 Auto-generated configs and docs 2023-10-19 00:45:47 +00:00
rusefi fd927d5363 only:todo bench aux output? 2023-10-18 20:27:42 -04:00
Matthew Kennedy ee381b2f34 speedo output 2023-10-15 22:07:31 -04:00
rusefi 02b7c2580e ;; typo 2023-10-14 21:14:02 -04:00
rusefillc b7eea90d48 only:bench docs 2023-10-12 12:55:25 -04:00
Matthew Kennedy c872239f51 lock injection timing at high duty cycle to avoid skipped injections 2023-10-12 09:49:24 -04:00
rusefi 16ec3c6454 only:"Slow not invoked yet" on small-can-board is asking for better guards 2023-10-12 09:09:29 -04:00
rusefillc f7f8135e04 only:bench test fuel pump pin #5603 2023-10-10 21:29:52 -04:00
Matthew Kennedy 02f4a09d56 basic harley acr (#48)
* acr

* cleanup

* handle m_hasPinMode

* output channel

* ui

* wrap phase

* don't inject during ACR

* skip extra calculation

---------

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2023-10-09 18:51:47 -04:00
rusefillc d3db9c9eaa https://rusefi.com/forum/viewtopic.php?p=48481#p48481 2023-10-08 15:07:50 -04:00
rusefillc e4a3fb260d only: readability? 2023-10-05 22:42:00 -04:00
Matthew Kennedy 463b3ea70e odometry output channels 2023-10-04 23:01:03 -04:00
Matthew Kennedy 2a53e80e53 guard for small can board 2023-10-04 22:54:45 -04:00
Matthew Kennedy 085415868f trip odometer run time 2023-10-04 22:54:35 -04:00
andreika-git dfd3a11b40 fix weak linkage for simulator/win compiler 2023-10-01 17:34:13 -04:00
GitHub gen-configs Action aea3803878 Auto-generated configs and docs 2023-09-30 03:26:01 +00:00
rusefillc 5b22465023 only:6G72 Trigger Pattern #5593 2023-09-29 23:21:48 -04:00
GitHub gen-configs Action 2937bc1b72 Auto-generated configs and docs 2023-09-30 01:21:54 +00:00
rusefi eda6435b18 better enum name 2023-09-29 21:18:19 -04:00
Matthew Kennedy 6be4d6073f use onConfigurationChange instead of version holder 2023-09-26 21:47:32 -04:00
Matthew Kennedy c8ddbba529 trip odometer 2023-09-26 17:03:06 -04:00
rusefillc e19204dd2e
Boost (#5586)
* boost is engine module

* only:idle leaves outputs

---------

Co-authored-by: Matthew Kennedy <matthewkennedy@outlook.com>
2023-09-26 13:39:43 -04:00
Matthew Kennedy a519fd13ad vvt is engine module
* vvt refactoring

* vvt constexpr livedata

* format

* fix null deref
2023-09-26 09:07:59 -04:00
rusefillc be35a5eb23
fan control is engine module (#5585)
* fan is engine module

* mockable AC

* mockable AC

* mock AC controller in fan test

* constexpr fan livedata

* isPtr

Co-authored-by: Matthew Kennedy <matthewkennedy@outlook.com>
2023-09-26 07:12:11 -04:00
rusefillc f3a032a052 only: #5580 suggests a default 2023-09-25 15:52:16 -04:00
rusefillc 9359d80474 in GDI mode we should require "Require cam/VVT sync for ignition" fix #5580
only:alphax-4chan_f7
2023-09-25 14:41:29 -04:00
GitHub gen-configs Action d7329a916b Auto-generated configs and docs 2023-09-25 18:13:59 +00:00
rusefillc 8e458f4ec6 startStopPhysicalState
only:alphax-4chan_f7
2023-09-25 13:59:44 -04:00
rusefillc 92292aeddd only:docs/renaming method to reduce confusion 2023-09-25 13:57:40 -04:00
GitHub gen-configs Action 1f902d9c7e Auto-generated configs and docs 2023-09-19 20:55:07 +00:00
rusefi 6ace334f30 canam 2023-09-19 16:51:03 -04:00
rusefillc 68ff80931b only:proper guards 2023-09-18 14:22:15 -04:00
GitHub gen-configs Action 07fb96dc08 Auto-generated configs and docs 2023-09-18 17:46:37 +00:00
rusefillc 4d3c99460e that custom miata is sold
only:kinetis
2023-09-18 13:15:20 -04:00
Matthew Kennedy d481c4c271 can VSS scaling #253 2023-09-18 08:03:33 -04:00
Matthew Kennedy 2f37d788ff add option to temperature compensate alpha-n 2023-09-17 11:17:37 -04:00
GitHub gen-configs Action e9d62e5626 Auto-generated configs and docs 2023-09-17 14:02:43 +00:00
Matthew Kennedy 58b90469cb Always log normalized cylinder filling 2023-09-17 09:57:35 -04:00
rusefi 2f907af198 Fan not be able to be set because in use at VR PWM fix #5565
only:reducing confusion
2023-09-16 11:03:14 -04:00
GitHub gen-configs Action 9cd680e839 Auto-generated configs and docs 2023-09-14 21:45:42 +00:00
Matthew Kennedy bc637c4e6b rename 2jz -> toyota 3 tooth 2023-09-14 17:42:27 -04:00
GitHub gen-configs Action fadcca16db Auto-generated configs and docs 2023-09-14 14:38:42 +00:00
Andrey abffeb1ca2 Hyundai PB 2023-09-14 10:34:30 -04:00
GitHub gen-configs Action 2ef7d9995a Auto-generated configs and docs 2023-09-14 14:21:55 +00:00
Andrey f435552730 only: debug channel cleanups 2023-09-14 10:17:46 -04:00
Andrey 6d12cdb7c9 only: debug channel cleanups 2023-09-14 10:10:10 -04:00
GitHub gen-configs Action fb4b70a86f Auto-generated configs and docs 2023-09-14 12:58:10 +00:00
Andrey acdf9296df only: 8888TestConfiguration is read 2023-09-14 08:53:55 -04:00
GitHub gen-configs Action 3140ce90a4 Auto-generated configs and docs 2023-09-13 16:31:22 +00:00
rusefillc debea23523 testability: bench test commands should have automated coverage using simulator #5562
trying to improve multi-threading
2023-09-13 12:28:01 -04:00
Matthew Kennedy ee513cf452 boost control runs in fast callback 2023-09-10 23:31:45 -04:00
rusefillc 1c154f6ee7 2JZ cam trigger configuration is much easier to adjust #5557
only:proteus_f4
2023-09-10 10:34:06 -04:00
rusefi 1d4f82deab 2JZ cam trigger is unfinished #5557 2023-09-10 00:22:38 -04:00
Andrey a2a5fda3ce spelling is important 2023-09-09 19:51:09 -04:00
rusefillc 38e7c4070a only:help for humans 2023-09-08 06:22:19 -04:00
Andrey ba66fdcf82 reducing code duplication around assert 2023-09-05 21:28:39 -04:00
GitHub gen-configs Action 365b317861 Auto-generated configs and docs 2023-09-05 17:49:26 +00:00
rusefillc 9e6bf2e967 bench test VVT outputs #5549 2023-09-05 13:45:24 -04:00
rusefi 216e3f3557 only:mre_f7 2023-09-03 22:17:31 -04:00
rusefi 186be0c777 export board-specific macro for stm32 pins based on board yaml #3298 2023-09-02 22:09:38 -04:00
rusefillc 7f4db5fc7d only:alphax-4chan 2023-09-02 19:50:03 -04:00
rusefi 1799f672e0 only:alphax-4chan 2023-09-02 19:23:03 -04:00
rusefi 78e48d3718 only:timer.h goes to libfirmware! 2023-08-30 23:11:24 -04:00
rusefillc b85ce91479 IAR does not exist for us 2023-08-30 22:41:47 -04:00
rusefi 325046f15d only:rusefi_time_types.h 2023-08-30 21:35:30 -04:00
rusefi bdd94e7b5b EPIC: we need to test fresh boards #5511 2023-08-29 21:23:30 -04:00
Andrey 63295873b4 reducing/moving technical debt 2023-08-29 16:53:49 -04:00
Andrey d2f899e737 reducing/moving technical debt 2023-08-29 16:46:04 -04:00
Matthew Kennedy 053311fc23 default prime pulse 2023-08-27 09:09:38 -04:00
Andrey 3ca310c354 saving 20 bytes for 8chan7 2023-08-25 10:34:57 -04:00
GitHub gen-configs Action a910adae94 Auto-generated configs and docs 2023-08-25 05:13:10 +00:00
Andrey 4fbccca850 4G69 Cam pattern #5541 2023-08-25 01:10:08 -04:00
GitHub gen-configs Action 43fbbef224 Auto-generated configs and docs 2023-08-25 02:53:25 +00:00
Andrey 49a270e3a3 4G69 Cam pattern #5541 2023-08-24 22:50:16 -04:00
rusefillc fc5c9542c5
helping cypress (#5537)
* helping cypress

* helping cypress
2023-08-24 00:35:13 -04:00
GitHub gen-configs Action 2f1c02d956 Auto-generated configs and docs 2023-08-24 03:50:34 +00:00
rusefi 41bb19fdf8 *_STIM_QC 2023-08-23 23:47:32 -04:00
rusefi 4f192b5c84 proteusStimQc
only:proteus_f7
2023-08-23 21:57:08 -04:00
rusefillc a041eb55f3 broadcast button toggle counter #5514
only:fancy boolen with counter
2023-08-22 14:49:28 -04:00
rusefillc 3c8cd08c61 broadcast button toggle counter #5514
only:fancy boolen with counter
2023-08-22 14:37:17 -04:00
GitHub gen-configs Action 5e52aa0ed0 Auto-generated configs and docs 2023-08-22 18:32:00 +00:00
rusefillc 21fb17e2b5 broadcast button toggle counter #5514
only:changing proper lines
2023-08-22 14:26:47 -04:00
GitHub gen-configs Action 03e0ada1a9 Auto-generated configs and docs 2023-08-22 18:21:31 +00:00
rusefillc 7bbf972c83 broadcast button toggle counter #5514 2023-08-22 14:16:30 -04:00
GitHub gen-configs Action f50cc7743c Auto-generated configs and docs 2023-08-22 04:37:56 +00:00
rusefi 6d4a4a6449 PROTEUS_STIM_QC 2023-08-22 00:34:45 -04:00
GitHub gen-configs Action 267abc22e9 Auto-generated configs and docs 2023-08-22 03:25:30 +00:00
rusefillc 787bba32bd
extracting stm32 pins (#5530) 2023-08-21 23:09:52 -04:00
GitHub gen-configs Action ccc08fe7db Auto-generated configs and docs 2023-08-22 00:16:26 +00:00
rusefillc 93f7077f92
Dup2 (#5528)
* reducing code duplication around ADC enums

* reducing code duplication around ADC enums
2023-08-21 20:06:54 -04:00
rusefillc 2cfd8e1be9 engine_type_e 16 bits should do it 2023-08-21 19:04:29 -04:00
GitHub gen-configs Action fc51615238 Auto-generated configs and docs 2023-08-21 22:39:50 +00:00
rusefillc 16e1cb946e
reducing code duplication (#5527)
* reducing code duplication

* reducing code duplication
2023-08-21 18:36:59 -04:00
rusefi e8c45a2e7d refactoring: reducing code duplication. Also, do we even care for critical error codes?! 2023-08-20 22:23:44 -04:00
rusefi e5293c1ae6 fuelBenchMode
only:proteus_f7
2023-08-18 00:09:04 -04:00
GitHub gen-configs Action 37b2f74f17 Auto-generated configs and docs 2023-08-15 12:55:35 +00:00
rusefillc 8ddb59db32 Renault F3R trigger #5513 2023-08-15 08:49:20 -04:00
rusefillc 364fc3915d encapsulation 2023-08-08 06:03:56 -04:00
GitHub gen-configs Action 5b06954846 Auto-generated configs and docs 2023-08-06 03:55:05 +00:00
Andrey 5f686c302d "Single Tooth" renamed to "Half Moon", more proper "Single Tooth" crank trigger as a new trigger fix #5488 2023-08-05 23:49:32 -04:00
rusefillc 03a714055f
bench test delay parameter is not useful (#5491)
Co-authored-by: Matthew Kennedy <matthewkennedy@outlook.com>
2023-08-05 14:32:24 -04:00
GitHub gen-configs Action 45bafe99e6 Auto-generated configs and docs 2023-08-05 18:20:54 +00:00
Matthew Kennedy 1ee41382c7 bench test cancellation 2023-08-05 14:12:48 -04:00
GitHub gen-configs Action aeb824c869 Auto-generated configs and docs 2023-08-04 00:56:06 +00:00
rusefillc 77ef4db8ab
Simplified VVT single tooth cam modes. (#5483)
* Simplified VVT single tooth cam modes.

* Simplified VVT single tooth cam modes.

* Simplified VVT single tooth cam modes.

* Simplified VVT single tooth cam modes.

* Simplified VVT single tooth cam modes.

---------

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-08-03 20:24:22 -04:00