Commit Graph

727 Commits

Author SHA1 Message Date
Andrey 6708494bb0 only:towards https://github.com/rusefi/rusefi/pull/4841 2024-01-07 16:21:54 -05:00
Andrey 509261ad10 only:renaming field 2024-01-07 16:04:36 -05:00
rusefillc e931bd850d signal_executor_sleep is not part of real firmware 2024-01-07 15:51:49 -05:00
Andrey d678c49a13 one step towards https://github.com/rusefi/rusefi/pull/4841/files#diff-63e5fe040b8a611e8897c2f4d455c248e6e4c6ee377f04ef30ada43e1dad3c61 2024-01-07 14:25:07 -05:00
rusefillc 889c374beb only:ooooops typo 2024-01-07 13:49:10 -05:00
rusefi 39e888bba7 EPIC: we need to test fresh boards HW QC #5511 2024-01-06 17:24:39 -05:00
rusefillc a3f3f536e8 openblt preparation 2023-12-29 17:55:50 -05:00
Andrey 59caa0f2b8 a bit more rename 2023-12-14 00:31:46 -05:00
rusefillc 101df2cf92 only:better method name 2023-11-24 14:37:01 -05:00
rusefillc 5cae9663c7 only: assert eventQueue in simulator 2023-11-17 17:46:46 -06:00
rusefillc d4c21e514c only: refactoring: reduce guard duplication 2023-11-17 16:53:57 -05:00
rusefillc 65cdf658c0 narrowBandO2heater confusion 2023-11-15 15:55:12 -05:00
Andrey 3af8d69ad9 only:unused-variable is a nice error message to have #5683 2023-11-02 15:28:04 -04:00
Matthew Kennedy 78391f04ee PWM shadowing 2023-11-01 19:37:56 -04:00
Matthew Kennedy 02621224a7 dc motor 2023-11-01 19:25:13 -04:00
rusefillc 35e57475a4 only:variable shadowing should be avoided #5676 2023-11-01 12:12:50 -04:00
rusefillc b3d921d961 only:variable shadowing should be avoided #5676 2023-11-01 12:00:08 -04:00
rusefillc 198c9e8f57 only:shall we be just a little less Toyota 2023-11-01 10:09:04 -04:00
rusefillc 850d79d89d shall we be just a little less Toyota 2023-11-01 09:48:33 -04:00
rusefillc 14887656de
hd (#5668) 2023-10-31 12:24:26 -04:00
rusefi b77a7c4111 hd 2023-10-31 10:29:14 -04:00
rusefillc bbab25a378 only: docs 2023-10-26 22:42:21 -04:00
Andrey a90f8d4c9f only:simulator guards 2023-10-19 13:25:19 -04:00
andreika-git bfd16c47ae remove exclusivePinControlMode 2023-10-17 12:34:29 -04:00
andreika-git 3f30eb41ce OutputPin::exclusivePinControlMode 2023-10-17 12:34:15 -04:00
Matthew Kennedy ee381b2f34 speedo output 2023-10-15 22:07:31 -04:00
Matthew Kennedy 6f52a25c2b Prevent multiple-starts on a thread from causing panic 2023-10-12 21:41:33 -04:00
andreika-git b82b125e4f guards for getVvtOutputPin 2023-10-11 12:39:53 -04:00
andreika-git 6ce7457b23 getOutputPinForBenchMode() 2023-10-11 12:39:53 -04:00
rusefillc 920e57e67c only:bench test fuel pump pin #5603 2023-10-11 00:07:36 -04:00
rusefillc f89dc86032 only:bench test fuel pump pin #5603 2023-10-10 23:48:46 -04:00
rusefillc f7f8135e04 only:bench test fuel pump pin #5603 2023-10-10 21:29:52 -04:00
Matthew Kennedy 6b13f95b3c dual ACR pins #47 2023-10-09 18:51:47 -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
Matthew Kennedy 115a0bfef0 consolidate pwm logic 2023-10-06 19:56:14 -04:00
Matthew Kennedy 22a10cc0eb minor pwm logic cleanup 2023-10-06 19:41:40 -04:00
Andrey f4da504968 tooth-event angle cannot be negative 2023-10-06 12:21:55 -04:00
Andrey a6103dca56 tooth-event angle cannot be negative 2023-10-06 12:21:55 -04:00
rusefillc e4a3fb260d only: readability? 2023-10-05 22:42:00 -04:00
rusefillc 696a83d04a only: documenting the current naming mess 2023-10-05 22:32:20 -04:00
rusefillc fd69d25866 only: reducing confusion? 2023-10-05 22:03:41 -04:00
Andrey e5f7c9885c testability: bench test commands should have automated coverage using simulator #5562 2023-09-11 00:03:10 -04:00
rusefi daf4edb04e C++ 2023-09-10 23:47:44 -04:00
Andrey f0479fdc17 preparing method for reuse 2023-09-06 08:16:14 -04:00
Andrey e81f9f953a some of these error codes are quite pointless now in 2023 2023-09-05 21:32:50 -04:00
Andrey ba66fdcf82 reducing code duplication around assert 2023-09-05 21:28:39 -04:00
Andrey 464ce6ae50 default arguments are cool even while I might not even need it now 2023-09-05 16:17:13 -04:00
Andrey 70945665e9 default arguments are cool even while I might not even need it now 2023-09-05 16:01:34 -04:00
Andrey 05a8a93028 technical debt? our way to have unit tests working is to have this field instead of proper 'this' 2023-09-05 15:38:51 -04:00
Andrey c8302be4ae type clean-up to avoid nasty cast 2023-09-05 15:33:05 -04:00
Andrey 1067e27a50 this field can use a type 2023-09-05 15:20:57 -04:00
rusefi 516c72c411 let's admit we use C++ here 2023-08-31 00:01:31 -04:00
rusefi 720ba01d04 proteus fails to start while powered by stim board #5545
only:proteus_f7
2023-08-29 00:46:21 -04:00
rusefillc 3c8cd08c61 broadcast button toggle counter #5514
only:fancy boolen with counter
2023-08-22 14:37:17 -04:00
rusefillc cf7944cd78 CAN side of automated testing fix #4630
closing simply because we have too many tickets
2023-08-21 00:40:36 -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
rusefillc b2c8e06d1c broadcast button toggle counter #5514 2023-08-20 17:27:41 -04:00
rusefillc 9febfc7070 startPwm should not FATAL fix #5497 2023-08-07 23:32:52 -04:00
rusefi 163e4ddd40 turnAllPinsOff improvements #5429
only:turning a couple of more pins off
2023-07-21 21:30:21 -04:00
Andrey c3a87bc4d3 hiding stuff from unit tests 2023-07-06 21:36:39 -04:00
rusefillc 4bbc0a8189 hiding stuff from unit tests 2023-07-06 17:01:02 -04:00
rusefillc bc2a2b9ab9 only:better method name 2023-06-25 02:08:53 -04:00
Andrey 5bdcb84d0a Too many bench test buttons are broken #5327 2023-06-15 19:30:46 -04:00
Andrey 88f662ca2d Too many bench test buttons are broken #5327 2023-06-15 15:43:35 -04:00
rusefillc 65dcdb86ec Too many bench test buttons are broken #5327 2023-06-15 11:46:39 -04:00
rusefi f77f356e6d reducing code duplication 2023-06-11 23:17:13 -04:00
Matthew Kennedy b174ef488a shared define for all LED pin mode 2023-06-05 11:49:09 -04:00
Matthew Kennedy f7e6ccd9e2 de-pointerize outputMode #49 2023-06-05 10:25:00 -04:00
rusefillc 74e2592746 p from past 2023-06-05 10:23:20 -04:00
Matthew Kennedy 12a29232cc tooth_logger.h -> pch
(cherry picked from commit ad3ea57276361b6da69eb920dd056a662f6f5c70)
2023-05-31 15:59:02 -04:00
Andrey 8c9b17485e Revert "Allow scheduling_s to come from a pool (#4841)"
This reverts commit 5250b177
2023-05-25 10:10:17 -04:00
rusefillc 8f6f7819a4 one step back: sleep implementation not to use heap 2023-05-25 10:10:17 -04:00
rusefillc 9ec713c162 dead doc 2023-05-25 09:49:30 -04:00
rusefillc fb2e64a6be reducing GPIO code duplication 2023-05-24 10:57:09 -04:00
rusefillc b2547c629d reducing GPIO code duplication 2023-05-24 10:44:33 -04:00
rusefillc fa57f32a37 reducing GPIO code duplication 2023-05-24 10:37:02 -04:00
rusefillc 458d8982aa reducing GPIO code duplication 2023-05-24 10:34:11 -04:00
rusefillc cdf5447afb reducing GPIO code duplication 2023-05-24 10:24:44 -04:00
rusefillc 61f840fcc3 reducing GPIO code duplication 2023-05-24 09:30:19 -04:00
rusefillc cc4175f428 reducing GPIO code duplication 2023-05-24 08:51:24 -04:00
rusefillc cdd7bfe535 code style 2023-05-24 00:09:06 -04:00
Andrey 51d0f6e347 it's going to be painful 2023-04-29 00:44:00 -04:00
Matthew Kennedy 61e5b4b1ad change ObdCode to enum class builds firmware 2023-04-29 00:44:00 -04:00
Matthew Kennedy 2857e9527d remove specs_s struct, flatten config
(cherry picked from commit f090a97b0b7771dfe02e4b4bb9919d50a6a11ef5)
2023-04-28 20:59:11 -04:00
Matthew Kennedy dc6f53bda5
extract newton's method implementation (#5157)
* move expected, update libfirmware

* hellen ID solver uses shared Newton's method

* comment shouldn't have been moved
2023-03-07 08:45:17 -05:00
Andrey 0c948f6448 yes, this thing works nicely 2023-02-20 23:43:58 -05:00
rusefillc a11a770ae4 Default binary should have more relaxed pinout: FATAL pin #5002
refactoring: extract method
2023-01-23 10:11:04 -05:00
rusefillc 1be06f8d08 h-bridge wastegate not alive on bench #4965
life is sad when debugger is broken
2023-01-17 13:46:54 -05:00
Matthew Kennedy 872595f302
ETB compensates for battery voltage (#4838)
* compensate battery voltage

* changelog

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-12-10 22:55:26 -05:00
Matthew Kennedy 5250b177c2
Allow scheduling_s to come from a pool (#4841)
* injection events use scheduling pool

* knock and prime

* bench test

* dropped this: *

* extract action before execute

* comment

* init allocated timers

* metrics

* dropped this: ,

* guard

* injection events use scheduling pool

* knock and prime

* bench test

* dropped this: *

* extract action before execute

* comment

* init allocated timers

* metrics

* dropped this: ,

* guard

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-12-10 17:55:51 -05:00
Matthew Kennedy 994ee2f22f
Combine angle based event (#4884)
* Remove AngleBasedEventOld/New, only AngleBasedEvent now

* this 7 year old comment of old test code can go away
2022-12-10 17:07:02 -05:00
Matthew Kennedy 769cdd32ca
TriggerScheduler cleanup (#4844)
* TriggerScheduler cleanup

* remove TRIGGER_EVENT_UNDEFINED

* remove dead overload of scheduleOrQueue

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-11-28 08:55:38 -05:00
rusefillc 800b6b7a95 https://github.com/rusefi/hellenNA6_issues/issues/35 2022-11-09 14:41:21 -05:00
Andrey G e7b06cbfca
compile warnings: signed vs unsigned and unused (#4713) 2022-10-30 09:47:53 -04:00
rusefillc 0283351d6c send more of Engine Sniffer data #4560 2022-10-29 21:55:35 -04:00
rusefillc 066ac7e2ea send more of Engine Sniffer data #4560 2022-10-29 21:27:49 -04:00
Matthew Kennedy 2924d98609
use offsetof instead of generated offset defines (#4696)
* constify efi_gpio, use size_t

* use offsetof instead of macros

* don't generate offsets in rusefi_generated.h

* comment explaining the madness

* java fixes

* casing
2022-10-23 16:39:18 -04:00
Matthew Kennedy 0838fd5dc4
constify efi_gpio, use size_t (#4695) 2022-10-23 08:25:47 -04:00
Matthew Kennedy b089825a4a
schedule ignition charge by angle instead of tooth (#4513)
* schedule ignition charge by angle

* same mistake as #4536

* s

* wrap sparkAngle too

* AngleBasedEventNew

* function moved

* implement scheduleOrQueue

* prints
2022-09-25 11:00:55 -04:00
Matthew Kennedy af7e4f6fe5
two modes trigger scheduler (#4598)
* two modes trigger scheduler

* asOld

* hpfp
2022-09-20 05:28:23 -04:00