Commit Graph

8105 Commits

Author SHA1 Message Date
GitHub set-date Action 16eff072d2 Update date 2020-10-08 00:41:29 +00:00
Matthew Kennedy b9c26efd57 fix (#1863) 2020-10-07 14:59:24 -04:00
Matthew Kennedy 22a55ce7e6 switch from float to expected<float> (#1862) 2020-10-06 22:33:00 -04:00
Matthew Kennedy 7b333e60ea FSIO refactoring (#1861)
* better fsio tests

* condense operators

* minor parser cleanup too

* comments, too!
2020-10-06 21:54:49 -04:00
GitHub set-date Action c7c70bc87a Update date 2020-10-07 00:49:32 +00:00
rusefillc 25d02f6356 SD enable 2020-10-06 01:15:17 -04:00
rusefillc d5d5bbba9f tachPulsePerRev needs a safer default, MRE config needs a value 2020-10-06 00:56:49 -04:00
GitHub set-date Action bdbc8ef46f Update date 2020-10-06 00:48:58 +00:00
Matthew Kennedy e112bbd07e remove virtual calls from hot path (#1857)
* const ref-ify

* no virtual 

* even more const

* tests

* fix tests
2020-10-05 16:42:50 -04:00
Matthew Kennedy 060cfbd778 const ref-ify trigger (#1856)
* const ref-ify

* tests
2020-10-05 14:22:59 -04:00
Matthew Kennedy 540fca8cc9 use expected for event queue next event (#1859)
* use expected for event queue next event

* minor cleanup

* tests
2020-10-05 13:53:34 -04:00
Matthew Kennedy 60329b55a5 we don't need two loops (#1855) 2020-10-05 08:57:00 -04:00
Matthew Kennedy 04ae4ee347 pwm perf (#1858)
* pwm perf

* this trace is now redundant
2020-10-05 08:23:30 -04:00
Matthew Kennedy da3242f2fc missing iat (#1854) 2020-10-04 21:33:54 -04:00
GitHub set-date Action 41e49ff53c Update date 2020-10-05 00:50:15 +00:00
Matthew Kennedy ebc884e8d5 trigger decode cleanup and perf (#1853)
* trigger decode cleanup

* test config ptr patchup

* disable CDM by default
2020-10-04 19:29:26 -04:00
rusefillc ac94bcae5e get_performance_trace automation 2020-10-04 16:03:35 -04:00
rusefillc 9808e675f5 Trigger performance: variable gapTrackingLength #1851
cool change but looks to have made zero difference
2020-10-04 13:05:49 -04:00
rusefillc bfbdab4b5f poke 2020-10-04 12:58:16 -04:00
rusefillc 61186a8d80 fixing Kinetis build 2020-10-04 03:04:01 -04:00
rusefillc e6bac27c70 60/2 perf grab #1850
unused parameter
2020-10-04 02:09:12 -04:00
rusefillc c1023504e6 Re-applying #1841
Revert "HW CI has failed 11 times since Oct 2 #1849"

This reverts commit 7d8238e6
2020-10-04 01:54:29 -04:00
rusefillc 8c32b13567 60/2 perf grab #1850
a) removing more of stack validating - one validation within the deepest method would be enough

b) un-wrapping main callback loop for explicit order of execution
2020-10-04 01:43:02 -04:00
rusefillc edc8ee7299 60/2 perf grab #1850 2020-10-04 01:26:29 -04:00
rusefillc 149bc309f7 60/2 perf grab #1850 2020-10-04 01:04:15 -04:00
rusefillc d9102b3c3c 60/2 perf grab #1850 2020-10-04 00:15:40 -04:00
GitHub build-firmware Action a21a27898b Auto-generated configs and docs 2020-10-04 02:02:15 +00:00
rusefillc aee984d0c2 HW CI has failed 11 times since Oct 2 #1849
Revert "ETB function config (#1831)"

This reverts commit fd7dae8a
2020-10-03 22:00:00 -04:00
rusefillc 7d8238e697 HW CI has failed 11 times since Oct 2 #1849
Revert "configure all sample times - fix MRE knock sampling (#1841)"

This reverts commit e02c86a7
2020-10-03 21:36:09 -04:00
rusefillc b4fb172b06 Merge remote-tracking branch 'origin/master' into master 2020-10-03 20:53:29 -04:00
rusefillc 88e9dcd867 HW CI has failed 11 times since Oct 2 #1849 2020-10-03 20:53:23 -04:00
GitHub set-date Action 8957a9f13d Update date 2020-10-04 00:51:05 +00:00
rusefillc bd78aa288d HW CI has failed 11 times since Oct 2 #1849 2020-10-03 20:25:37 -04:00
rusefillc 731341dad1 HW CI has failed 11 times since Oct 2 #1849 2020-10-03 19:45:39 -04:00
GitHub build-firmware Action b339ad71bc Auto-generated configs and docs 2020-10-03 23:29:56 +00:00
rusefillc 6cae262934 HW CI has failed 11 times since Oct 2 #1849 2020-10-03 19:28:21 -04:00
GitHub build-firmware Action c67f26e863 Auto-generated configs and docs 2020-10-03 14:42:14 +00:00
rusefillc 3be325f78d Merge remote-tracking branch 'origin/master' into master 2020-10-03 10:39:54 -04:00
rusefillc c9bdd59220 new VVT trigger shape? #1847 2020-10-03 10:39:43 -04:00
GitHub build-firmware Action 5d006198eb Auto-generated configs and docs 2020-10-03 14:27:55 +00:00
rusefillc 601865bc4b new VVT trigger shape? #1847 2020-10-03 10:26:05 -04:00
GitHub build-firmware Action 279e1c008d Auto-generated configs and docs 2020-10-03 14:06:31 +00:00
rusefillc 38c1456afb https://rusefi.com/forum/viewtopic.php?p=38001#p38001 2020-10-03 10:04:04 -04:00
GitHub build-firmware Action 905edb2fd4 Auto-generated configs and docs 2020-10-03 00:52:49 +00:00
Matthew Kennedy fd7dae8ab8 ETB function config (#1831)
* two throttles one thread

* look at all this RAM!

* add enum

* switch from index to function

* test fixup

* improve init logic

* remove old vw idle mode bit

* add config

* better spot for it

* use config init values

* handle null controller array

* fatal error testability

* test new init config

* defaults

* fix for default config
2020-10-02 20:51:02 -04:00
Matthew Kennedy e02c86a7dc configure all sample times - fix MRE knock sampling (#1841)
* configure all sample times

* smpr 1 vs smpr 2

* man I can't type

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-10-02 20:49:56 -04:00
GitHub set-date Action 3135cfec0a Update date 2020-10-03 00:47:49 +00:00
GitHub build-firmware Action b96af6ce25 Auto-generated configs and docs 2020-10-02 18:35:16 +00:00
rusefillc 563f7d9091 https://rusefi.com/forum/viewtopic.php?p=37989#p37989 2020-10-02 14:33:19 -04:00
GitHub set-date Action 3f16bbb1ff Update date 2020-10-02 00:47:06 +00:00
Matthew Kennedy 5f6955e49f move scheduling to its own file (#1842)
* move scheduling to its own file

* header

* protip don't include a cpp file
2020-10-01 17:55:03 -04:00
Matthew Kennedy a11338d642 print red (#1843) 2020-10-01 17:14:25 -04:00
Matthew Kennedy c1cb48ed12 switch (#1839)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-10-01 01:36:33 -04:00
GitHub build-firmware Action 9e72221dab Auto-generated configs and docs 2020-10-01 04:06:05 +00:00
rusefi f8d5463064 making error codes available 2020-10-01 00:03:54 -04:00
GitHub set-date Action 609fe10a93 Update date 2020-10-01 00:49:04 +00:00
GitHub build-firmware Action 7a89a29b3d Auto-generated configs and docs 2020-10-01 00:21:49 +00:00
Matthew Kennedy 3e64861c14 display base fuel mass in milligrams (#1838)
* switch to mg

* use the correct thing

* gauge scaling

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-30 20:19:51 -04:00
GitHub build-firmware Action 6cd260a6a2 Auto-generated configs and docs 2020-09-30 23:20:30 +00:00
Matthew Kennedy 8520a128bb show SD menu on proteus (#1837)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-30 19:18:37 -04:00
GitHub set-date Action 7d84ea1f2f Update date 2020-09-30 00:47:11 +00:00
rusefi d09d2da420 Cypress artifact needs .hex file #1835 2020-09-29 18:50:51 -04:00
David Holdeman 37f439390e add hex to bundle (#1836) 2020-09-29 17:04:41 -04:00
GitHub build-firmware Action 7798a449aa Auto-generated configs and docs 2020-09-29 10:36:50 +00:00
Matthew Kennedy 3374db1658 Remove dead & useless config (#1834)
* remove dead config

* remove enum
2020-09-29 06:34:39 -04:00
GitHub build-firmware Action 31897313af Auto-generated configs and docs 2020-09-29 01:41:06 +00:00
David Holdeman a564ca0526 transmission solenoid control (#1833)
* simple trans controller

* don't need check

* we can loop!

* use efi::size

* pin mode configuration

* set pin mode

* switch to RegisteredOutputPin

* size
2020-09-28 21:39:03 -04:00
GitHub build-firmware Action 07532d6b4c Auto-generated configs and docs 2020-09-29 01:20:53 +00:00
rusefi 2836954b9c adding 1+16 trigger 2020-09-28 21:18:47 -04:00
rusefi bd82ae0d9a refactoring: magic constants 2020-09-28 21:11:04 -04:00
GitHub build-firmware Action 2f7a60c5a8 Auto-generated configs and docs 2020-09-29 01:07:43 +00:00
rusefi f2f1ef81d5 removing third copy of same values 2020-09-28 21:05:20 -04:00
rusefi bd90955626 Merge remote-tracking branch 'origin/master' into master 2020-09-28 20:59:58 -04:00
rusefi bfc9ebd730 removing third copy of same values 2020-09-28 20:58:21 -04:00
GitHub set-date Action c16b14606e Update date 2020-09-29 00:46:48 +00:00
David Holdeman e6f6c43767 switch to pass by reference (#1832) 2020-09-28 19:17:17 -04:00
David Holdeman 0f7b91861a move cd statements to common_make.sh (#1830)
* move cd to compile.sh

* rel path

* undo changes to compile.sh and move cd to common_make
2020-09-28 18:25:15 -04:00
GitHub build-firmware Action f1527ea660 Auto-generated configs and docs 2020-09-28 20:34:48 +00:00
Matthew Kennedy b79c0fefe5 replace ETB index with function enum (#1807)
* two throttles one thread

* look at all this RAM!

* add enum

* switch from index to function

* test fixup

* improve init logic

* remove old vw idle mode bit
2020-09-28 16:33:07 -04:00
GitHub build-firmware Action 631d719b59 Auto-generated configs and docs 2020-09-28 18:47:21 +00:00
Matthew Kennedy 9632a784f3 add analog inputs to switches (#1829)
* add analog in to switches

* also clarify boost cut pressure

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-28 14:45:23 -04:00
GitHub set-date Action 26dcb75c83 Update date 2020-09-28 00:47:27 +00:00
GitHub build-firmware Action 695eacc239 Auto-generated configs and docs 2020-09-27 15:03:29 +00:00
rusefillc 73171347d0 Update rusefi_config.txt 2020-09-27 11:01:42 -04:00
rusefillc ca39692756 Update gen_config.sh 2020-09-27 11:01:06 -04:00
rusefi c874a6c914 Hellen gen_config #1823 poke 2020-09-27 10:42:01 -04:00
andreika-git 967fda4027 Hellen says fix gen_enum_to_string & gen_config (#1825)
* Hellen says merge #1772 hardware.cpp

* Hellen says merge #1772 adc.h

* Hellen says fix gen_enum_to_string & gen_config

Co-authored-by: rusefi <rusefillc@gmail.com>
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-09-27 10:40:37 -04:00
David Holdeman 66f4516990 cd back (#1826) 2020-09-27 10:40:18 -04:00
GitHub build-firmware Action e3c1501830 Auto-generated configs and docs 2020-09-27 13:59:42 +00:00
rusefi beb449b755 Hellen gen_config #1823 poke 2020-09-27 09:57:52 -04:00
andreika-git 3db4d3a56f Hellen says fix gen_config for Cypress (#1824)
* Hellen says merge #1772 hardware.cpp

* Hellen says merge #1772 adc.h

* Hellen says fix gen_config for Cypress

* Hellen says fix gen_config actions for Cypress

* Hellen says reset .h files

Co-authored-by: rusefi <rusefillc@gmail.com>
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-09-27 09:56:44 -04:00
GitHub build-firmware Action 8ba9764177 Auto-generated configs and docs 2020-09-27 12:51:50 +00:00
rusefi 51d9e3178e Hellen config build - poke 2020-09-27 08:50:12 -04:00
rusefi 21f53352b9 Hellen config build 2020-09-27 08:21:33 -04:00
rusefi 79199dfd82 Output pin init/deinit needs a linked list #1803 2020-09-27 07:58:22 -04:00
rusefi 86c80b7768 Output pin init/deinit needs a linked list #1803 2020-09-27 07:48:38 -04:00
GitHub build-firmware Action 3d5cb35c5e Auto-generated configs and docs 2020-09-27 11:38:53 +00:00
rusefi f482b9c43d Output pin init/deinit needs a linked list #1803 2020-09-27 07:37:43 -04:00
rusefi aea8441e6a Output pin init/deinit needs a linked list #1803 2020-09-27 07:26:56 -04:00
rusefi 77c1b19cee Output pin init/deinit needs a linked list #1803 2020-09-27 07:22:09 -04:00
rusefi 15cb74bbf8 cypress into GHA #1819
code style match
2020-09-27 07:07:01 -04:00
rusefi 940086ee34 cypress into GHA #1819 2020-09-27 06:43:32 -04:00
rusefi 5d3ded340b cypress into GHA #1819 2020-09-27 06:27:50 -04:00
rusefi 1d99e908a1 cypress into GHA #1819 2020-09-27 06:13:58 -04:00
GitHub set-date Action 860d3ba96d Update date 2020-09-27 00:48:28 +00:00
rusefi 822f20ab2d Output pin init/deinit needs a linked list #1803
more fun around pin referencing
2020-09-26 05:04:27 -04:00
rusefi 566b246efb Hellen says merge #1772 2020-09-26 04:13:02 -04:00
GitHub set-date Action 7da58c0889 Update date 2020-09-26 00:45:57 +00:00
GitHub set-date Action 45d3c67d0d Update date 2020-09-25 00:46:43 +00:00
GitHub set-date Action 29c11f663c Update date 2020-09-24 00:46:48 +00:00
andreika-git 2d4d34291c Hellen says fix cypress build (#1818)
* fix compilation

* fresh generated files

* more files

Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-09-23 14:06:22 -04:00
GitHub set-date Action d904eee955 Update date 2020-09-23 00:45:21 +00:00
GitHub build-firmware Action 02a5c40ad0 Auto-generated configs and docs 2020-09-22 20:27:30 +00:00
shadowm60 2d665e2c90 Launch control - experimental (#1816)
* Update tachometer.cpp

Initial implementation of E30 M3 Tach output solution #907, unit_test plus debugging next

* tacho unit tests

First successfull unit test for tachometer

* RAM adjustment so it would link

* refactoring tacho, broken!

* starting to make some progress...still fails after a few seconds

* Rework with SW PWM

* Update after code review

* unit_test update

* First working unit_test

* Update .gitignore

* Update engine_controller.cpp

* Update engine_controller.cpp

* Update tachometer.h

* Update test_tacho.cpp

* Switched UART DMA on

* Revert "Switched UART DMA on"

This reverts commit 4a23974c431e0e7fd760595d2161e74e6854897e.

* enable launch control

make use of already existent code + integration

* Delete compile_frankenso_all.sh

remove it since it is not part of the project

* Update main_trigger_callback.cpp

broke unit_Tests

Co-authored-by: rusefi <rusefi@users.noreply.github.com>
2020-09-22 16:25:27 -04:00
GitHub build-firmware Action 9a9773de15 Auto-generated configs and docs 2020-09-22 09:29:44 +00:00
rusefi 16f53613dd Merge remote-tracking branch 'origin/master' into master 2020-09-22 05:27:25 -04:00
rusefi 84afd503a5 https://rusefi.com/forum/viewtopic.php?f=3&t=1523
disabling second channel for one more trigger
2020-09-22 05:25:11 -04:00
GitHub build-firmware Action bf6af23f00 Auto-generated configs and docs 2020-09-22 08:59:31 +00:00
rusefi f04278583d https://rusefi.com/forum/viewtopic.php?f=3&t=1523
refactoring
2020-09-22 04:57:43 -04:00
rusefi 15a23bb399 helping CI 2020-09-22 04:57:07 -04:00
GitHub build-firmware Action 66b0b88139 Auto-generated configs and docs 2020-09-22 07:49:56 +00:00
shadowm60 c85932727e Mre sw knock detection (#1815)
* Add SW knock control to MRE on AT4

* Update software_knock.cpp

cleanup

* use knock only for final build

* adjust RAM

* Update engine_controller.cpp

Adjust RAM for HW QC special to build
2020-09-22 03:48:17 -04:00
GitHub set-date Action f12237e23e Update date 2020-09-22 00:45:38 +00:00
David Holdeman 88d08cf1a8 Fix debounce (#1814)
* 1,2,4,7,9

* 6

* fix type mismatch

* change field

* comment

* Revert "comment"

This reverts commit f7ce8ed48d015490ed82d692270198817569b5a3.

* Revert "Revert "comment""

This reverts commit 99f2d5cadcbf444bf58acf9e57a6fed61355d5be.

* Revert "change field"

This reverts commit 55ec050cd947696cdffccae6b29fe48d95ab5f17.

* rename var

* comments

* use func in init

* default values

* remove redundant check

* check

* use bool

* mark false when done

* pointer

* check GPIO_UNASSIGNED

* wat

* merge carnage

* oops, accidentally downgraded submodule
2020-09-21 18:25:24 -04:00
rusefi 3b9d339db0 unit test for start/stop hardware and pin repository #1811 2020-09-21 12:29:01 -04:00
rusefi 4fccd51722 ADC progress 2020-09-21 06:10:25 -04:00
Matthew Kennedy 9783f40820 move AEM xseries lambda to new sensor (#1764)
* lambda sens

* fix init

* new sensor aem

* comment

* g

* format

* x

* guard

* fix init for tests

* fix

* put back

* put back

* fix

* fix init

* why is this different

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-21 06:01:54 -04:00
shadowm60 c89a9e4c62 Update can_vss.cpp (#1813)
update vss reading from can
2020-09-21 05:55:09 -04:00
Matthew Kennedy 2c492cae48 guard against ADC buffer overrun (#1812) 2020-09-21 12:37:51 +03:00
GitHub set-date Action 336093b742 Update date 2020-09-21 00:46:18 +00:00
rusefi 889335111a reorder ADC channel index #1763
we forgot about something
2020-09-20 14:20:08 -04:00
rusefi b6ab109419 Merge remote-tracking branch 'origin/master' into master 2020-09-20 14:04:33 -04:00
rusefi 77a9d79124 Revert "reorder ADC channel index #1763"
This reverts commit a50450c5
2020-09-20 14:04:24 -04:00
David Holdeman 9536590a25 Debounce refactor (#1809)
* 1,2,4,7,9

* 6

* fix type mismatch

* change field

* comment

* Revert "comment"

This reverts commit f7ce8ed48d015490ed82d692270198817569b5a3.

* Revert "Revert "comment""

This reverts commit 99f2d5cadcbf444bf58acf9e57a6fed61355d5be.

* Revert "change field"

This reverts commit 55ec050cd947696cdffccae6b29fe48d95ab5f17.

* rename var

* comments

* use func in init

* default values

* remove redundant check
2020-09-20 14:01:00 -04:00
rusefi a50450c5fc reorder ADC channel index #1763
we forgot about something
2020-09-20 13:59:54 -04:00
GitHub build-firmware Action 6930ea5073 Auto-generated configs and docs 2020-09-20 17:45:00 +00:00
rusefi 64b93c3531 Merge remote-tracking branch 'origin/master' into master 2020-09-20 13:42:53 -04:00
rusefi 4839018977 reorder ADC channel index #1763
we forgot about something
2020-09-20 13:42:37 -04:00
GitHub set-date Action 6155410cae Update date 2020-09-20 00:46:52 +00:00
GitHub build-firmware Action 561637cc47 Auto-generated configs and docs 2020-09-19 21:19:20 +00:00
David Holdeman 02a12d76f3 fix type mismatch (#1808)
* fix type mismatch

* comment

* change field

* switch to efitimesec16_t

* add typedef

* add type to configdefinition

* build
2020-09-19 17:17:44 -04:00
rusefi a2ec524c29 better QC procedure 2020-09-19 16:07:09 -04:00
rusefi 3e34b65ec5 better QC procedure 2020-09-19 04:57:07 -04:00
rusefi 34904db591 better QC procedure 2020-09-19 04:39:32 -04:00
rusefi be7ea7e068 docs 2020-09-19 04:38:59 -04:00
Matthew Kennedy 4a1b1b6bad fix closed loop fuel (#1797)
* fix

* add a test

* signature
2020-09-19 03:44:01 -04:00
GitHub set-date Action cc42bfc422 Update date 2020-09-19 00:44:27 +00:00
Matthew Kennedy 85304392dd two throttles one thread (#1806)
* two throttles one thread

* look at all this RAM!
2020-09-18 13:47:49 -04:00
rusefi d4d42dd781 Output pin init/deinit needs a linked list #1803 2020-09-18 13:29:17 -04:00
rusefi 42c6e26743 Merge remote-tracking branch 'origin/master' into master 2020-09-18 13:01:23 -04:00