Commit Graph

8511 Commits

Author SHA1 Message Date
rusefi e12e3f9dc6 progress 2020-10-22 00:57:11 -04:00
GitHub build-firmware Action 3f9dd26478 Auto-generated configs and docs 2020-10-22 02:51:46 +00:00
Matthew Kennedy 6605877326
gppwm debug (#1895)
* dbg gppwm

* fix channel

* TS guard
2020-10-21 22:49:38 -04:00
GitHub build-firmware Action e9ab6f9b04 Auto-generated configs and docs 2020-10-22 02:37:10 +00:00
rusefi ef19d30314 reducing the mess around FSIO bench commands 2020-10-21 22:35:08 -04:00
rusefi 9060aff46c code style 2020-10-21 22:13:18 -04:00
GitHub set-date Action 2a64162b43 Update date 2020-10-22 00:55:13 +00:00
Matthew Kennedy e0bb7ad581
disable i2c, other unused features (#1891)
* dead

* more
2020-10-20 22:24:32 -04:00
GitHub set-date Action 24fb167a34 Update date 2020-10-21 00:54:27 +00:00
rusefi 580872d88e VAG radiator control 2020-10-19 23:25:23 -04:00
rusefi 51e840eaa6 code style 2020-10-19 22:47:09 -04:00
rusefi 2ce0bef9b9 refactoring 2020-10-19 22:44:44 -04:00
rusefi e0a5c3dc12 GDI Epic #1448 2020-10-19 22:04:06 -04:00
GitHub set-date Action 4b920250c6 Update date 2020-10-20 00:54:38 +00:00
GitHub build-firmware Action dbf3b68e33 Auto-generated configs and docs 2020-10-19 12:06:22 +00:00
Matthew Kennedy 06f92807cc
second PID config for wastegate (#1889)
* remove

* cleanup

* implement ETB parts

* hook up to boost controller

* tests

* consume

* add cfg field

* ui maybe

* fix

* fix

* add wastegate config test
2020-10-19 08:04:27 -04:00
Matthew Kennedy 42bfad807b
Etb wastegate hookup (#1888)
* remove

* cleanup

* implement ETB parts

* hook up to boost controller

* tests
2020-10-18 21:57:04 -04:00
GitHub set-date Action c0d45d5b82 Update date 2020-10-19 00:54:39 +00:00
Matthew Kennedy ee5d0bf07b
remove (#1887) 2020-10-18 20:49:42 -04:00
Matthew Kennedy 44653da2e5
Etb function cfg: actually read config (#1884)
* 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-18 17:26:38 -04:00
GitHub set-date Action 09f7667bd5 Update date 2020-10-18 00:55:31 +00:00
rusefi 15dcecb9c5 GDI Epic #1448 2020-10-17 20:17:53 -04:00
rusefillc a87c28a8ad dead legacy code - current implementation is definitely more correct 2020-10-17 18:46:07 -04:00
rusefillc b24f173892 refactoring: better method name 2020-10-17 18:45:08 -04:00
rusefillc 665900d76a GDI Epic #1448 2020-10-17 14:53:56 -04:00
Matthew Kennedy a68cbae0dc
Remove trigger listener list (#1886)
* avoid 64b on hot path

* no tooth log when fast

* use crit section locker

* final

* only flip pins if not also self stim

* only trace if doing work

* slightly drop lateDelay

* trace if not bailing out

* remove listener array
2020-10-17 08:00:11 -04:00
GitHub set-date Action 7099ca6cb6 Update date 2020-10-17 00:52:43 +00:00
rusefillc bd7dcf1709 HW CI has failed 11 times since Oct 2 #1849 2020-10-16 13:54:12 -04:00
rusefillc ef5bc9f669 Merge remote-tracking branch 'origin/master' into master 2020-10-16 13:21:25 -04:00
Matthew Kennedy 7eeb60a8a0
trigger/scheduler perf improvements (#1885)
* avoid 64b on hot path

* no tooth log when fast

* use crit section locker

* final

* only flip pins if not also self stim

* only trace if doing work

* slightly drop lateDelay

* trace if not bailing out
2020-10-16 11:04:27 -04:00
Matthew Kennedy 749282c807
more safe parts probably (#1883) 2020-10-15 22:04:42 -04:00
GitHub set-date Action a2c23d4a6c Update date 2020-10-16 00:53:08 +00:00
rusefillc 322ebe7fcd Merge remote-tracking branch 'origin/master' into master 2020-10-15 16:16:51 -04:00
Matthew Kennedy a8057cfc16
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 4aac58065e Auto-generated configs and docs 2020-10-15 12:59:24 +00:00
Matthew Kennedy 2083b34cf9
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 8c8eb005f8 Merge remote-tracking branch 'origin/master' into master 2020-10-14 23:32:00 -04:00
GitHub build-firmware Action 906675166e Auto-generated configs and docs 2020-10-15 02:42:20 +00:00
Matthew Kennedy 568ec91fc0
fix temp sensor & validate it (#1879)
* fix temp sensor & validate

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

* test fix
2020-10-14 22:02:09 -04:00
GitHub set-date Action 6cafebc6bd Update date 2020-10-15 00:52:07 +00:00
rusefillc 68eb50332c Merge remote-tracking branch 'origin/master' into master 2020-10-14 20:09:50 -04:00
Matthew Kennedy 2855e04234
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 2a0205e3c4
switch to single precision constants (#1880)
* adjust builds

* fix test
2020-10-14 20:04:35 -04:00
GitHub set-date Action b39df90612 Update date 2020-10-14 00:51:46 +00:00
rusefillc ba906c2cee GDI Epic #1448 2020-10-13 00:35:04 -04:00
GitHub set-date Action 2a597d4786 Update date 2020-10-13 00:51:50 +00:00
Matthew Kennedy 605e2590f1
buffered writer - progress on #1463 (#1875)
* add buffered writer

* rename
2020-10-12 15:10:34 -04:00
rusefillc 14ddec0336 docs 2020-10-12 09:18:36 -04:00
rusefi dfa3e69186 GDI Epic #1448 2020-10-11 23:39:40 -04:00
rusefi 12a720dde2 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 b77c4ab55a 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 5bb332138a Update date 2020-10-12 00:51:55 +00:00
Matthew Kennedy 018db0df94
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 fc5f47a653 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 99923b17b7 Auto-generated configs and docs 2020-10-11 23:07:39 +00:00
rusefi 94a6399e56 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 9653eebe9d 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 2d9a63b8ef Auto-generated configs and docs 2020-10-11 21:49:05 +00:00
rusefi 4f74a5fc73 GDI Epic #1448 2020-10-11 17:47:16 -04:00
GitHub set-date Action 13f96c3504 Update date 2020-10-11 00:52:48 +00:00
rusefi e1621a5b63 poke 2020-10-10 00:07:15 -04:00
GitHub build-firmware Action c15083efac Auto-generated configs and docs 2020-10-10 03:36:50 +00:00
David Holdeman 29c2d692ee
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 b76afc46e4 Update date 2020-10-10 00:50:10 +00:00
GitHub build-firmware Action 2638fb63fa Auto-generated configs and docs 2020-10-09 21:19:04 +00:00
Matthew Kennedy 83fe9dae77
ign mode overrides (#1869) 2020-10-09 17:16:49 -04:00
GitHub build-firmware Action d1ec5522ac Auto-generated configs and docs 2020-10-09 06:11:02 +00:00
rusefillc 0a49ea933e https://rusefi.com/forum/viewtopic.php?f=4&t=1844 2020-10-09 02:08:52 -04:00
GitHub build-firmware Action 0f52622409 Auto-generated configs and docs 2020-10-09 06:07:46 +00:00
rusefillc ee2a013960 https://rusefi.com/forum/viewtopic.php?f=4&t=1844 2020-10-09 02:05:47 -04:00
Matthew Kennedy 2cb665cc51
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 a5d4dedcea Update date 2020-10-09 00:49:56 +00:00
rusefillc a71528a458 SD card logs not valid for REO #1864 2020-10-08 20:35:32 -04:00
rusefillc 0726f168cf SD card logs not valid for REO #1864 2020-10-08 20:17:32 -04:00
rusefillc e721acc60c SD card logs not valid for REO #1864 2020-10-08 20:06:07 -04:00
rusefi b87fb3686f SD card logs not valid for REO #1864 2020-10-08 17:58:58 -04:00
rusefi 048c7a6025 SD card logs not valid for REO #1864 2020-10-08 17:50:43 -04:00
rusefillc 07a905b1fe 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 c5d4150377 Auto-generated configs and docs 2020-10-08 18:14:09 +00:00
Matthew Kennedy 1bce3aa4c0
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
andreika-git d88c9c404c
Hellen says fix build-signature & usb (#1866)
* Hellen says merge #1772 hardware.cpp

* Hellen says merge #1772 adc.h

* Hellen says fix build-signature & usb

Co-authored-by: rusefi <rusefillc@gmail.com>
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-10-08 12:21:22 -04:00
Matthew Kennedy 24503cd31c
fix fuel pump (#1865) 2020-10-07 22:30:24 -04:00
GitHub set-date Action 7098c50592 Update date 2020-10-08 00:41:29 +00:00
Matthew Kennedy a9e2a5cd1e
fix (#1863) 2020-10-07 14:59:24 -04:00
Matthew Kennedy cb47cde068
switch from float to expected<float> (#1862) 2020-10-06 22:33:00 -04:00
Matthew Kennedy 8cff16e797
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 3ded888df3 Update date 2020-10-07 00:49:32 +00:00
rusefillc cd4c665ea0 SD enable 2020-10-06 01:15:17 -04:00
rusefillc 5f15b8e48b tachPulsePerRev needs a safer default, MRE config needs a value 2020-10-06 00:56:49 -04:00
GitHub set-date Action c49a241993 Update date 2020-10-06 00:48:58 +00:00
Matthew Kennedy c9fdde4472
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 5925a5f4bd
const ref-ify trigger (#1856)
* const ref-ify

* tests
2020-10-05 14:22:59 -04:00
Matthew Kennedy c885db32f0
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 dd6b02d555
we don't need two loops (#1855) 2020-10-05 08:57:00 -04:00
Matthew Kennedy aad5d987a2
pwm perf (#1858)
* pwm perf

* this trace is now redundant
2020-10-05 08:23:30 -04:00
Matthew Kennedy 86b5edecbc
missing iat (#1854) 2020-10-04 21:33:54 -04:00
GitHub set-date Action d9fb908b4f Update date 2020-10-05 00:50:15 +00:00
Matthew Kennedy 3aa4f2bd97
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 aacb5184ad get_performance_trace automation 2020-10-04 16:03:35 -04:00
rusefillc 348b387483 Trigger performance: variable gapTrackingLength #1851
cool change but looks to have made zero difference
2020-10-04 13:05:49 -04:00
rusefillc 47e094d70c poke 2020-10-04 12:58:16 -04:00
rusefillc 53ece86a88 fixing Kinetis build 2020-10-04 03:04:01 -04:00
rusefillc 96a126d60f 60/2 perf grab #1850
unused parameter
2020-10-04 02:09:12 -04:00
rusefillc efacf26554 Re-applying #1841
Revert "HW CI has failed 11 times since Oct 2 #1849"

This reverts commit 7f6a8311
2020-10-04 01:54:29 -04:00
rusefillc 030ec42ac7 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 6b95579706 60/2 perf grab #1850 2020-10-04 01:26:29 -04:00
rusefillc c9d3d1f01a 60/2 perf grab #1850 2020-10-04 01:04:15 -04:00
rusefillc e2ca642f97 60/2 perf grab #1850 2020-10-04 00:15:40 -04:00
GitHub build-firmware Action c047397cf7 Auto-generated configs and docs 2020-10-04 02:02:15 +00:00
rusefillc 367436454d HW CI has failed 11 times since Oct 2 #1849
Revert "ETB function config (#1831)"

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

This reverts commit b3596f89
2020-10-03 21:36:09 -04:00
rusefillc 9273659d69 Merge remote-tracking branch 'origin/master' into master 2020-10-03 20:53:29 -04:00
rusefillc a9d669ba83 HW CI has failed 11 times since Oct 2 #1849 2020-10-03 20:53:23 -04:00
GitHub set-date Action ed60cd3bce Update date 2020-10-04 00:51:05 +00:00
rusefillc dd7dd3b8eb HW CI has failed 11 times since Oct 2 #1849 2020-10-03 20:25:37 -04:00
rusefillc dce24274a2 HW CI has failed 11 times since Oct 2 #1849 2020-10-03 19:45:39 -04:00
GitHub build-firmware Action 17c87dbd90 Auto-generated configs and docs 2020-10-03 23:29:56 +00:00
rusefillc 246e3b6032 HW CI has failed 11 times since Oct 2 #1849 2020-10-03 19:28:21 -04:00
GitHub build-firmware Action 2c0db8e970 Auto-generated configs and docs 2020-10-03 14:42:14 +00:00
rusefillc 5cf8ce1db8 Merge remote-tracking branch 'origin/master' into master 2020-10-03 10:39:54 -04:00
rusefillc e5b8e0e515 new VVT trigger shape? #1847 2020-10-03 10:39:43 -04:00
GitHub build-firmware Action 71d603bcc9 Auto-generated configs and docs 2020-10-03 14:27:55 +00:00
rusefillc 3083d729e8 new VVT trigger shape? #1847 2020-10-03 10:26:05 -04:00
GitHub build-firmware Action 4c403fbb22 Auto-generated configs and docs 2020-10-03 14:06:31 +00:00
rusefillc 98139e26ef https://rusefi.com/forum/viewtopic.php?p=38001#p38001 2020-10-03 10:04:04 -04:00
GitHub build-firmware Action 1b37b2a0b8 Auto-generated configs and docs 2020-10-03 00:52:49 +00:00
Matthew Kennedy af59c45adb
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 b3596f8969
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 20312b0009 Update date 2020-10-03 00:47:49 +00:00
GitHub build-firmware Action 4eb2d8b42c Auto-generated configs and docs 2020-10-02 18:35:16 +00:00
rusefillc 1436ad660f https://rusefi.com/forum/viewtopic.php?p=37989#p37989 2020-10-02 14:33:19 -04:00
GitHub set-date Action c40228d77e Update date 2020-10-02 00:47:06 +00:00
Matthew Kennedy c8b4fac456
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 a05b06f5f0
print red (#1843) 2020-10-01 17:14:25 -04:00
Matthew Kennedy fb85082e01
switch (#1839)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-10-01 01:36:33 -04:00
GitHub build-firmware Action 7a9a623b07 Auto-generated configs and docs 2020-10-01 04:06:05 +00:00
rusefi 1ed7d0579b making error codes available 2020-10-01 00:03:54 -04:00
GitHub set-date Action d9713c84a4 Update date 2020-10-01 00:49:04 +00:00
GitHub build-firmware Action 90b8c991da Auto-generated configs and docs 2020-10-01 00:21:49 +00:00
Matthew Kennedy 6ac9aad358
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 476c55fd4e Auto-generated configs and docs 2020-09-30 23:20:30 +00:00
Matthew Kennedy c96b05fb47
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 33ddf08e1d Update date 2020-09-30 00:47:11 +00:00
rusefi a0ee746837 Cypress artifact needs .hex file #1835 2020-09-29 18:50:51 -04:00
David Holdeman 0359e17853
add hex to bundle (#1836) 2020-09-29 17:04:41 -04:00
GitHub build-firmware Action 5f72947d6f Auto-generated configs and docs 2020-09-29 10:36:50 +00:00
Matthew Kennedy 16bfd39bac
Remove dead & useless config (#1834)
* remove dead config

* remove enum
2020-09-29 06:34:39 -04:00
GitHub build-firmware Action 6b7c42b85e Auto-generated configs and docs 2020-09-29 01:41:06 +00:00
David Holdeman d6bc2a70e7
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