Commit Graph

732 Commits

Author SHA1 Message Date
Andrey 04721870c8 custom FW repos code generation process #5817
preparation
2023-12-19 16:47:58 -05:00
GitHub gen-configs Action e3452b37b1 Auto-generated configs and docs 2023-12-12 18:28:55 +00:00
rusefillc 591f39efb6 only:https://github.com/rusefi/alphax-4chan/issues/166 2023-12-12 13:25:40 -05:00
Andrey 4f4d86b364 two 042 modules sporadic reading #5773
one step back
2023-12-06 15:18:10 -05:00
rusefillc ac913c90a6 two 042 modules sporadic reading #5773
only:proteus_f7
2023-12-06 09:56:40 -05:00
rusefillc 708ca995de bench test 33810 module #5745 2023-11-23 09:48:33 -05:00
rusefillc c6b2a014c3 enginePins.o2heater technical debt or confusion #5727 2023-11-15 16:44:33 -05:00
rusefillc 289b7611b7 enginePins.o2heater technical debt or confusion #5727 2023-11-15 16:31:31 -05:00
rusefillc 0800335320 reducing code duplication 2023-11-13 18:30:30 -05:00
Andrey b3e97fdf2f better EFI_ENGINE_CONTROL 2023-11-05 15:55:29 -05:00
Andrey 9237c4b16a better EFI_ENGINE_CONTROL 2023-11-05 12:09:25 -05:00
Andrey 021609f468 only:unused methods 2023-11-04 22:34:28 -04:00
rusefillc 21243f3ff7 only:better guards 2023-11-04 19:24:28 -04:00
Matthew Kennedy e3edb2b15c maf cleanup 2023-11-01 19:08:27 -04:00
rusefillc 781a236885 only:shall we be just a little less Toyota 2023-11-01 10:32:53 -04:00
rusefillc 2e62e6fc91 only:shall we be just a little less Toyota 2023-11-01 10:21:27 -04:00
rusefillc 0b1b7a86d9 Make TPS/PPS split configurable #5620 2023-10-30 22:25:29 -04:00
GitHub gen-configs Action e9607d1fed Auto-generated configs and docs 2023-09-18 12:24:28 +00:00
Matthew Kennedy bcc5647e27 new sensor types 2023-09-18 08:20:53 -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
Andrey G cb24ea2bca
sensor_checker: getCodeFor*() idx argument is zero-based (#5563) 2023-09-11 07:07:43 -04:00
Andrey f4a217a8fe hella is conditional 2023-09-09 20:14:37 -04:00
Matthew Kennedy e018613efb reject impossible pulses 2023-09-09 20:03:24 -04:00
Matthew Kennedy cfceb06f4d typos 2023-09-09 20:03:09 -04:00
Matthew Kennedy d0be093036 stub hella level sensor 2023-09-09 20:02:58 -04:00
rusefi 78e48d3718 only:timer.h goes to libfirmware! 2023-08-30 23:11:24 -04:00
rusefillc aa713e4768 EGO sensor type dropdown is broken, all settings the same #553 2023-08-24 16:49:05 -04:00
rusefillc 64cc46d8ec AEM WBO EGO preset 2023-08-24 16:29:35 -04:00
rusefillc d71f9600ad SBC 2023-08-10 02:59:50 -04:00
rusefillc fcebccd2c4 only:named parameters 2023-06-12 19:35:24 -04:00
rusefi 426bc8720e console "spark 1" bench hands up proteus #5320
i feel lucky!
2023-06-11 23:23:17 -04:00
Matthew Kennedy b150b8702d implement temp sensor pulldown mode 2023-06-10 18:18:34 -04:00
GitHub gen-configs Action 44abec82de Auto-generated configs and docs 2023-05-15 13:26:01 +00:00
rusefi c972a0d53c current Gear should use sensor approach fix #5156 2023-05-15 09:22:36 -04:00
GitHub gen-configs Action 53081d938e Auto-generated configs and docs 2023-05-08 04:28:33 +00:00
Matthew Kennedy 8965776203 stub TIP sensor
(cherry picked from commit 89d66d4abd9bd0e1fb1b49e73ebf9065f9356a71)
2023-05-08 00:26:36 -04:00
GitHub gen-configs Action 1e4e6edb2d Auto-generated configs and docs 2023-05-05 19:02:59 +00:00
Matthew Kennedy 2ef282a17b wideband prefix
(cherry picked from commit c3b97dd4e4fcf9b90b3b999877314cf512856686)
2023-05-05 15:01:19 -04:00
Matthew Kennedy 781f0d1baa wideband prefix
(cherry picked from commit bc51116022f1d4205f343a0e786ae8717d51ed05)
2023-05-05 15:01:10 -04:00
GitHub gen-configs Action 84bb05af05 Auto-generated configs and docs 2023-04-30 14:56:05 +00:00
Matthew Kennedy 4e7e25585e gear detection in to the sensor model
(cherry picked from commit 82794403f86023d36a211e349ca2ff530eb2eb3c)
2023-04-30 10:54:38 -04:00
Matthew Kennedy 61e5b4b1ad change ObdCode to enum class builds firmware 2023-04-29 00:44:00 -04:00
Matthew Kennedy 01f7e4068d rename obd_code_e -> ObdCode
(cherry picked from commit d6534157a03d19bb2e8aeece301642c053a081d0)
2023-04-29 00:44:00 -04:00
Matthew Kennedy 7396d466c4 cj125
(cherry picked from commit fd09ad7b4f2a9c450aedf4a535db4edd24bdcee1)
2023-04-29 00:15:54 -04:00
Andrey 954da551f7 sensor checker is not checking sensors fix #5232 2023-04-11 16:06:38 -04:00
rusefillc dda1b90701 Indicator for injector HW issues #5189
only:mre_f4
2023-04-11 14:54:23 -04:00
rusefi 6347b11c27 VSS input: one step back 2023-03-31 10:03:18 -04:00
rusefillc 6d838a262e https://github.com/rusefi/hellen125honda-issues/issues/40 2023-03-30 17:39:41 -04:00
rusefillc 69a34c3875 signal legacy WBO
only:hellen-honda-k
2023-03-30 13:32:07 -04:00
rusefi 3e47a8e39e Update wideband submodule #5208
only:hellen-honda-k
2023-03-30 12:08:14 -04:00
rusefillc 54b3d315e7 validate VSS input 2023-03-30 10:59:38 -04:00
rusefi eed184b5c2 validate VSS input
only:hellen-honda-k
2023-03-30 10:44:54 -04:00
rusefillc c125263b0e different API 2023-03-27 23:57:56 -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
GitHub gen-configs Action 48c033b4ca Auto-generated configs and docs 2023-03-06 04:49:42 +00:00
rusefillc 1c6e06caf3 current Gear should use sensor approach #5156 2023-03-05 23:48:11 -05:00
rusefi 696f8d566b Native SENT TPS input #5079 2023-03-01 18:56:06 -05:00
Andrey c08e4c3af5 only:mre_f4 2023-03-01 17:20:34 -05:00
rusefi 7c6dd18f94 only:mre_f4 2023-03-01 16:53:48 -05:00
rusefi a355a5074b only:mre_f4 2023-03-01 16:29:24 -05:00
rusefi dc9268a5ee Native SENT TPS input 5079
only:mre_f4
2023-03-01 16:09:23 -05:00
Andrey 976b3c0306 Native SENT TPS input #5079
only:mre_f4
2023-03-01 14:26:30 -05:00
Andrey 1a8af17307 Native SENT TPS input #5079
only:mre_f4
2023-03-01 09:19:30 -05:00
Andrey 28c3af682d Native SENT TPS input #5079
a bit of progress
2023-02-28 22:11:38 -05:00
Andrey 3247c15838 Native SENT TPS input #5079
only:alphax-4chan
2023-02-23 05:26:42 -05:00
GitHub gen-configs Action 5de0da3938 Auto-generated configs and docs 2023-02-21 04:57:19 +00:00
rusefillc e7f6450292 Revert "moving sensors files a bit"
This reverts commit 44848d414a.
2023-02-20 23:35:21 -05:00
Andrey 80066add40 sensor API progress, I promise to be careful 2023-02-20 23:01:17 -05:00
Andrey 47056cb005 sensor API progress 2023-02-20 22:46:18 -05:00
GitHub gen-configs Action d6a47afbae Auto-generated configs and docs 2023-02-21 02:39:44 +00:00
Andrey 44848d414a moving sensors files a bit 2023-02-20 21:37:07 -05:00
Andrey 20d10ea0bb moving sensors files a bit 2023-02-20 21:21:03 -05:00
GitHub gen-configs Action 08e8dbef79 Auto-generated configs and docs 2023-02-20 16:40:01 +00:00
rusefillc bb3b43f038 Native SENT TPS input #5079 2023-02-20 11:38:20 -05:00
Matthew Kennedy 30ea192129
fire a warning in case of wideband fault (#5109)
* fire a warning in case of wideband fault

* s
2023-02-20 03:42:40 -05:00
GitHub gen-configs Action 7317589d23 Auto-generated configs and docs 2023-02-15 00:56:39 +00:00
rusefi 108ca61ffb Native SENT TPS input #5079 2023-02-14 19:54:22 -05:00
Benas Brazdziunas f7aed24da9
dual ADC wideband support (#5007)
* Initial work on dual ADC wideband

* Added FunctionPointerSensor lambdaSensor2 and registered second sensor

* removed second sensor heater output. Only used for NB and probably can be shared with sensor 1

---------

Co-authored-by: benas-gavea <bbrazdziunas@gavea.co.uk>
2023-01-29 05:01:39 -05:00
Nathan Schulte 96b2195497
misc tidy (#4926)
* FrequencySensor: code-style

* smart_gpio: fix indent, tidy BOARD_EXT_GPIOCHIPS

tidy _GPIOCHIPS for #pragma message(STRING(BOARD_EXT_GPIOCHIPS output

* obd_error_codes: fix indent
2023-01-01 15:51:31 -05:00
Matthew Kennedy 466833d95a
ETB error counter logic (#4854)
* simplify ETB error counter logic

* dropped this: {

* happy test

* reorder logic, test etbErrorCode

* test that fails

* independent TPS and PPS counters

* missed a file

* happy test
2022-11-30 22:20:09 -05:00
Andrey 98e886e00b mock invalid & current state of ETB error counter 2022-11-29 20:36:03 -05:00
Andrey 3e6003f0ca refactoring: extracting method 2022-11-29 20:11:29 -05:00
rusefillc c3563ec577 ETB overheats due to constant isTpsError true/false/true/false jitter #4832
refactoring: extract method
2022-11-27 18:44:44 -05:00
rusefillc fc8a63b1db Nissan MAF 2022-11-10 11:25:19 -05:00
rusefillc ca86fdc580 Nissan MAF 2022-11-10 11:10:55 -05:00
rusefillc 6e5f38d035 Nissan MAF 2022-11-09 22:09:39 -05:00
rusefi f38809d186 Nissan 2022-11-09 20:58:09 -05:00
rusefillc d262fbfc2b Nissan 2022-11-09 20:39:11 -05:00
rusefi 9ccb0ccb0c https://rusefi.com/forum/viewtopic.php?p=46603#p46603
calling 'setTimeout' on bad self (cpp class not export)
2022-11-06 20:09:01 -05:00
Andrey G e7b06cbfca
compile warnings: signed vs unsigned and unused (#4713) 2022-10-30 09:47:53 -04:00
GitHub gen-configs Action 9549b2a4ee Auto-generated configs and docs 2022-10-28 01:19:55 +00:00
Matthew Kennedy de65a247d6
plumbing for dual MAP sensors (#4704)
* wiring for dual maps

* s
2022-10-27 21:15:04 -04:00
Matthew Kennedy dfe2ead2e7
prep for multiple MAP sensors (#4705)
* prep for multiple MAP sensors

* move guard

* sensor info printing

* maybe kinetis memory
2022-10-27 13:59:36 -04:00
Andrey b01082640b Revert "prep for multiple MAP sensors (#4677)"
This reverts commit b8c79b7881.
2022-10-26 21:25:02 -04:00
Matthew Kennedy b8c79b7881
prep for multiple MAP sensors (#4677)
* prep for multiple MAP sensors

* move guard

* sensor info printing
2022-10-26 18:06:20 -04:00
rusefi 7270735015 GM SENT ETB bench test in NJ #4688 2022-10-26 09:27:32 -04:00
GitHub gen-configs Action 911899e28a Auto-generated configs and docs 2022-10-24 16:46:53 +00:00
Matthew Kennedy f8a4d35d25
dual MAF sensors (#4697)
* add second MAF

* output channesl

* move them around

* ok let's try at the very end

* is the logic wrong, or something else?

* ooh it's the sensor order
2022-10-24 12:41:05 -04:00
GitHub gen-configs Action 4b52c5c49c Auto-generated configs and docs 2022-10-17 03:44:02 +00:00
rusefi 5df4a196af Lua aux gauge #4672 2022-10-16 23:38:24 -04:00
GitHub gen-configs Action 02261ef061 Auto-generated configs and docs 2022-10-12 01:03:24 +00:00
Matthew Kennedy 09ad5a738c
allow SD logging non-scaled_channel (#4657)
* allow SD logging non-scaled_channel

* comments and kick ci
2022-10-11 20:58:43 -04:00
rusefi eda1ec70da FrequencySensor::showInfo 2022-10-05 23:39:19 -04:00
rusefillc 05b84d21e6 auxSpeed1 2022-09-20 23:00:42 -04:00
GitHub gen-configs Action 8729d705c2 Auto-generated configs and docs 2022-09-19 16:23:04 +00:00
rusefillc 6e543355a7 useBiQuadOnAuxSpeedSensors 2022-09-19 12:13:20 -04:00
rusefillc 2144afe405 moving confusing around 2022-09-19 12:00:01 -04:00
Andrey a0b52eeb2f different file names for different entities 2022-09-04 23:11:19 -04:00
GitHub gen-configs Action d2bd952cb3 Auto-generated configs and docs 2022-08-22 14:54:09 +00:00
rusefillc 394126b046 Pavel Xenon is asking for EGT limping mode #3172 2022-08-22 10:48:54 -04:00
rusefillc f3a1e668eb EGT nothing 2022-08-14 18:36:09 -04:00
Matthew Kennedy bdcbe3804b
ignore invalid diag result when checking ign/inj (#4419)
* ignore invalid pins

* ign too
2022-08-06 07:24:53 -04:00
Matthew Kennedy 2096a22319
report injector, ignition faults (#4408)
* report injector, ignition faults

* guard
2022-08-01 15:41:47 -04:00
Matthew Kennedy b6f1779781
implement sensor checker (#4395)
* implement sensor checker

* use default

* s

* fix

* properly report non-timeout errors

* it's not safe to read Value when invalid

* it's not safe to read Value when invalid
2022-07-30 17:08:48 -04:00
rusefillc 1e983d31e8 HOW to configure CAN-based accelerator pedal #4369
docs
2022-07-28 09:37:24 -04:00
Matthew Kennedy 923d2c2e44
unexpected contains information about why it failed (#4393)
* unexpected can contain information

* info printing

* sensors return appropriate error codes

* remove reliance on undefined behavior

* s
2022-07-28 10:04:28 +03:00
Matthew Kennedy 41318e0f9d
detect bad Lua sensor name when registering (#4391)
* format

* lua error on bad sensor

* comment

* name validation

* soft check before the hard check causes a fatal error

* s
2022-07-27 12:41:21 +03:00
Matthew Kennedy b99d90b006
Start -> start (#4366) 2022-07-21 15:17:32 -04:00
Matthew Kennedy a0d8ae3f4f
use libfirmware for a few things (#4351)
* use libfirmware

* unit tests

* crc

* missed one

* bootloader
2022-07-16 02:22:51 -04:00
rusefillc 67ec949eb6 Lua A/C Input #4333 2022-07-08 00:51:53 -04:00
GitHub build-firmware Action 55b9e384cf Auto-generated configs and docs 2022-06-24 00:20:41 +00:00
Matthew Kennedy 29420c76aa
wideband live data (#4276)
* wideband live data magic

* test build happy

* test even happier
2022-06-23 20:04:26 -04:00
Matthew Kennedy 253b779c26
fuck (#4245) 2022-06-09 14:01:36 -04:00
Matthew Kennedy dc2fb765a9
rewrite tps init, check if your primary/secondary sensors are too similar (#4231)
* rewrite tps init

* staticstaticstaticstaticstaticstaticstatic
2022-06-04 12:07:28 -04:00
Matthew Kennedy a5eb91f1b7
update wideband firmware (#4186)
* use header from wideband

* update wideband

* we can use master now
2022-05-29 13:49:51 -04:00
Matthew Kennedy ba35749238
proteus-friendly VR threshold logic (#4180)
* proteus-friendly VR threshold

* ddddddddddddddddddd
2022-05-17 21:35:43 -04:00
rusefillc df7a6d1367 default VR curve is needed not just by hellen, we have Proteus adapters with it now! 2022-05-17 17:54:11 -04:00
rusefillc cbc4a42954 Maintenability: frequency sensors need a simple event counter in the logs #4173 2022-05-14 08:39:08 -04:00
rusefillc 683a723d2f
CAN category (#4148)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-05-09 16:49:23 -04:00
Matthew Kennedy e13dad3a2a
support better wbo format (#4000)
* new format

* comment

* pr feedback

* heater duty

* extra

* comment

* test multi-accept logic

* s

* test new format

* this comment made no sense

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-05-07 02:19:51 -04:00
Andrey e62877964a Move curves out of engineConfiguration in order to reduce RAM usage #4127 2022-05-01 23:43:43 -04:00
Matthew Kennedy e4a0979dc2
Brain pin is enum class (#4108)
* change most usages to Gpio::

* board configs

* engine configs etc

* isBrainPinValid, smart gpio

* generator

* generator

* generator

* connector yamls

* kinetis enums

* cypress txt

* kinetis config

* frankenso

* config generator

* actually do it for the others

* disable skips for pr ci

* fix tle8888

* misc

* weird cast from int

* needs this operator too

* this can be an unsigned subtract

* happy tests

* s

* kinetis isConfigurationChanged weirdness

* missed J/K

* cypress efifeatures

* build script mistake (!)

* mistake in smart gpio

* debounce

* eg33

* kinetis, so needy

* it's pretty green, we can skip these again
2022-04-28 17:32:39 -04:00
Matthew Kennedy c3fb211d6b
fix vss/iss filter parameter validation (#4114)
* fix filter parameter validation

* use values that don't get clipped
2022-04-27 22:29:51 -04:00
rusefillc 442d829f8a [EPIC] [Feature Request] Transmission Control #1454 2022-04-25 17:42:19 -04:00
GitHub build-firmware Action 786ec5a4dd Auto-generated configs and docs 2022-04-21 13:14:29 +00:00
David Holdeman 1747b6a6e6
Add ISS sensor, rearrange some transmission config (#4089)
* move other solenoids to new dialog

* change name of menu item

* move buttonshift to new dialog

* add ISS config

* add some iss code

* add iss output

* de-init ISS
2022-04-21 09:07:52 -04:00
Matthew Kennedy 16de438ab8
knock threshold table fix (#4077)
* fix knock threshold table

* defaults

* knock controller is engine module

* testable

* test builds

* knock tests work

* s

* format

* everyone loves changelogs
2022-04-18 08:03:16 -04:00
rusefillc c023056d2d very random progress 2022-04-16 16:49:59 -04:00
rusefi 889add866f random docs 2022-04-09 17:53:24 -04:00
Matthew Kennedy baef88d1c7
make the vss fliter parameter work again (#4056)
* vss has adjustable filter

* tooltip and validate

* s
2022-04-09 09:00:19 -04:00
GitHub build-firmware Action cd161f1b79 Auto-generated configs and docs 2022-03-29 06:15:02 +00:00
rusefillc 8e8bc718e2 [EPIC] [Feature Request] Transmission Control #1454 2022-03-29 02:06:58 -04:00
rusefillc 48b96bc6dc reducing code duplication 2022-03-28 23:54:14 -04:00
rusefillc 536ccb4001 reducing code duplication 2022-03-28 23:30:37 -04:00
GitHub build-firmware Action 6e20324be1 Auto-generated configs and docs 2022-03-21 00:20:26 +00:00
Matthew Kennedy be47bc1b37
aux linear sensors (#4005)
* aux linear sensors

* comment

* kick build

* fix alignment

* fix alignment
2022-03-20 20:13:04 -04:00
Matthew Kennedy 4e57daf6d7
test AEM X-Series wideband protocol (#4002)
* break out acceptFrame, test CanListener

* test AEM xseries protocol

* tweaks

* tweaks

* maybe everyone compiles happily now
2022-03-15 15:52:50 -04:00
Matthew Kennedy c6f45c5022
warnings fixes (#3851)
* unused things

* !!! actual bug !!!

* dead

* unused

* unused

* multi-bus lua RX was just broken

* make the compiler angry about it

* dead config

* alphax 2

* just call, no store

* compiler too angry
2022-01-31 18:37:42 -05:00
rusefillc 146d386d4e pedal calibration 2022-01-27 20:10:55 -05:00
GitHub build-firmware Action a73f5559dc Auto-generated configs and docs 2022-01-27 21:59:17 +00:00