Commit Graph

8307 Commits

Author SHA1 Message Date
Matthew Kennedy 87d34ffcee more safe parts probably (#1883) 2020-10-15 22:04:42 -04:00
GitHub set-date Action e82306deaa Update date 2020-10-16 00:53:08 +00:00
rusefillc 3ceb6fe2a5 Merge remote-tracking branch 'origin/master' into master 2020-10-15 16:16:51 -04:00
Matthew Kennedy 02c47eeec8 write SD header using new Writer class (#1882)
* write header

* hooray, free memory!

* fix test

* is there really this much free space...?

* no, there is not
2020-10-15 16:00:13 -04:00
GitHub build-firmware Action 2332ab26a0 Auto-generated configs and docs 2020-10-15 12:59:24 +00:00
Matthew Kennedy 94bd5921c5 simplify getTimeNowNt() (#1876)
* remove old impl

* add cpp wrapper to os_access

* clean up os_access

* remove touchTimeCounter

* new impl

* put comment about lock free impl

* include cpp wrappers for BL

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-10-15 08:57:13 -04:00
rusefillc a3614019f6 Merge remote-tracking branch 'origin/master' into master 2020-10-14 23:32:00 -04:00
GitHub build-firmware Action 7b4c02eb6c Auto-generated configs and docs 2020-10-15 02:42:20 +00:00
Matthew Kennedy eac2b179c7 fix temp sensor & validate it (#1879)
* fix temp sensor & validate

* smaller here should work
2020-10-14 22:39:16 -04:00
Matthew Kennedy abfa17216b etb function config 1 (#1881)
* this should all be safe...

* test fix
2020-10-14 22:02:09 -04:00
GitHub set-date Action ed3a341c89 Update date 2020-10-15 00:52:07 +00:00
rusefillc 08a867668c Merge remote-tracking branch 'origin/master' into master 2020-10-14 20:09:50 -04:00
Matthew Kennedy 4868068e2f start using BufferedWriter (#1878)
* do the part up to actual usage

* borrow some memory for now
2020-10-14 20:06:05 -04:00
Matthew Kennedy 554304dac3 switch to single precision constants (#1880)
* adjust builds

* fix test
2020-10-14 20:04:35 -04:00
GitHub set-date Action 9df7b80835 Update date 2020-10-14 00:51:46 +00:00
rusefillc a37880eb97 GDI Epic #1448 2020-10-13 00:35:04 -04:00
GitHub set-date Action 97663a0594 Update date 2020-10-13 00:51:50 +00:00
Matthew Kennedy c5291888d0 buffered writer - progress on #1463 (#1875)
* add buffered writer

* rename
2020-10-12 15:10:34 -04:00
rusefillc 1dcfa743b9 docs 2020-10-12 09:18:36 -04:00
rusefi 9de3031378 GDI Epic #1448 2020-10-11 23:39:40 -04:00
rusefi 996806d710 QC control mode to crash if RPM = 0 and to mark successful 3 minute test with self-stimulation RPM increase #1871 2020-10-11 22:57:31 -04:00
rusefi 1c84b0dd9f QC control mode to crash if RPM = 0 and to mark successful 3 minute test with self-stimulation RPM increase fix #1871 2020-10-11 22:46:08 -04:00
GitHub set-date Action 3df68f838c Update date 2020-10-12 00:51:55 +00:00
Matthew Kennedy 3985b7a6c9 Fix #1873 - compute dynamic PWM iterationLimit (#1874)
* fix

* remove define

* add an assert

* typo

* don't do a 64bit divide

* oh that's a float
2020-10-11 20:25:38 -04:00
rusefi b4208f585c QC control mode to crash if RPM = 0 and to mark successful 3 minute test with self-stimulation RPM increase #1871 2020-10-11 19:16:41 -04:00
GitHub build-firmware Action 08d03374d4 Auto-generated configs and docs 2020-10-11 23:07:39 +00:00
rusefi 4743718663 QC control mode to crash if RPM = 0 and to mark successful 3 minute test with self-stimulation RPM increase #1871 2020-10-11 19:05:56 -04:00
rusefi 6fe1f18067 Trigger sync lost every 2^32 CPU cycles #1873
only a random code comment
2020-10-11 18:17:30 -04:00
GitHub build-firmware Action b537290fdb Auto-generated configs and docs 2020-10-11 21:49:05 +00:00
rusefi df378f8f45 GDI Epic #1448 2020-10-11 17:47:16 -04:00
GitHub set-date Action a5babfa28a Update date 2020-10-11 00:52:48 +00:00
rusefi dd9b8ee62b poke 2020-10-10 00:07:15 -04:00
GitHub build-firmware Action cb71a9ba23 Auto-generated configs and docs 2020-10-10 03:36:50 +00:00
David Holdeman a6a0e8ba77 Simple transmission 2 (#1870)
* simple trans controller

* don't need check

* we can loop!

* use efi::size

* pin mode configuration

* set pin mode

* switch to RegisteredOutputPin

* size

* add to makefile

* fixes

* fixes

* wat

* output pin, and ts stuff

* use SimpleTransmissionController

* include

* grrr

* grrr

* move to separate file

* fix includes

* try

* semicolon stupid

* try pointers

* try

* add to makefile

* wat

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* undo

* more idiomatic maybe

* remove logger

* try init func

* try

* try

* try init fn

* try

* switch

* try

* try

* ifndef

* try

* try

* ifndef

* use def dug

* INJECT FIRST

* try

* try

* duh
2020-10-09 23:34:45 -04:00
GitHub set-date Action c646fe2be7 Update date 2020-10-10 00:50:10 +00:00
GitHub build-firmware Action c6d12d8459 Auto-generated configs and docs 2020-10-09 21:19:04 +00:00
Matthew Kennedy 51d407aaf0 ign mode overrides (#1869) 2020-10-09 17:16:49 -04:00
GitHub build-firmware Action f01583be7a Auto-generated configs and docs 2020-10-09 06:11:02 +00:00
rusefillc 6395e22ce6 https://rusefi.com/forum/viewtopic.php?f=4&t=1844 2020-10-09 02:08:52 -04:00
GitHub build-firmware Action e3cfc760d0 Auto-generated configs and docs 2020-10-09 06:07:46 +00:00
rusefillc 8e69003080 https://rusefi.com/forum/viewtopic.php?f=4&t=1844 2020-10-09 02:05:47 -04:00
Matthew Kennedy 89ac8508b9 Check for sd buffer overrun (#1867)
* use actual header size

* and the buffer can be a little smaller
2020-10-08 21:02:15 -04:00
GitHub set-date Action c7879cef42 Update date 2020-10-09 00:49:56 +00:00
rusefillc a20f093140 SD card logs not valid for REO #1864 2020-10-08 20:35:32 -04:00
rusefillc b1c0b72aa7 SD card logs not valid for REO #1864 2020-10-08 20:17:32 -04:00
rusefillc 08efb1f43d SD card logs not valid for REO #1864 2020-10-08 20:06:07 -04:00
rusefi af19c020c7 SD card logs not valid for REO #1864 2020-10-08 17:58:58 -04:00
rusefi a2f3ee8d06 SD card logs not valid for REO #1864 2020-10-08 17:50:43 -04:00
rusefillc 53c001d541 revering functional part of
Etb function cfg, try again #1860
try again from #1831
2020-10-08 17:09:00 -04:00
GitHub build-firmware Action 054b082355 Auto-generated configs and docs 2020-10-08 18:14:09 +00:00
Matthew Kennedy cca175c6ea Etb function cfg, try again (#1860)
* 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-08 14:12:03 -04:00
Matthew Kennedy 732e2a64c1 fix fuel pump (#1865) 2020-10-07 22:30:24 -04:00
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
rusefi a48c67c8c7 Output pin init/deinit needs a linked list #1803 2020-09-18 13:01:09 -04:00
GitHub build-firmware Action 8de08abc35 Auto-generated configs and docs 2020-09-18 07:05:55 +00:00
Matthew Kennedy d23a48fc53 Dedicated sensors for wastegate + idle position (#1805)
* config

* add sensor

* listen to new adc channels

* fix

* add gauges to TS

* add gauge values

* TS UI
2020-09-18 10:04:07 +03:00
rusefi 0b000fcdaa Output pin init/deinit needs a linked list #1803 2020-09-17 19:41:28 -04:00
rusefi 03195fba64 Merge remote-tracking branch 'origin/master' into master 2020-09-17 19:35:59 -04:00
rusefi 9f565721da Output pin config #1803
alternative to #1800
2020-09-17 19:35:43 -04:00
GitHub build-firmware Action f5488ddc16 Auto-generated configs and docs 2020-09-17 11:57:18 +00:00
rusefi ebc3d94627 Merge remote-tracking branch 'origin/master' into master 2020-09-17 07:54:29 -04:00
rusefi aeaf67ed01 Hellen says it has more ADC channels 2020-09-17 03:59:50 -04:00
GitHub set-date Action dfe53c26a5 Update date 2020-09-17 00:44:12 +00:00
GitHub set-date Action 991f6357b9 Update date 2020-09-16 00:44:01 +00:00
rusefi c98e78640a Hellen says merge #1772 hardware.cpp 2020-09-15 15:01:31 -04:00
rusefi 0e370f87aa Merge remote-tracking branch 'origin/master' into master 2020-09-15 14:49:01 -04:00
andreika-git af20e08ccf porting adc_inputs.cpp (blindly) (#1792)
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-09-15 14:48:32 -04:00
GitHub build-firmware Action 2b85806d44 Auto-generated configs and docs 2020-09-15 08:35:57 +00:00
David Holdeman 159e3142ce add shift matrix and pin config (#1798)
* add shift matrix and pin config

* try
2020-09-15 11:34:09 +03:00
GitHub set-date Action 821f43eb77 Update date 2020-09-15 00:44:08 +00:00
Matthew Kennedy a62089e590 proteus SD card defaults (#1796)
* proteus SD defaults

* disable serial console pins
2020-09-14 10:54:25 +03:00
rusefi e3600a8f24 Engine runs we can disengage the starter #1795 2020-09-14 00:45:15 -04:00
GitHub set-date Action 19c4c1eb6c Update date 2020-09-14 00:44:19 +00:00
Matthew Kennedy 36234961c1 logging simplification: switch bare functions to member functions: try the second (#1794)
* first pass

* first pass

* const means we don't have to check!

* static

* test fixup

* fix sniffer
2020-09-13 11:49:25 +03:00
GitHub set-date Action 125eb97f04 Update date 2020-09-13 00:45:25 +00:00
rusefi ead14bd1ca Revert "logging simplification: switch bare functions to member functions (#1788)"
This reverts commit 39280fb2
2020-09-12 04:36:24 -04:00
rusefi 8612f4de30 Merge remote-tracking branch 'origin/master' into master 2020-09-12 04:03:23 -04:00
rusefi 875651b471 Hellen says merge #1772 adc.h 2020-09-12 04:03:11 -04:00
GitHub build-firmware Action b66c24d9f2 Auto-generated configs and docs 2020-09-12 07:37:31 +00:00
Matthew Kennedy ef5cd1f5ad remove (#1789) 2020-09-12 10:35:49 +03:00
GitHub set-date Action ead10c5cb7 Update date 2020-09-12 00:42:56 +00:00
GitHub build-firmware Action d30214e7c2 Auto-generated configs and docs 2020-09-12 00:22:40 +00:00
David Holdeman 8366e7380f some documentation improvements (#1787) 2020-09-11 20:20:37 -04:00
Matthew Kennedy 39280fb2c6 logging simplification: switch bare functions to member functions (#1788)
* first pass

* first pass

* const means we don't have to check!

* static

* test fixup
2020-09-12 03:08:11 +03:00
rusefi 082ab11dfb Hellen says let's fix Prometheus part #3 2020-09-11 08:25:42 -04:00
rusefi c0f5dec636 Hellen says let's fix Prometheus 2020-09-11 07:51:49 -04:00
rusefi ea363c61b9 Hellen says let's fix Prometheus 2020-09-11 07:19:04 -04:00
rusefi 5521249dc9 Hellen says let's fix master 2020-09-11 07:05:32 -04:00
rusefi 63b1a6652b Merge remote-tracking branch 'origin/Hellen_fork_point' into master
# Conflicts:
#	firmware/console/binary/tunerstudio_io.cpp
#	firmware/console/console_io.cpp
2020-09-11 05:54:21 -04:00
rusefi 58be12bf0e Hellen says merge #1772 TS 2020-09-11 05:50:48 -04:00
rusefi b1ec0508f5 Merge remote-tracking branch 'origin/Hellen_fork_point' into master
# Conflicts:
#	firmware/config/boards/common_make.bat
#	firmware/controllers/algo/engine.cpp
#	firmware/controllers/system_fsio.txt
2020-09-11 03:59:06 -04:00
rusefi 8831da2e3b Hellen says merge #1772 fast ADC 2020-09-11 03:54:07 -04:00
GitHub build-firmware Action dda7deb05c Auto-generated configs and docs 2020-09-11 02:18:18 +00:00
David Holdeman e8e2cf2cfd DebounceButton A/C switch (#1782)
* change acSwitch name, add mode

* fix

* remove some adc stuff

* remove some adc stuff

* semicolon stupid

* left behind

* add readpinstate

* wrong var name

* add functions back

* fix name

* bool, not void, plus fix name

* move

* not sure what I broke

* try setMockValue

* namespace

* whoops missed one

* switch values because adc was set up for pullup

* try 5

* comment for now

* comment for now

* uncomment tests, add function to mock, add mock to efiReadPin

* fixes

* for F's sake

* if

* add defy

* pass params

* use ASSERT_TRUE/FALSE

* advance time

* remove ifdef from readPin

* try moving if

* move to separate func

* move extern

* move include

* try engine_test_helper

* am confuse

* move func to else

* include hal

* add efi prod check

* remove include

* try extern

* move include

* semicolon stupid

* move extern again

* include

* move mockPinStates

* size

* add if

* add comment

* clean on instantiation
2020-09-10 22:16:20 -04:00
Matthew Kennedy fd9cf0feae define map3d functions in class (#1785)
* define in class

* don't keep an extra flag
2020-09-10 22:03:16 -04:00
rusefi 437d74e479 Hellen says merge #1772 Kinetis needs more help 2020-09-10 22:02:02 -04:00
rusefi 06763dc98f Hellen says merge #1772 Kinetis needs help 2020-09-10 21:51:58 -04:00
rusefi e48ab0f1d2 FSIO sync with reality? 2020-09-10 21:38:41 -04:00
rusefi 4c64c278f4 sync with reality? 2020-09-10 21:36:37 -04:00
rusefi 6726e11579 Hellen says merge #1772 progress 2020-09-10 21:26:21 -04:00
rusefi 3d4228dd40 Merge remote-tracking branch 'origin/master' into master 2020-09-10 21:17:29 -04:00
rusefi b38bea570d Hellen says merge #1772 system fsio 2020-09-10 21:16:33 -04:00
rusefi 255f2e5fa3 Hellen says merge #1772 getting closer? 2020-09-10 21:12:25 -04:00
rusefi e289977e37 Hellen says merge #1772 main relay progress 2020-09-10 21:11:02 -04:00
rusefi af4f1c7a6a Hellen says merge #1772 system fsio 2020-09-10 21:09:56 -04:00
rusefi e69b2436b1 Hellen says merge #1772 getting closer? 2020-09-10 21:09:19 -04:00
rusefi e0ab0456d8 Hellen says merge #1772 main relay progress 2020-09-10 21:08:39 -04:00
GitHub set-date Action c90a1720ca Update date 2020-09-11 00:43:44 +00:00
Matthew Kennedy 8079e5f292 scale tables using type system (#1776)
* store scale in the type

* efi ratio

* boost control scaling

* fix boost tests
2020-09-10 18:44:10 -04:00
GitHub set-date Action 65d7c9b766 Update date 2020-09-10 00:40:38 +00:00
rusefi 554a019e2e Hellen says merge #1772 error pin logic 2020-09-09 18:35:17 -04:00
rusefi 41cecd15eb Merge remote-tracking branch 'origin/Hellen_fork_point' into master
# Conflicts:
#	firmware/controllers/core/error_handling.cpp
#	firmware/controllers/system/efi_gpio.cpp
2020-09-09 18:23:04 -04:00
rusefi fe3d03ba5a Hellen says merge #1772 error pin 2020-09-09 18:18:59 -04:00
rusefi a5644782d6 Merge remote-tracking branch 'origin/master' into master 2020-09-09 17:25:09 -04:00
rusefi 7fa7ac6c37 Merge remote-tracking branch 'origin/Hellen_fork_point' into master
# Conflicts:
#	firmware/Makefile
#	firmware/hw_layer/smart_gpio.cpp
2020-09-09 17:19:41 -04:00
David Holdeman e7af7cd391 Debounce pin state function (#1780)
* add readpinstate

* wrong var name
2020-09-09 17:18:54 -04:00
rusefi 91f9079f82 Hellen says merge #1772 smart gpio 2020-09-09 17:16:51 -04:00
Matthew Kennedy 7d7acc3e5f fix miata default (#1781) 2020-09-09 17:11:07 -04:00
rusefi 044fa6d083 Merge remote-tracking branch 'origin/master' into master 2020-09-09 16:55:56 -04:00
rusefi 86bac639b0 Merge remote-tracking branch 'origin/Hellen_fork_point' into master
# Conflicts:
#	firmware/hw_layer/digital_input/trigger/trigger_input.h
#	firmware/hw_layer/hw_layer.mk
#	firmware/hw_layer/ports/stm32/stm32f0/hw_ports.mk
#	firmware/hw_layer/ports/stm32/stm32f1/hw_ports.mk
#	firmware/hw_layer/ports/stm32/stm32f4/hw_ports.mk
#	firmware/hw_layer/ports/stm32/stm32f7/hw_ports.mk
2020-09-09 16:55:27 -04:00
GitHub build-firmware Action 6c2cfb4e1c Auto-generated configs and docs 2020-09-09 20:54:16 +00:00
rusefi 2cbb1c4427 Hellen says merge #1772 smart build by default 2020-09-09 16:53:54 -04:00
Matthew Kennedy c2eb7c9f4a remove tach output pin (#1779)
* remove from cfg

* cfg

* rip out impl

* efi gpio
2020-09-09 16:52:23 -04:00
rusefi 0354eccb2e Merge remote-tracking branch 'origin/master' into master 2020-09-09 16:38:36 -04:00
rusefi 882c8d8dbf Hellen says merge #1772 helping merge - Kinetis?! 2020-09-09 16:38:18 -04:00
GitHub build-firmware Action 6e4de580e4 Auto-generated configs and docs 2020-09-09 20:28:47 +00:00
Matthew Kennedy f077479be4 minor TS changes (#1778)
* minor

* fiix
2020-09-09 16:27:13 -04:00
rusefi 0b1b2f991c Hellen says merge #1772 helping merge 2020-09-09 16:25:50 -04:00
rusefi b4a33ef59a Hellen says merge #1772 helping merge 2020-09-09 15:08:01 -04:00
rusefi a3c9871d58 Hellen says merge #1772 helping merge 2020-09-09 14:35:01 -04:00
rusefi 918d987366 Hellen says merge #1772 helping merge 2020-09-09 14:20:54 -04:00
rusefi 03ce326123 Hellen says merge #1772 helping merge 2020-09-09 13:43:18 -04:00
rusefi d3d5c1474a Hellen says merge #1772 more about ports 2020-09-09 13:39:51 -04:00
rusefi d3567c23f6 Hellen says merge #1772 trigger h 2020-09-09 10:21:14 -04:00
rusefi 6b3eadb082 Hellen says merge #1772 backup ram.h 2020-09-09 10:20:21 -04:00
rusefi c930071203 Hellen says merge #1772 more about ports 2020-09-09 10:18:58 -04:00
rusefi 7f3eb65f4d Merge remote-tracking branch 'origin/master' into master 2020-09-09 08:58:54 -04:00
rusefi 81e83d0474 Hellen says merge #1772 more ports 2020-09-09 08:58:12 -04:00
rusefi 9ca4906c4c Hellen says merge #1772 more ports 2020-09-09 08:53:11 -04:00
rusefi bd5ee9477c Hellen says merge #1772 tle header 2020-09-09 08:52:14 -04:00
David Holdeman ffb5e0b1e4 switch start/stop to ButtonDebounce (#1777) 2020-09-09 08:22:15 +01:00
GitHub build-firmware Action 042b565042 Auto-generated configs and docs 2020-09-09 06:44:30 +00:00
rusefi 5cc4a0b3b6 Merge remote-tracking branch 'origin/master' into master 2020-09-09 02:41:59 -04:00
rusefi 63a9bf49c5 Bench-testing for ALL assigned output pins #1758 2020-09-09 02:41:11 -04:00
GitHub set-date Action ec9e92c755 Update date 2020-09-09 00:45:08 +00:00
rusefi 2f4d5c0a8a Bench-testing for ALL assigned output pins #1758 2020-09-08 17:41:32 -04:00
rusefi 2f6d041b5a Merge remote-tracking branch 'origin/master' into master 2020-09-08 17:22:43 -04:00
Andrey G 5d421f7ffa Adc improvements (#1765)
* ADC: move DMA buffer outside of AdcDevice (save few bytes)

* ADC: inlcude fast channels to debug output

* ADC: save some CPU ticks (disabled until fully tested)

* ADC: simplify
2020-09-08 17:20:55 -04:00
rusefi 21a2403fc0 https://github.com/rusefi/rusefi/issues/1775 2020-09-08 17:20:14 -04:00
GitHub build-firmware Action 3fb459d1f8 Auto-generated configs and docs 2020-09-08 21:17:04 +00:00
Matthew Kennedy eb2bc3201c Selectable AFR axis override (#1771)
* add config fields

* config options

* new output channels

* dump out state to ts

* s

* implement override

* enums

* this test is no longer used

* test new behavior

* old

* comments

* impl

* unhide option

* fix

* tests
2020-09-08 17:15:18 -04:00