Commit Graph

6959 Commits

Author SHA1 Message Date
Matthew Kennedy 2ad4a9df1e
actually remove FSIO idle stuff (#3150)
* debug mode

* pid cleanup

* more dead

* more dead

* wow more dead

* much dead many death wow
2021-08-14 09:48:45 +03:00
rusefillc e445d9724e dead idle FSIO 2021-08-14 01:48:03 -04:00
GitHub set-date Action 870ce23912 Update date 2021-08-14 00:53:14 +00:00
GitHub build-firmware Action 4640807f97 Auto-generated configs and docs 2021-08-13 19:05:45 +00:00
GitHub build-firmware Action e6d6e1fb54 Auto-generated configs and docs 2021-08-13 15:08:24 +00:00
GitHub set-date Action 57eab2370c Update date 2021-08-13 00:57:01 +00:00
GitHub build-firmware Action a7878b7b68 Auto-generated configs and docs 2021-08-12 22:42:47 +00:00
rusefillc 4ad584d3cc dead idle FSIO 2021-08-12 18:34:06 -04:00
alxrMironov 7ebebd6922
Begin "vehicleSpeed" refactoring. Module switched to "FunctionalPointerSensor" class. #3106 #3107 #3108. (#3132)
* Add new sensor type "VehicleSpeed"

* Add "Vehicle speed" sensor to name list

* Add Vehicle speed sensor initialization with function pointer sensor.

* Add init_vehicle_speed_sensor.cpp to Makefile

* Replace dependencies from "getVehicleSpeed" to OOP-like "Sensor::get()"

* Add warning and TODO to "mock vehicle speed" call

* Replace get & mock "VehicleSpeed" methods in tests

* Remove #warning directive (cause error by current settings)

* Remove stray tab

* Remove explicitly type casting.

* Add "InitVehicleSpeedSensor" function declaration to init.h

* Add "VehicleSpeedSensor" initialization call into "InitNewSensors"

Co-authored-by: alxrMironov <330OMcorporative>
2021-08-12 22:16:51 +03:00
GitHub build-firmware Action 32467de332 Auto-generated configs and docs 2021-08-12 17:24:33 +00:00
GitHub set-date Action 6bed70ef49 Update date 2021-08-12 00:58:15 +00:00
GitHub build-firmware Action 4a7ddc567e Auto-generated configs and docs 2021-08-11 22:49:24 +00:00
GitHub build-firmware Action 0633ce5a0d Auto-generated configs and docs 2021-08-11 22:08:32 +00:00
Matthew Kennedy 90a0e47b04
skip etb init if no primary sensor (#3136)
* skip init if no primary sensor

* specific test
2021-08-12 00:45:44 +03:00
rusefillc 3d4ff9083b Pavel says there are issues 2021-08-11 04:16:51 -04:00
rusefillc c34db37dfb Pavel says there are issues 2021-08-11 04:00:37 -04:00
GitHub build-firmware Action df0455a29e Auto-generated configs and docs 2021-08-11 06:07:34 +00:00
GitHub set-date Action c3f55cdee5 Update date 2021-08-11 00:58:18 +00:00
GitHub build-firmware Action fdbb096e65 Auto-generated configs and docs 2021-08-10 19:43:42 +00:00
rusefillc 490d8c1f8e "Burn without flash" button #3127 2021-08-10 07:30:12 -04:00
GitHub build-firmware Action aa99da9c11 Auto-generated configs and docs 2021-08-10 11:15:48 +00:00
rusefillc afcef0410d "Burn without flash" button #3127 2021-08-10 07:11:41 -04:00
rusefillc cc9b8ffa98 Implement auto knock threshold sampling #3033 2021-08-10 06:42:39 -04:00
GitHub build-firmware Action baa3986957 Auto-generated configs and docs 2021-08-10 10:00:43 +00:00
rusefillc e786af1c83 NB2 36 2021-08-10 02:34:59 -04:00
GitHub build-firmware Action ccfc764fa5 Auto-generated configs and docs 2021-08-10 06:22:39 +00:00
GitHub set-date Action 6b89e487b1 Update date 2021-08-10 00:59:51 +00:00
GitHub build-firmware Action 8c91910815 Auto-generated configs and docs 2021-08-09 21:12:58 +00:00
rusefillc 63e53aebc0 Implement auto knock threshold sampling #3033 2021-08-09 17:07:38 -04:00
GitHub build-firmware Action c73782995f Auto-generated configs and docs 2021-08-09 20:40:28 +00:00
rusefillc 4c7e8560e0 refactoring: reduce magic constant 2021-08-09 16:33:06 -04:00
GitHub build-firmware Action 6930e019bf Auto-generated configs and docs 2021-08-09 20:12:40 +00:00
GitHub set-date Action af15a1bbe6 Update date 2021-08-09 00:57:51 +00:00
GitHub build-firmware Action 6995923436 Auto-generated configs and docs 2021-08-08 14:54:42 +00:00
Andrey 0df437e749 Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 07:04:18 -04:00
GitHub build-firmware Action 1dc26eb5af Auto-generated configs and docs 2021-08-08 10:20:17 +00:00
Andrey 08dff4ceb6 Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 06:16:19 -04:00
Andrey 167f2dbba0 Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 04:56:56 -04:00
Andrey a2d18fa0b7 Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 04:45:40 -04:00
GitHub build-firmware Action 5767ed38f8 Auto-generated configs and docs 2021-08-08 08:11:59 +00:00
GitHub build-firmware Action 73230674ab Auto-generated configs and docs 2021-08-08 07:04:27 +00:00
GitHub set-date Action 341b0d8e04 Update date 2021-08-08 00:57:49 +00:00
GitHub build-firmware Action 463bb87a55 Auto-generated configs and docs 2021-08-07 09:32:36 +00:00
GitHub set-date Action e7c1448367 Update date 2021-08-07 00:52:27 +00:00
GitHub set-date Action 1bcf3d89c5 Update date 2021-08-06 01:01:29 +00:00
GitHub build-firmware Action d537b41216 Auto-generated configs and docs 2021-08-05 22:10:20 +00:00
GitHub set-date Action c891883ee7 Update date 2021-08-05 00:57:19 +00:00
GitHub build-firmware Action ef6fcd274f Auto-generated configs and docs 2021-08-05 00:52:42 +00:00
GitHub build-firmware Action a53c4b1d90 Auto-generated configs and docs 2021-08-05 00:03:53 +00:00
Matthew Kennedy d24f1462e2
even more pch (#3112)
* s

* more

* s

* f7
2021-08-04 19:30:52 -04:00
Matthew Kennedy 5ff7235040
don't "validate instant RPM" (#3095)
* don't "validate instant RPM"

* test actually tests the right thing

* test mode transition
2021-08-04 08:17:14 +03:00
GitHub build-firmware Action 5866348d53 Auto-generated configs and docs 2021-08-04 02:55:38 +00:00
rusefillc 3fe8d0c4cd hellen154hyundai 2021-08-03 22:50:06 -04:00
GitHub build-firmware Action 057de6d61b Auto-generated configs and docs 2021-08-04 02:30:09 +00:00
rusefillc c1275af29c reduce chance of invalid CAM setting fix #3105 2021-08-03 22:15:40 -04:00
Matthew Kennedy 25414ebdad
yet more pch (#3068)
* big pch energy

* put back ramdisk stub

* tests are happy

* h743 nucleo

* kinetis

* I love deleting code!

* make stepper happy

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-03 22:05:01 -04:00
GitHub build-firmware Action 8cbb1e5b5a Auto-generated configs and docs 2021-08-04 01:56:55 +00:00
GitHub set-date Action 70fa8b3cd4 Update date 2021-08-04 00:56:41 +00:00
Andrey 8fe2d99254 unit test for vehicle_speed.cpp #3081 2021-08-03 19:48:24 -04:00
rusefillc 8cffec5c31 HELLEN_154_HYUNDAI 2021-08-03 13:51:33 -04:00
GitHub build-firmware Action d51990ae85 Auto-generated configs and docs 2021-08-03 09:34:13 +00:00
rusefillc c445392bda Honda K CAN packets #3098 2021-08-03 04:23:16 -04:00
GitHub set-date Action 09519208ef Update date 2021-08-03 01:01:43 +00:00
GitHub build-firmware Action a4a3c6fa29 Auto-generated configs and docs 2021-08-02 17:35:41 +00:00
Andrey e9faf06bfd Honda K CAN packets #3098 2021-08-02 13:30:51 -04:00
Matthew Kennedy a8eddbccf6
perform extra-step-prevention in the stepper driver itself (#3038)
* perform extra-step-prevention in the stepper driver itself

* isBusy flag

* I am unable to type

* the court of public opinion has decided that greater-equal is correct

* that sets target in steps, not percent

* correct var name

* mock stepper motor

* testable stepper

* build is happy

* helping build
2021-08-02 07:03:57 -04:00
Matthew Kennedy fcd6c3d520
fix the mess (#3094)
* test

* s
2021-08-01 23:21:53 -04:00
rusefillc ba2d2a0eac header dreaming about file summary comment 2021-08-01 21:52:58 -04:00
rusefillc 50b7bf6b67 typo 2021-08-01 21:51:24 -04:00
GitHub set-date Action 7be4e90eab Update date 2021-08-02 00:57:16 +00:00
Andrey G c091b18baf
Int flash fixes (#3089)
* STM32F7xx: flash write parallelism settings

Datasheed allows 32bit program operation only for 2.7..3.0
While RM defines wider range...

* Add parentheses to defines

* intFlash: show all errors to user

Currently only erase error was exported to user. Flash write error
was silent. Also define few additional error codes and show it to
user.
2021-08-01 18:26:42 -04:00
Matthew Kennedy 2b5b669807
refactor out frequency sensor (#3092)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-01 15:58:39 -04:00
Matthew Kennedy 250bd0670e
unit test vss segfault fix (#3090)
* enable feature

* dynoview

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-01 15:05:52 -04:00
Andrey 511b5c22dd unit test for vehicle_speed.cpp #3081 2021-08-01 12:09:53 -04:00
GitHub build-firmware Action b692ba02e7 Auto-generated configs and docs 2021-08-01 01:24:39 +00:00
Matthew Kennedy ab49f61a83
gppwm vbatt axis (#3088) 2021-07-31 21:20:19 -04:00
GitHub set-date Action 990e2d9f4c Update date 2021-08-01 01:05:17 +00:00
GitHub build-firmware Action 557b948659 Auto-generated configs and docs 2021-07-31 02:58:16 +00:00
GitHub build-firmware Action d066b4ee31 Auto-generated configs and docs 2021-07-30 21:18:57 +00:00
rusefillc 502df0d85b typo 2021-07-30 15:49:08 -04:00
Matthew Kennedy 0d983855b9
instant rpm uses full engine cycle (#3077)
* instant rpm uses full engine cycle

* turn off fast spinup for this test
2021-07-30 08:18:24 -04:00
GitHub build-firmware Action d78b884859 Auto-generated configs and docs 2021-07-30 05:15:34 +00:00
GitHub set-date Action 2a5f00a5f2 Update date 2021-07-30 00:58:59 +00:00
GitHub set-date Action e111cdef12 Update date 2021-07-29 00:56:45 +00:00
rusefillc d9cc35bd31 genesis coupe 2021-07-28 17:18:44 -04:00
GitHub build-firmware Action f93e59ea3d Auto-generated configs and docs 2021-07-28 20:57:59 +00:00
rusefillc cf0fe81e32 genesis coupe 2021-07-28 14:51:29 -04:00
GitHub build-firmware Action f08c59c8e6 Auto-generated configs and docs 2021-07-28 11:49:04 +00:00
Matthew Kennedy 5373594bb7
discrete VR threshold control (#3061)
* vr pwm

* rename

* scaling and ui

* hellen pin

* s

* math

* ooh, pch

* happy test

* not magic
2021-07-28 07:44:44 -04:00
GitHub set-date Action dc4b4f0b5d Update date 2021-07-28 01:01:03 +00:00
GitHub build-firmware Action a2ffc83e3e Auto-generated configs and docs 2021-07-27 21:37:24 +00:00
GitHub set-date Action d1e2fbffd3 Update date 2021-07-27 00:58:54 +00:00
rusefillc c6dbd9caf7 121 vag defaults have fatal error fix #3059 2021-07-26 16:40:11 -04:00
GitHub build-firmware Action 98085430a2 Auto-generated configs and docs 2021-07-26 16:27:03 +00:00
rusefillc ac40974194 atlas https://github.com/rusefi/rusefi/blob/master/firmware/config/boards/readme.md 2021-07-26 11:43:32 -04:00
Matthew Kennedy b52d50bbf2
Use pch in lots of files (#3066)
* most engine.h

* most engine_configuration

* more

* more

* more

* more

* more

* moooooore

* ok I'm done for now

* oops
2021-07-26 01:05:17 -04:00
GitHub build-firmware Action ea9fd55686 Auto-generated configs and docs 2021-07-26 01:47:41 +00:00
Matthew Kennedy 3518da97a7
set up precompiled header (#2971)
* ignore

* set up precompiled header

* makefile

* fixes

* cleanup

* only depend cpp on pch

* efifeatures in pch

* f7 efifeatures

* consolidate

* simulator

* proteus build

* error handling is a good one

* bootloader pch

* don't auto include pch

* dirs

* delete on clean

* bootloader cleans

* clean.sh deletes pch

* disable in bl for now

* there was a typo so maybe it'll work now

* remove todo

* don't need that any more

* don't need these parts

* don't need this part

* undo changes

* use a different cpp as example

* s

* Revert "cleanup"

This reverts commit 8de8698490f5d09c2df753f00a89751aa898be9a.

* also unnecessary now

* buh

* comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-07-25 21:23:23 -04:00
GitHub set-date Action 22f4a5eb93 Update date 2021-07-26 01:03:56 +00:00
Matthew Kennedy bd599ab374
cleanup for pch (#3062)
* cleanup

* d
2021-07-25 20:43:02 -04:00
Matthew Kennedy f6095b8339
fix nonlinear correction threshold (#3060)
* s

* macro

* test has to do the inverse
2021-07-25 20:42:26 -04:00
rusefi 07c3cc09d4 Red test mule cranking to idling is weird #3050 2021-07-24 23:25:00 -04:00
GitHub set-date Action a6efc08614 Update date 2021-07-25 00:59:22 +00:00
Andrey 2e3f37a771 Clutch switch inverted options do not invert detected pedal position
#3044
2021-07-24 19:32:50 -04:00
GitHub build-firmware Action e07c7d30aa Auto-generated configs and docs 2021-07-24 23:25:25 +00:00
GitHub build-firmware Action 995f76e95b Auto-generated configs and docs 2021-07-24 23:14:07 +00:00
Andrey eaeade5305 Clutch switch inverted options do not invert detected pedal position
#3044
2021-07-24 18:59:00 -04:00
Andrey 37247db383 Clutch switch inverted options do not invert detected pedal position
#3044
2021-07-24 18:44:13 -04:00
Matthew Kennedy 617c2886d9
adjust taper behavior (#3051)
* adjust taper behavior

* check that taper works in running state too
2021-07-24 16:12:07 -04:00
rusefillc ca34562d5d Clutch switch inverted options do not invert detected pedal position #3044 2021-07-24 15:54:51 -04:00
rusefillc 9c166d86fe Clutch switch inverted options do not invert detected pedal position #3044 2021-07-24 15:36:03 -04:00
GitHub build-firmware Action 21facbf590 Auto-generated configs and docs 2021-07-24 17:28:25 +00:00
GitHub build-firmware Action 005307c3d1 Auto-generated configs and docs 2021-07-24 16:53:52 +00:00
rusefi ee1426387b Red test mule cranking to idling is weird #3050 2021-07-24 11:56:29 -04:00
rusefillc 2cc0272047 Rename "2 wire wasted" in TS ignition settings fix #3048 2021-07-24 10:59:26 -04:00
GitHub build-firmware Action 0ea66782fb Auto-generated configs and docs 2021-07-24 14:52:07 +00:00
GitHub set-date Action d52c6d12ce Update date 2021-07-24 00:57:36 +00:00
rusefillc 23842bf143
safer NB2 progress (#3041)
* safer NB2 progress

* one step back
2021-07-23 16:43:24 -04:00
GitHub build-firmware Action a59179396f Auto-generated configs and docs 2021-07-23 13:22:21 +00:00
GitHub build-firmware Action c0bd6985c6 Auto-generated configs and docs 2021-07-23 12:40:28 +00:00
Matthew Kennedy 2368e90ae7
dead (#3016) 2021-07-23 08:31:23 -04:00
GitHub set-date Action 774e0525e3 Update date 2021-07-23 00:58:11 +00:00
rusefillc 4ae72f43f6 "prettyClose": some strange code inside idle controller? #3030 2021-07-22 15:30:32 -04:00
Andrey 0fc74038c0 Merge remote-tracking branch 'origin/master' 2021-07-22 01:12:31 -04:00
Andrey 6fc693aea2 VVT position of first cam is off on first cycle fix #2987 2021-07-22 01:02:37 -04:00
GitHub build-firmware Action a94ac9a826 Auto-generated configs and docs 2021-07-22 04:20:26 +00:00
Andrey 8b5dde5a8f trailing spark outputs fix #2931 2021-07-22 00:01:54 -04:00
Matthew Kennedy 76924be3d1
not setValue (#3026) 2021-07-21 23:36:46 -04:00
Andrey 24cfbeba35 Nissan VVT trigger decoder #2887 2021-07-21 23:08:56 -04:00
Andrey 2c7761801a VVT C++ magic - helping Kinetis 2021-07-21 23:06:35 -04:00
Andrey 41cd36b79e VVT C++ magic - helping Kinetis 2021-07-21 22:38:00 -04:00
Andrey 5ae7dcfaa0 VVT C++ magic 2021-07-21 22:28:35 -04:00
Andrey 867e618b84 VVT C++ magic 2021-07-21 22:21:59 -04:00
Andrey b6a5f777e6 VVT C++ magic 2021-07-21 22:14:21 -04:00
rusefi 07accb4ff5 VVT verbose fix 2021-07-21 21:35:26 -04:00
GitHub set-date Action cf4e45bbcb Update date 2021-07-22 01:20:37 +00:00
Andrey 2ec8c3090f trailing spark outputs #2931 2021-07-21 20:51:51 -04:00
GitHub build-firmware Action 018d018b68 Auto-generated configs and docs 2021-07-22 00:30:24 +00:00
GitHub build-firmware Action 544d39baa6 Auto-generated configs and docs 2021-07-22 00:20:12 +00:00
Matthew Kennedy d520d12490
adjust nb2 vvt sync (#3019)
* test existing implementation

* nb2 vvt pattern sync

* update test
2021-07-21 20:07:28 -04:00
Andrey a8afb6eb85 trailing spark outputs #2931 2021-07-21 19:55:14 -04:00
GitHub build-firmware Action bd8488594f Auto-generated configs and docs 2021-07-21 23:40:30 +00:00
Andrey f2cb242090 simplify quad vvt test #3018
better parameter name and explicit constraint clarification
2021-07-21 17:45:35 -04:00
GitHub build-firmware Action 0a3e20c2e5 Auto-generated configs and docs 2021-07-21 18:33:41 +00:00
GitHub build-firmware Action 1ddf2e2226 Auto-generated configs and docs 2021-07-21 03:28:30 +00:00
Matthew Kennedy 6f80bc72ae
fan indicators + test buttons (#3002)
* sd bits

* rusefi.input

* second fan bit

* fans
2021-07-20 23:26:06 -04:00
GitHub build-firmware Action 179ecb3f48 Auto-generated configs and docs 2021-07-21 02:11:53 +00:00
GitHub build-firmware Action 837baf0a0f Auto-generated configs and docs 2021-07-21 01:26:07 +00:00
Andrey 643aa672e4 VH41DE (Japaneese Y32 Variant) firing order 2021-07-20 21:16:51 -04:00
Andrey 6d958826c7 Nissan 360 CAS #3003
docs
2021-07-20 21:11:08 -04:00
GitHub set-date Action 85bc8f6f49 Update date 2021-07-21 01:04:42 +00:00
GitHub build-firmware Action efb83b26ea Auto-generated configs and docs 2021-07-21 00:56:16 +00:00
GitHub build-firmware Action 12bb9af50f Auto-generated configs and docs 2021-07-20 23:54:04 +00:00
Matthew Kennedy e2a01b4c3e
force init LEDs even with fatal (#2998) 2021-07-20 17:09:52 -04:00
Andrey 44d7c3605c Button to apply nDBANK #2996
docs
2021-07-20 14:23:57 -04:00
GitHub build-firmware Action f39be3b69e Auto-generated configs and docs 2021-07-20 17:47:01 +00:00
GitHub build-firmware Action 4bf16a9dda Auto-generated configs and docs 2021-07-20 17:33:15 +00:00
GitHub build-firmware Action f0b8f6d09d Auto-generated configs and docs 2021-07-20 17:23:21 +00:00
Andrey c93e7e7d3a Button to apply nDBANK #2996 2021-07-20 13:20:34 -04:00
GitHub build-firmware Action c5a7e43ab4 Auto-generated configs and docs 2021-07-20 16:00:12 +00:00
GitHub build-firmware Action 7c579ea442 Auto-generated configs and docs 2021-07-20 15:47:05 +00:00
GitHub build-firmware Action 26957b71ba Auto-generated configs and docs 2021-07-20 13:08:53 +00:00
GitHub set-date Action 73ac4d96e4 Update date 2021-07-20 01:01:30 +00:00
GitHub build-firmware Action d7d9400e66 Auto-generated configs and docs 2021-07-19 04:14:47 +00:00
GitHub set-date Action bb662f6bb1 Update date 2021-07-19 00:58:09 +00:00
GitHub build-firmware Action 3bf0a86de7 Auto-generated configs and docs 2021-07-18 19:05:21 +00:00
GitHub build-firmware Action fe1717dcb3 Auto-generated configs and docs 2021-07-18 16:23:29 +00:00
Matthew Kennedy 5f3464b204
Fix prepareEventAngles for symmetrical crank triggers (#2982)
* fix and make code legible

* update test to check every tooth

* symmetrical crank

* simplify findTriggerPosition

* make getAngle intelligable
2021-07-17 23:27:20 -04:00
GitHub build-firmware Action c1781214eb Auto-generated configs and docs 2021-07-18 01:44:23 +00:00
GitHub set-date Action 2a0c0bbf21 Update date 2021-07-18 00:59:01 +00:00
Andrey 9345e5d2e0 NB2 trigger shape does not seem to match JimStim #2980
only first steps of unit test
2021-07-17 17:47:32 -04:00
GitHub build-firmware Action a1791836b9 Auto-generated configs and docs 2021-07-17 20:15:27 +00:00
rusefillc 599943cf26 NB2 trigger shape does not seem to match JimStim #2980 2021-07-17 16:12:54 -04:00
rusefillc aee2ed4ba4 New hardware testing commands #2978 2021-07-17 13:42:10 -04:00
GitHub build-firmware Action f90abd50bb Auto-generated configs and docs 2021-07-17 16:00:18 +00:00
GitHub build-firmware Action 2376c3561a Auto-generated configs and docs 2021-07-17 06:14:25 +00:00
rusefillc 6da3310d97 kaiju is asking for vq30de trigger wheel decoder #2974 2021-07-17 02:03:55 -04:00
Andrey 180d7bc899 kaiju is asking for vq30de trigger wheel decoder #2974 2021-07-17 01:10:13 -04:00
Andrey ffe2fe3271 refactoring 2021-07-17 00:56:50 -04:00
Andrey d583c91a7a refactoring 2021-07-17 00:53:51 -04:00
GitHub build-firmware Action 4a0f9bebf6 Auto-generated configs and docs 2021-07-17 04:49:13 +00:00
Andrey d16d6dd58d kaiju is asking for vq30de trigger wheel decoder #2974 2021-07-17 00:46:39 -04:00
Andrey f54b3cd1b2 refactoring 2021-07-17 00:46:39 -04:00
Andrey df558303d3 kaiju is asking for vq30de trigger wheel decoder #2974 2021-07-17 00:27:56 -04:00
GitHub build-firmware Action 547230a356 Auto-generated configs and docs 2021-07-17 03:20:25 +00:00
GitHub set-date Action e3f45a9712 Update date 2021-07-17 00:56:21 +00:00
Matthew Kennedy 2ce7777865
don't require EXTERN_ENGINE in every file (#2969)
* move enginePins

* no more extern engine

* uses

* more

* extern config too

* put this where it belongs

* include correct header

* merge
2021-07-16 18:13:33 -04:00
Andrey f87d1c425e trigger signal debug pins - logic level output #2959 2021-07-16 17:18:03 -04:00
Andrey ee91af5c73 trigger signal debug pins - logic level output #2959 2021-07-16 16:42:26 -04:00
Matthew Kennedy b4126c8daa
send wbo heater enable bit, read it on wb (#2968)
* send heater bit, read it on wb

* b
2021-07-16 14:06:52 -04:00
Matthew Kennedy a62d6743bc
lua hooks for CAN tx (#2967)
* CanTxMessage usable from unit test

* testLuaReturnsNil

* CAN hook and tests

* it helps if parameter names exist

* nameless params

* s

* redefinition of default argument

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-07-16 14:06:26 -04:00
GitHub build-firmware Action a4ac9e53e4 Auto-generated configs and docs 2021-07-16 04:51:36 +00:00
Matthew Kennedy e830a99275
lua hooks for custom airmass model (#2697)
* lua airmass

* not const any more

* bad merge

* don't change the position of others

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-07-16 00:49:14 -04:00
GitHub set-date Action 50f93b1ca4 Update date 2021-07-16 00:57:59 +00:00
Andrey 70cc334eb2 trigger signal debug pins - logic level output #2959 2021-07-15 01:56:04 -04:00
Andrey 23be588af6 trigger signal debug pins - logic level output #2959 2021-07-15 01:28:44 -04:00
Andrey 7486f5f040 trigger signal debug pins - logic level output #2959 2021-07-15 00:34:22 -04:00
Andrey 2569b85b65 making code more testable 2021-07-15 00:25:41 -04:00
rusefillc b65c4b5612 trigger signal debug pins - logic level output #2959 2021-07-15 00:03:31 -04:00
Andrey a926357a01 making code more testable 2021-07-14 22:37:05 -04:00
Andrey 70872c8bf4 trigger signal debug pins - logic level output #2959 2021-07-14 22:35:29 -04:00
rusefi 92dee23061 FATAL on NB2 tune jim stim input signal fix #2965 2021-07-14 21:18:05 -04:00
GitHub set-date Action b6f76b046b Update date 2021-07-15 00:57:58 +00:00
rusefi 7945faa93a FATAL on NB2 tune jim stim input signal #2965 2021-07-14 17:45:54 -04:00
Andrey 2442d8f2d8 FATAL on NB2 tune jim stim input signal #2965 2021-07-14 16:05:53 -04:00
Andrey e1c41ff798 FATAL on NB2 tune jim stim input signal #2965 2021-07-14 16:03:00 -04:00
rusefi 173d98337c each byte counts 2021-07-14 13:15:15 -04:00
GitHub build-firmware Action e80cd6481e Auto-generated configs and docs 2021-07-14 03:05:35 +00:00
GitHub build-firmware Action f831eb20aa Auto-generated configs and docs 2021-07-14 02:26:17 +00:00
GitHub set-date Action 8c8d9cf7c0 Update date 2021-07-14 00:53:37 +00:00
Andrey bb9835fe58 trigger signal debug pins - logic level output #2959 2021-07-13 20:33:27 -04:00
Andrey 994230be65 trigger signal debug pins - logic level output #2959 2021-07-13 20:15:55 -04:00
GitHub build-firmware Action ebeb4f5d92 Auto-generated configs and docs 2021-07-13 23:54:45 +00:00
Andrey f028c4d727 trigger signal debug pins - logic level output #2959 2021-07-13 18:16:32 -04:00
GitHub build-firmware Action a2a4a676bb Auto-generated configs and docs 2021-07-13 19:19:10 +00:00
rusefillc 090725d273 reducing warnings 2021-07-13 14:50:10 -04:00
GitHub build-firmware Action f666214eab Auto-generated configs and docs 2021-07-13 18:37:37 +00:00
rusefi 9f93f7514a CAN docs 2021-07-13 11:55:31 -04:00
Andrey 61ddbef624 fix vvt indication #2926 2021-07-13 10:53:36 -04:00
Matthew Kennedy e3ed413e06
send voltage and heater enable to WBO controller (#2956)
* add info send function

* fatal if CAN not configured correctly

* build

* s

* 20hz

* update wideband firmware

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-07-13 07:32:41 -04:00
GitHub build-firmware Action dd095404bc Auto-generated configs and docs 2021-07-13 02:31:08 +00:00
Andrey 813fe94ac2 progress - reducing code duplication 2021-07-12 21:31:40 -04:00
Andrey 6a8e5d23b0 vvt input but no mode should be a fatal #2955
a bit of a relevant improvement?
2021-07-12 21:25:39 -04:00
Andrey d6e4c8281d progress - reducing code duplication 2021-07-12 21:22:20 -04:00
GitHub build-firmware Action 83c395e2a2 Auto-generated configs and docs 2021-07-13 01:15:37 +00:00
GitHub build-firmware Action 45f060f260 Auto-generated configs and docs 2021-07-12 21:00:48 +00:00
Matthew Kennedy aef0732509
fix vvt indication (#2926)
* wrap logic

* rename gauges

* names and ranges

* binary log

* we actually don't need that warning

* values auto wrap

* values auto wrap

* bye warnings

* comparison
2021-07-12 16:29:07 -04:00
GitHub set-date Action cd909f0eec Update date 2021-07-12 00:55:47 +00:00
GitHub set-date Action c02214f6c5 Update date 2021-07-11 01:01:43 +00:00
Matthew Kennedy 7302e5faca
update wideband again because it didn't work last time (#2941)
* wideband

* image again

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-07-10 08:00:21 -04:00
GitHub set-date Action 64ea4aabac Update date 2021-07-10 00:55:52 +00:00
Matthew Kennedy 64177cf899
put names in flash (#2939)
* put names in flash

* probing freed ram

* this one too

* probing memory

* more like that much
2021-07-09 17:05:16 -04:00
Matthew Kennedy 7a21f7fbc0
inject (#2938) 2021-07-09 17:02:25 -04:00
Matthew Kennedy e00c7d0b98
trailing coils (#2937)
* gpio wiring

* plumbing
2021-07-09 15:51:30 -04:00
Andrey b9c5583477 RX8 wants all the RAM 2021-07-09 15:51:16 -04:00
Andrey 02d002f081 random progress 2021-07-09 14:43:58 -04:00
rusefillc 70fd233740 random progress 2021-07-09 14:27:10 -04:00
GitHub build-firmware Action fc8cc96250 Auto-generated configs and docs 2021-07-09 17:19:11 +00:00
GitHub build-firmware Action eb63aca13b Auto-generated configs and docs 2021-07-09 15:53:39 +00:00
Andrey b8857f5ba8 trailing spark outputs #2931 2021-07-09 10:14:00 -04:00
GitHub build-firmware Action 06c630165a Auto-generated configs and docs 2021-07-09 14:09:27 +00:00
GitHub build-firmware Action 1ed7e7757c Auto-generated configs and docs 2021-07-09 12:40:06 +00:00
Matthew Kennedy 86683afca2
trailing spark scheduling (#2932)
* enable bit

* implement trailing sparks

* test trailing spark

* it helps to call the correct function

* add pins

* gobblin ram
2021-07-09 08:37:46 -04:00
Matthew Kennedy dec1f1daff
wideband (#2934)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-07-09 01:54:02 -04:00
rusefi 6b25e220e6 VAG canned tunes 2021-07-09 01:53:09 -04:00
GitHub build-firmware Action 9326e63685 Auto-generated configs and docs 2021-07-09 05:14:21 +00:00
GitHub build-firmware Action 1abf933213 Auto-generated configs and docs 2021-07-09 04:47:44 +00:00
GitHub set-date Action acd359ea86 Update date 2021-07-09 00:57:46 +00:00
GitHub build-firmware Action 505b2bc60a Auto-generated configs and docs 2021-07-09 00:52:18 +00:00
Andrey 3d0ba4af5c VAG canned tunes 2021-07-08 20:42:35 -04:00
GitHub build-firmware Action ecfcd935ac Auto-generated configs and docs 2021-07-09 00:09:07 +00:00
GitHub build-firmware Action 4669662435 Auto-generated configs and docs 2021-07-08 23:57:16 +00:00
GitHub build-firmware Action 501778fb6f Auto-generated configs and docs 2021-07-08 23:24:35 +00:00
rusefillc c229aeb46c
mobile browser coding 2021-07-08 18:09:03 -04:00
GitHub build-firmware Action a2c4b57822 Auto-generated configs and docs 2021-07-08 20:44:58 +00:00
rusefi 4ead86c521 VAG canned tunes 2021-07-08 16:35:58 -04:00
GitHub build-firmware Action 8c5e33a88b Auto-generated configs and docs 2021-07-08 13:42:46 +00:00
GitHub build-firmware Action a12c1f6756 Auto-generated configs and docs 2021-07-08 04:08:31 +00:00
GitHub build-firmware Action fd6cfe7965 Auto-generated configs and docs 2021-07-08 03:49:03 +00:00
Matthew Kennedy d10ba3ddfa
injector nonlinearity (#2916)
* nonlinear polynomial

* make existing tests work again

* test that nonlinearity is called

* s

* fix enum

* ui

* fix and test

* comment

* changeloggy
2021-07-07 23:46:44 -04:00
GitHub set-date Action 7917ff86f0 Update date 2021-07-08 00:55:35 +00:00
GitHub build-firmware Action 6a8a3131f7 Auto-generated configs and docs 2021-07-07 12:40:27 +00:00
Matthew Kennedy 9377a01aec
store cylinder count as plain number (#2915)
* update test framework

* eh

* hey look it's fewer warnings

* unwind

* fix

* config

* configs

* logic

* even java had some

* no need to be a typedef

* paste in actual cylinder count
2021-07-07 08:31:05 -04:00
Andrey 4f0210fcda Gather Nissan CAN data #2278 2021-07-06 23:12:03 -04:00
Andrey f0939aa752 Gather Nissan CAN data #2278 2021-07-06 22:47:06 -04:00
Matthew Kennedy 5e08907590
knock sensing peak detect (#2910)
* knock peak detect

* comments

* comment

* initialize

* test

* fix warnings while we're here

* those are functions, not values

* ram
2021-07-06 21:44:59 -04:00
GitHub set-date Action df98194106 Update date 2021-07-07 01:19:30 +00:00
GitHub build-firmware Action 79342bf3ea Auto-generated configs and docs 2021-07-07 00:57:01 +00:00
Matthew Kennedy 2eb0b2a631
Unified cyl count macro (#2914)
* update test framework

* eh

* hey look it's fewer warnings

* unwind

* fix

* config

* configs

* logic

* even java had some

* console needs help
2021-07-06 20:14:08 -04:00
Andrey aabdea4140 Option to log VVT target #2913 2021-07-06 20:00:53 -04:00
Matthew Kennedy 5bd3ae3aaa
Disable closed loop idle during cranking->running taper (#2900)
* implement

* dead file?

* implement tests

* new phase
2021-07-06 08:47:06 -04:00
Matthew Kennedy 188bf9bd57
hellen 128 defaults (#2912)
* all the pins

* s

* ign
2021-07-06 01:03:07 -04:00
Andrey f92bf80e3f reducing code duplication 2021-07-06 00:09:35 -04:00
Andrey 8e30c513da unit tests pass on Linux fail on Windows fix #2902
reducing code duplication
2021-07-05 23:51:13 -04:00
Andrey 9fb7e39864 Nissan VVT trigger decoder #2887 2021-07-05 23:39:39 -04:00
Andrey 70424ac7b5 Nissan VVT trigger decoder #2887
another bug - improper handling of three-times-symmetrical
2021-07-05 23:15:44 -04:00
Andrey 293bf45763 refactoring - reusing magic constant 2021-07-05 23:07:36 -04:00
Andrey cf2e2a6451 Nissan VVT trigger decoder #2887
that looks like one bug
2021-07-05 22:44:20 -04:00
Andrey 1b174bd4b3 Nissan VVT trigger decoder #2887
that's all very strange
2021-07-05 22:17:26 -04:00
Andrey 064c1612e3 restore testQuadCam #2911 2021-07-05 21:04:09 -04:00
rusefi de63a5cd17 Nissan progress!!! 2021-07-05 20:29:49 -04:00
GitHub build-firmware Action beb7df086b Auto-generated configs and docs 2021-07-05 23:56:24 +00:00
GitHub build-firmware Action 1d39be13ea Auto-generated configs and docs 2021-07-05 23:08:29 +00:00
Andrey c2fafbb695 Nissan 2021-07-05 18:43:39 -04:00
rusefillc f498524611 Nissan 2021-07-05 18:38:34 -04:00
rusefillc 9814264bdf Nissan 2021-07-05 18:37:53 -04:00
Matthew Kennedy 43e6cef77d
more graceful chibios assertion failure (#2859)
* no custom assert hook

* dead

* setjmp/longjmp

* always call tid hook

* tests get threadid

* simulator threadid

* kick

* stubs for kinetis

* make it happier

* noreturn

* oops

* comments

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-07-05 18:18:58 -04:00
GitHub build-firmware Action 698aff7701 Auto-generated configs and docs 2021-07-05 22:08:39 +00:00
rusefi cc207153be Nissan 2021-07-05 17:58:31 -04:00
rusefi 0393b038db Nissan 2021-07-05 17:57:25 -04:00
GitHub set-date Action 78edc0ce79 Update date 2021-07-05 00:54:44 +00:00
Andrey G 0afd3c83df
Fix swap macro (#2904)
* convert swap macroses to inline functions

* clean-up workarounds
2021-07-04 18:03:17 -04:00
GitHub build-firmware Action 6e756c744f Auto-generated configs and docs 2021-07-04 13:37:12 +00:00
Matthew Kennedy 007a390f2b
Gate closed loop idle on road speed (#2901)
* implement

* test

* b

* config
2021-07-04 09:35:12 -04:00
GitHub build-firmware Action 90e43040c7 Auto-generated configs and docs 2021-07-04 13:25:09 +00:00
Matthew Kennedy 142e44d82b
misc (#2899)
* dead fields

* defaults

* ui

* configs
2021-07-04 09:22:42 -04:00
GitHub build-firmware Action 627825b3f0 Auto-generated configs and docs 2021-07-04 04:34:53 +00:00
GitHub build-firmware Action 6009c0031f Auto-generated configs and docs 2021-07-04 04:11:05 +00:00
GitHub build-firmware Action fc06485f3b Auto-generated configs and docs 2021-07-04 03:49:47 +00:00
GitHub build-firmware Action 6f60a61652 Auto-generated configs and docs 2021-07-04 01:26:21 +00:00