Commit Graph

4312 Commits

Author SHA1 Message Date
GitHub set-date Action e25f35ce5f Update date 2020-07-01 00:29:54 +00:00
GitHub build-firmware Action 22023ef204 Auto-generated configs and docs 2020-06-30 19:19:48 +00:00
GitHub build-firmware Action 4c2bfdc2df Auto-generated configs and docs 2020-06-30 19:10:53 +00:00
GitHub build-firmware Action 8ebb3dd14b Auto-generated configs and docs 2020-06-30 01:46:18 +00:00
GitHub set-date Action 1e18007d23 Update date 2020-06-30 00:24:08 +00:00
GitHub set-date Action 164163023a Update date 2020-06-29 00:24:32 +00:00
GitHub build-firmware Action 6ff6aada88 Auto-generated configs and docs 2020-06-28 17:41:36 +00:00
GitHub build-firmware Action 898f03bb4c Auto-generated configs and docs 2020-06-28 16:16:05 +00:00
GitHub build-firmware Action 4b1692f678 Auto-generated configs and docs 2020-06-28 15:10:06 +00:00
GitHub build-firmware Action 6beab78f77 Auto-generated configs and docs 2020-06-28 14:29:55 +00:00
GitHub build-firmware Action d555d2bb3d Auto-generated configs and docs 2020-06-28 14:15:19 +00:00
GitHub build-firmware Action de55bc01dd Auto-generated configs and docs 2020-06-28 14:12:01 +00:00
GitHub build-firmware Action c38bdcd570 Auto-generated configs and docs 2020-06-28 14:07:49 +00:00
GitHub build-firmware Action 09763d3727 Auto-generated configs and docs 2020-06-28 14:03:26 +00:00
GitHub set-date Action cab09cffb8 Update date 2020-06-28 00:24:51 +00:00
GitHub set-date Action f0f1315f82 Update date 2020-06-27 00:23:55 +00:00
Matthew Kennedy cf624a7ab1 support 1-3-2 firing order (#1537)
* support 1-3-2

* oops

* correct TS

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-06-26 09:07:43 -04:00
rusefi 83492195c0 stefanst's feedback regarding FSIO 2020-06-26 00:47:58 -04:00
GitHub set-date Action dd0580ae42 Update date 2020-06-26 00:24:11 +00:00
GitHub set-date Action 082d61fe7c Update date 2020-06-25 00:23:33 +00:00
GitHub set-date Action aec447da0e Update date 2020-06-24 00:23:34 +00:00
GitHub set-date Action e8c998feb7 Update date 2020-06-23 00:23:14 +00:00
rusefi 195bd00c14 reducing confusion 2020-06-21 22:12:06 -04:00
GitHub set-date Action 55509095ef Update date 2020-06-22 00:23:47 +00:00
GitHub set-date Action 2c3f3de28c Update date 2020-06-21 00:24:26 +00:00
kon 5f639f1485 Added time message to cluster (#1524)
* second can bus, first steps

* added most important messages; no more errors

* cleaned up can messages

* second can bus, first steps

* added most important messages; no more errors

* cleaned up can messages

* post rebase/merge fixes

* more rebase/merge fixes

* even more rebase/merge fixes

* more fixes, removed auto-gen files

* removed more auto-gen files...

* pulled fix from upstream

* added RTC date/time message to cluster

* forgot to set boolean....
2020-06-20 08:11:21 -04:00
GitHub set-date Action 09c6133f8b Update date 2020-06-20 00:23:07 +00:00
rusefi 9fcdcf25d4 BUG? handleCrc32Check does not use 'offset' parameter #1429 2020-06-19 00:17:05 -04:00
rusefi eb3ff73c29 1 byte issue in TuneReadWriteTest fix #1512 2020-06-18 23:29:08 -04:00
GitHub set-date Action 6e0b726236 Update date 2020-06-19 00:23:33 +00:00
Matthew Kennedy aba153b814 simplify cranking corrections (#1510) 2020-06-18 08:54:02 -04:00
GitHub set-date Action 9a806e343a Update date 2020-06-18 00:23:46 +00:00
rusefi 2c83db49fb restoring ldmp 2020-06-17 19:03:10 -04:00
Matthew Kennedy 531f1c63c7 fuel math simplifications (#1485)
* simplify

* fix

* tweak

* cleaning

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-06-17 17:15:04 -04:00
David Holdeman 4a43b0a29f Workflow to write the date, once a day (#1504)
* Add date workflow

* add files

* use VCS_DATE in engine controller

* initial values

* switched to using one file

* moved to controllers

* Add comment and fix cron entry

* add pragma once

* Add more comments
2020-06-17 12:59:57 -04:00
rusefi 546344c78a nope, unit tests did not just fix themselves 2020-06-17 08:42:37 -04:00
Matthew Kennedy 29d124ace3 spinwait for events in the near future (#1491)
* add spinwait

* simplify and reduce lateDelay

* maybe probably fix tests

* comments

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-06-16 22:13:42 -04:00
Matthew Kennedy c46a6e5c0e only setup etb if primary sensor configured instead of proxy (#1489)
* only setup etb if primary sensor configured instead of proxy

* fix test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-06-16 21:38:09 -04:00
rusefi f868803524 Trigger decoding issues (60-2) #1488
100us is too much, 10us is more reasonable
2020-06-15 00:12:50 -04:00
rusefi d68d6cc8ef Trigger decoding issues (60-2) #1488
interesting stuff potentially with a not so great setting
2020-06-14 23:41:39 -04:00
rusefi 943388a27b Trigger decoding issues (60-2) #1488
very mild refactoring - better names & moving initializers
2020-06-14 23:34:45 -04:00
rusefi 76d3dbe22c fixing stuff? 2020-06-14 18:06:33 -04:00
rusefi 015832e116 manual gen 2020-06-14 17:01:05 -04:00
kon 9af150bd41 BMW E90 Kombi (#1494)
* second can bus, first steps

* added most important messages; no more errors

* cleaned up can messages

* second can bus, first steps

* added most important messages; no more errors

* cleaned up can messages

* post rebase/merge fixes

* more rebase/merge fixes

* even more rebase/merge fixes

* more fixes, removed auto-gen files

* removed more auto-gen files...
2020-06-14 16:59:43 -04:00
rusefi ff8f0731fd a few unneeded properties 2020-06-13 22:46:10 -04:00
rusefi 68773c0a67 unused parameter 2020-06-13 22:30:43 -04:00
rusefi 152fa17990 warning LED is for warnings only, communications have to reflected by COMMS LED 2020-06-13 13:23:34 -04:00
Matthew Kennedy db29a3523a Fix gppwm properly (#1487)
* directly control output in onoff mode

* test fixing
2020-06-11 20:43:26 -04:00
Matthew Kennedy 2525a9a22c Factor out airmass logic (#1483)
* refactor

* extract more airmass

* rename, fix tests
2020-06-06 07:25:19 -04:00
rusefi b27583a2eb better solution 2020-06-05 00:43:05 -04:00
rusefi cbfdd37243 tuneCrc16 - we use it to match logs to tunes 2020-06-04 20:43:52 -04:00
Matthew Kennedy 9ecb0a4e55 refactor (#1481) 2020-06-03 21:12:12 -04:00
Matthew Kennedy f47bf56429 dead (#1480) 2020-06-02 19:21:48 -04:00
rusefi a743b55e5e index for fsio_analog_input 2020-06-01 22:39:56 -04:00
rusefi 0847dc4683 useFSIO6ForRevLimiter 2020-06-01 09:09:55 -04:00
rusefi ad0c6355bb docs 2020-06-01 08:50:54 -04:00
rusefi 7dae94fce5 Fresh generated - auto 2020-06-01 07:19:23 -04:00
Matthew Kennedy d0e5b8674f Integrate stft (#1475)
* code changes

* missed a spot

* update UI

* gauge name

* adjust gauge scaling

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-31 16:59:05 -04:00
rusefi 4aaa670bc5 refactornig & new console command 2020-05-31 14:15:18 -04:00
rusefi 45c2c49a19 [Feature Request] Transmission Control #1454 2020-05-29 23:05:16 -04:00
Matthew Kennedy c95ed26d89 Remove old thermistor implementation (#1458)
* remove test clt/iat

* remove warning since this code is nearly dead

* remove old therm impl

* tests & live doc

* not quite right
2020-05-28 17:51:33 -04:00
Matthew Kennedy d13bd0b77c Hardware pwm (#1283)
* hard pwm

* fix, comments

* PC6-9 and PD12-15

* PB6-9

* dynamic frequency

* f7 mcuconf

* format

* relocate to common, support variable frequency

* error handling

* oops

* fix test build

* noop kinetis

* better guards

* guard for bl

* guards don't work if they have typos

* more mapping

* oops

* don't use for slow pwm

* enable pwm

* guard properly

* save a little memory

* use less mem

* correct timers

* all your ram are belong to us

* update limit & comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-28 16:02:41 -04:00
Matthew Kennedy 38cb254de3 remove maf2map mode (#1474)
* remove

* remove fully

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-28 14:06:18 -04:00
rusefi 7d8236a6b3 composite log for console 2020-05-26 00:07:18 -04:00
rusefi 804f4b9db5 better file name 2020-05-25 13:02:05 -04:00
rusefi 56c9d3ac40 proteus v12 progress 2020-05-24 13:27:14 -04:00
Matthew Kennedy 45e03262d0 Redundant accelerator pedal (#1470)
* add second boudns

* init logic

* test changes

* reconfigure correctly

* rams
2020-05-23 19:48:32 -04:00
rusefi 5d39e3e088 partial rollback 2020-05-23 19:17:15 -04:00
rusefi 6f5592ed2a partial rollback 2020-05-23 18:11:04 -04:00
rusefi 44b4c4bf25 partial rollback 2020-05-23 18:01:40 -04:00
rusefi d75a50fde5 partial rollback 2020-05-23 18:00:20 -04:00
rusefi b2f12cd55a partial rollback 2020-05-23 16:24:26 -04:00
Matthew Kennedy a2313a853c switch some firmware warnings to errors (#1465)
* warnings as errors

* throw instead of exit

* test massaging

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-23 10:46:28 -04:00
Matthew Kennedy 00aa06a6b5 as suggested by the comment, this doesn't need a warning (#1464)
* the comment is correct

* format
2020-05-23 00:40:20 -04:00
rusefi 6453e891e6 "TLE8888 SR Unexpected response" does not work as intended fix #1466 2020-05-22 22:56:19 -04:00
rusefi ae60a3e1b8 code style 2020-05-22 18:07:19 -04:00
rusefi e063aa492a build and board info into critical error message 2020-05-22 16:45:13 -04:00
rusefi 714979586b refactoring 2020-05-22 16:36:37 -04:00
rusefi ef66c84d77 date 2020-05-22 13:30:14 -04:00
rusefi 5e202930f4 pre-sets progress 2020-05-22 13:12:16 -04:00
rusefi 19bef7870c fixing build 2020-05-22 01:03:27 -04:00
rusefi 74ede6db64 would this help? 2020-05-22 00:25:48 -04:00
rusefi 6da2edfe94 would this work? 2020-05-22 00:00:16 -04:00
rusefi 9dee72cf3e progress 2020-05-21 22:33:48 -04:00
rusefi 8b00823a0f HW test progress 2020-05-21 21:45:01 -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
rusefi a390ec744e no comments 2020-05-21 18:28:35 -04:00
Matthew Kennedy 0a278375fd Binary logging to SD (#1461)
* binary log

* remove old text logging

* change file extension

* just use a bare buffer

* more mem :(

* double ugh

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-21 15:52:58 -04:00
Matthew Kennedy 441fe43dab warnings (#1462)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-21 01:08:07 -04:00
rusefi 76f3fdbc1c Fresh generated - auto 2020-05-20 22:26:49 -04:00
rusefi 60835c4269 HW_CHECK_MODE 2020-05-20 22:15:47 -04:00
rusefi 9b1082f187 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	firmware/config/boards/kinetis/config/controllers/algo/auto_generated_enums.cpp
2020-05-20 21:22:46 -04:00
rusefi a2648c4d52 WBO 2020-05-20 19:01:55 -04:00
rusefi 8128ed1290 Fresh generated - auto 2020-05-20 11:24:49 -04:00
rusefi f0bd4f033d progress 2020-05-20 09:16:26 -04:00
rusefi 19a8500a43 Clean-up analog channels in "unit" tests fix #1456 2020-05-20 08:55:38 -04:00
Matthew Kennedy c5bba14da5 remove test clt/iat (#1457)
* remove test clt/iat

* remove warning since this code is nearly dead
2020-05-20 03:16:01 -04:00
rusefi ba8600307f [Feature Request] Transmission Control #1454 2020-05-20 01:05:15 -04:00
rusefi 08f395a608 fresh enums 2020-05-20 00:56:16 -04:00
Matthew Kennedy ce2beafb5f Redundant tps (#1427)
* add redundant sensor

* add tests

* add configure, info printing

* tests

* tests

* partial hookup

* fix

* fix

* bad makefile merge

* use second TPS config

* update test

* update test

* sensor names

* set second pin by default

* fix auto cal

* auto cal both sensors

* add reconfigure of secondary sensors

* gobblin' up your ram

* slow down write a little bit

* put split in debug gauge

* s

Co-authored-by: Matthew Kennedy <matthew@mck-mbp-15.local>
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-18 14:32:00 -04:00
rusefi 56faab272f hard-coding NB2 OEM sensor 2020-05-18 01:39:41 -04:00
rusefi aaf15e0fae something too special with Kinetis? 2020-05-18 01:25:10 -04:00
rusefi 9d535f4ce6 reducing magic constant copy/paste & MAP dialog progress 2020-05-18 01:15:13 -04:00
Matthew Kennedy e6e48ce66c binary logging (#1443)
* field support

* tests

* makefiles

* test data too

* missing include dir

* write correct thing

* fix one test

* fix test

* omnomnomnom ram

* format

* use defined names

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-17 15:56:37 -04:00
Matthew Kennedy 6d4924e85a dead datalog code (#1439)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-16 00:11:52 -04:00
rusefi 8253f5b931 better VVT progress 2020-05-15 21:33:25 -04:00
rusefi 4605259d9c VVT progress 2020-05-15 21:10:15 -04:00
rusefi 0aa37ef0f2 docs 2020-05-15 18:08:11 -04:00
dron0gus aa9def4a99 Minor fixes (#1437)
* cmpilation warning cleanup

* exti trigger: mark pins used, handle errors
2020-05-15 18:03:18 -04:00
rusefi 11b66a6713 toyota 2jz progress 2020-05-15 16:35:18 -04:00
rusefi 03a632f3a7 VVT_INACTIVE 2020-05-14 23:13:32 -04:00
dron0gus 624ed955db triggers: add Subaru SVX trigger (3 sensors) (#1433) 2020-05-14 20:40:47 -04:00
dron0gus 425d1a2554 smart gpios: remove dead code (#1432) 2020-05-14 16:15:55 -04:00
Matthew Kennedy 7a41df6153 Fix 100% duty injection (#1431)
* skip turn-off for high duty

* mock executor injection

* test

* switch to hard cut

* test no longer relevant
2020-05-14 07:44:32 -04:00
rusefi c47a0c3125 SD card for MRE 2020-05-13 23:26:28 -04:00
rusefi 632bedcf9c helping build 2020-05-13 19:41:10 -04:00
rusefi 36586c0243 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	firmware/controllers/engine_controller.cpp
2020-05-13 19:31:42 -04:00
rusefi 4adac49050 docs & helping master 2020-05-13 19:27:11 -04:00
rusefi f081c8eef4 new LED logic: constant WARNING if VBATT is below 7v 2020-05-13 01:52:27 -04:00
rusefi 5c91d96ce6 new LED logic: constant WARNING if VBATT is below 7v 2020-05-13 01:17:48 -04:00
rusefi d74f1c0951 lovely, yet another minor confusion 2020-05-13 01:16:05 -04:00
rusefi bdb93db70d https://github.com/rusefi/hw_microRusEfi/issues/157 2020-05-12 23:37:12 -04:00
rusefi a88b41a8d0 refactoring related to RED FATAL/CRITICAL LED is a bit dim when it should be OFF
#157
2020-05-11 18:22:51 -04:00
rusefi 7d4c86db9f https://www.youtube.com/watch?v=g7tYt_0NTs8 2020-05-11 12:57:19 -04:00
rusefi c71bc30149 https://www.youtube.com/watch?v=g7tYt_0NTs8 2020-05-11 12:45:34 -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
rusefi e37f737689 date 2020-05-11 00:59:55 -04:00
rusefi e9e79f8309 34-2 3 cam Toyota wheel progress 2020-05-10 18:10:50 -04:00
rusefi 2db29c7824 34-2 3 cam Toyota wheel progress 2020-05-10 18:03:11 -04:00
Matthew Kennedy 8a73c191bc configuration for secondary (redundant) TPS sensors (#1419)
* add new fields

* add tps 2 secondary

* sensible error detection limits

* UI mods

* grey out as appropriate

* defaults

* either it's unused or its not
2020-05-10 16:13:15 -04:00
rusefi 7471af9117 34-2 3 cam Toyota wheel progress 2020-05-10 15:22:50 -04:00
rusefi 7f88c6e78a 34-2 3 cam Toyota wheel progress 2020-05-10 11:54:21 -04:00
rusefi 907df2aa0a 34-2 3 cam Toyota wheel progress 2020-05-10 11:54:04 -04:00
rusefi 6fe2f7c38f mck1117:secondary-tps-config progress 2020-05-10 10:11:51 -04:00
rusefi 14b63774fb that's embarrassing 2020-05-10 02:36:01 -04:00
rusefi db8d11739d removing some unneeded flexibility 2020-05-10 01:34:43 -04:00
rusefi e4cfc39b68 docs & clean-up 2020-05-10 00:59:32 -04:00
rusefi 2f431d7079 34-2 3 cam Toyota wheel progress 2020-05-10 00:42:33 -04:00
rusefi 9c01614a46 34-2 3 cam Toyota wheel progress 2020-05-09 23:47:51 -04:00
rusefi 08cfcddeb4 manual date 2020-05-09 22:44:44 -04:00
rusefi 7fdb6ca2be rusEFI online engine crc 2020-05-09 22:43:39 -04:00
rusefi d79e404bec date&docs 2020-05-09 09:35:34 -04:00
rusefi bb8762ba76 Merge remote-tracking branch 'origin/master' 2020-05-09 09:34:36 -04:00
Matthew Kennedy 103a1693c8 fix gppwm on-off mode (#1406)
* fix

* put it back

* do it with PWM instead

* comments

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-09 09:25:45 -04:00
rusefi 0c95adad96 34-2 3 cam Toyota wheel 2020-05-09 01:51:04 -04:00
rusefi 94ca216936 nicer error messages 2020-05-09 01:49:17 -04:00
rusefi 452a579e8e 34-2 3 cam Toyota wheel progress 2020-05-09 01:15:55 -04:00
rusefi 19e917012d placing parts of confusion closer together 2020-05-09 00:47:11 -04:00
rusefi 61e852f0ae placing parts of confusion closer together 2020-05-09 00:43:28 -04:00
rusefi caa4a790f9 placing parts of confusion closer together 2020-05-09 00:16:48 -04:00
rusefi 74d5799626 refactoring: extracting magic constant 2020-05-08 22:05:44 -04:00
rusefi 9d2cbd682b helping build 2020-05-08 21:39:35 -04:00
dron0gus 35af083a6e idle thread: debug output for bipolar stepper (#1409) 2020-05-08 20:05:05 -04:00
Matthew Kennedy 424a86be7b short term fuel trim: part 2 (#1405)
* add tooltip

* add other direction to deadband

* add impl

* test partitioning

* makefile

* wrong comment

* fix include
2020-05-07 08:52:32 -04:00
rusefi 46a56f3799 Merge remote-tracking branch 'origin/master' 2020-05-07 00:56:22 -04:00
rusefi c0ce8b1b22 field useful for rusEFI online catalog 2020-05-07 00:55:59 -04:00
Matthew Kennedy 55159cae44 short term fuel trim: part 1 (#1402)
* add cell

* add stft cell tests

* add bit

* minimally generate

* config defaults
2020-05-06 21:00:40 -04:00
dron0gus 7007627b70 [SAFE] Debug cleanups (#1403)
* electronic throttle: inprove debug

* idle thread: show debug info for configured idle driver

* gpio-chips: make private functions static
2020-05-06 20:06:50 -04:00
Matthew Kennedy 5c84d95360 proteus -> exti (#1378)
* proteus -> exti

* do frankenso pal the same way

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-06 18:52:15 -04:00
rusefi 9d05182ae1 magic is around the corner 2020-05-06 14:00:08 -04:00
Matthew Kennedy 6f3736f246 Rewrite boost control in new closed loop framework (#1342)
* rewrite boost

* test

* fix build

* tests

* open loop test

* test closed loop

* fix names

* typo

* tests

* mock boost setOutput

* needs more virtual

* fix boost logic

* switch to TPS based open loop

* fix test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-06 08:40:42 -04:00
Matthew Kennedy 950ff9cb80 ETB auto-PID: auto set values in TS (#1400)
* switch to thread

* actually use default frequency define

* crank ADC too

* make space in RAM

* remove TS field

* this should work for test

* auto cal

* wire up bench testing

* auto gains too

* s

* fix

* rearrange a bit

* inject

* remove unused bit

* mock repair

* move

* add maintainconstantvalue

* add disable button

* cleaning

* move state inside

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-06 08:39:02 -04:00
Matthew Kennedy c75adfc97f doesn't need to pass callback (#1399)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-06 08:38:15 -04:00
rusefi c5da481914 helping build 2020-05-05 15:47:14 -04:00
Matthew Kennedy a26355fdd1 don't fail on multiple Start calls (#1396)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-05 15:45:07 -04:00
Matthew Kennedy 10903c4659 remove "plain MAP" mode (#1398)
* consumers

* enums, input, config

* java

* default config cleanup
2020-05-05 15:04:55 -04:00
Matthew Kennedy 573d6d2d55 pull out std air charge math (#1397) 2020-05-05 08:01:40 -04:00
rusefi 7641c4f7d9 haha notes 2020-05-04 23:38:32 -04:00
rusefi 39a7aa1306 docs 2020-05-04 22:31:47 -04:00
rusefi d35ecea765 Nick says we need this MAP sensor 2020-05-04 19:08:36 -04:00
rusefi a91b97f6d4 getting all start-up issues together 2020-05-04 00:21:22 -04:00
rusefi d472685c41 docs 2020-05-03 12:40:43 -04:00
rusefi cfd8889236 class constructors are a great way to have simple initialization sequence 2020-05-03 10:58:52 -04:00
rusefi 3b4317d622 date 2020-05-03 02:50:43 -04:00
rusefi 04363877b4 refactoring: using constructor life-cycle to simplify initialization sequence 2020-05-02 23:15:48 -04:00
rusefi b70dab791b exactly noone is surprised 2020-05-02 22:44:36 -04:00
rusefi 812184a572 reducing confusion? 2020-05-02 22:06:11 -04:00
Matthew Kennedy 5ac535c5e5 Support 4 h-bridges (#1392)
* update dc motor api

* add more etbio

* get out of two arrays

* hand generate enough

* forgot engine param

* ram

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-02 17:54:28 -04:00
rusefi f9e63c5c45 CJ125 PI commands 2020-05-01 20:22:49 -04:00
rusefi f66a1c21c9 cj125 progress 2020-05-01 19:42:09 -04:00
rusefi 7689cfc2dd Attempting cj125 2020-05-01 17:52:25 -04:00
rusefi 0750df5392 sweet unused method 2020-05-01 12:05:18 -04:00
rusefi 93ee6c36e3 https://github.com/rusefi/rusefi_documentation/issues/37 2020-04-29 18:41:40 -04:00
rusefi 65fde14800 Add firing order fix #1385 2020-04-29 16:46:59 -04:00
Matthew Kennedy a9bf0f8358 Perf Trace Improvements (#1383)
* add tid field to thread

* change perf trace format

* trace consumers

* Update java parsing

* guard for test + kinetis

* stubs

* ram

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-29 10:53:35 -04:00
Matthew Kennedy fefafd61b8 TPS Auto Calibration with ETB (#1382)
* switch to thread

* actually use default frequency define

* crank ADC too

* make space in RAM

* remove TS field

* this should work for test

* auto cal

* wire up bench testing

* s

* fix

* rearrange a bit

* inject

* remove unused bit

* mock repair

* guard for ECUs without ETB
2020-04-28 19:31:41 -04:00
Matthew Kennedy dee2568fd5 Minor ETB improvements (#1381)
* fix pid reset and pedal failure

* pause control later

* test pauseEtbControl

* update tooltip + field name

* update test
2020-04-28 16:52:40 -04:00
rusefi 4460d92a30 useful content from Move ETB control to a thread #1374 2020-04-28 08:05:18 -04:00
Matthew Kennedy 7e067eb0b5 Move ETB control to a thread (#1374)
* switch to thread

* actually use default frequency define

* crank ADC too

* make space in RAM

* remove TS field

* this should work for test

* fix dt

* re-resize ram
2020-04-28 07:22:31 -04:00
Matthew Kennedy 1d1ea3bb50 move hooks in to common chconf.h (#1376)
* move hooks in to common

* but not for kinetis

* don't use c style void arg

* kinetis needed more, not less

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-27 16:07:05 -04:00
Matthew Kennedy 499d445fd2 reclaim (#1377)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-27 14:36:26 -04:00
rusefi 30759ed8b3 VVT miata trying to crank with random phase #1278 2020-04-26 20:50:49 -04:00
rusefi 025c8c2903 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	firmware/controllers/engine_controller.cpp
2020-04-26 19:44:04 -04:00
rusefi 176a08f0a6 minor clean-up 2020-04-26 18:47:56 -04:00
rusefi 7513c08def method inline 2020-04-26 17:50:03 -04:00
rusefi 0ec3ce595e dead code 2020-04-26 17:40:12 -04:00
rusefi fe03d576e6 minor clean-up 2020-04-26 17:07:39 -04:00
Matthew Kennedy 738e53442d General purpose PWM: implementation & tests (#1366)
* config

* significant digits

* renumber enum, no need for a "none"

* ui

* impl base

* error handle MAP

* init & update

* don't need arg

* don't lie about sensor

* fix test build

* test stub

* initialize

* null check

* fix clamping

* test output

* types & enums

* don't need param

* test getOutput

* fix

* output pin instead of brain pin

* default config
2020-04-26 14:06:28 -04:00
Matthew Kennedy 6d0efc432e allow overriding configuration (#1341)
* config overrides

* proteus too

* comment

* remove wno-error

* comment
2020-04-26 00:07:59 -04:00