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
605e2590f1
buffered writer - progress on #1463 ( #1875 )
...
* add buffered writer
* rename
2020-10-12 15:10:34 -04: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
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
rusefillc
a9d669ba83
HW CI has failed 11 times since Oct 2 #1849
2020-10-03 20:53:23 -04:00
rusefillc
dd7dd3b8eb
HW CI has failed 11 times since Oct 2 #1849
2020-10-03 20:25:37 -04: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
rusefi
eae7995782
Output pin init/deinit needs a linked list #1803
2020-09-27 07:48:38 -04:00
rusefi
97982cc22f
Output pin init/deinit needs a linked list #1803
2020-09-27 07:26:56 -04:00
rusefi
0b628cea75
Output pin init/deinit needs a linked list #1803
2020-09-27 07:22:09 -04:00
rusefi
1e503c2ada
Output pin init/deinit needs a linked list #1803
...
more fun around pin referencing
2020-09-26 05:04:27 -04:00
rusefi
dfbbdff4b1
Output pin init/deinit needs a linked list #1803
2020-09-18 13:29:17 -04:00
rusefi
35db68a6ae
Output pin init/deinit needs a linked list #1803
2020-09-18 13:01:09 -04:00
rusefi
6c88cbe533
Output pin init/deinit needs a linked list #1803
2020-09-17 19:41:28 -04:00
rusefi
c37e1c8b70
Output pin config #1803
...
alternative to #1800
2020-09-17 19:35:43 -04:00
rusefi
e3056bb397
Engine runs we can disengage the starter #1795
2020-09-14 00:45:15 -04:00
rusefi
8bcc387fa7
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
3af04d7824
Hellen says merge #1772 error pin
2020-09-09 18:18:59 -04:00
Matthew Kennedy
d2d0ffa1ee
remove tach output pin ( #1779 )
...
* remove from cfg
* cfg
* rip out impl
* efi gpio
2020-09-09 16:52:23 -04:00
rusefi
8197209719
https://github.com/rusefi/rusefi/issues/1775
2020-09-08 17:20:14 -04:00
Matthew Kennedy
4527b7694a
expose the problem
2020-07-31 14:41:29 -07:00
Matthew Kennedy
93d631b911
init & override
2020-07-29 02:45:39 -07:00
Matthew Kennedy
cd62774be1
dead
2020-07-29 02:45:30 -07:00
rusefi
f42e08c8e5
bootloader not well? temporary bad workaround #1638
2020-07-25 19:14:09 -04:00
rusefi
a81a5e3c04
bootloader not well? fix #1638
2020-07-25 19:04:15 -04:00
Matthew Kennedy
131f4c4e8f
Merge remote-tracking branch 'upstream/master' into reset-overlap
2020-07-20 18:43:17 -07:00
rusefi
48cc155144
changing crazy in composite logger
2020-07-20 21:20:58 -04:00
Matthew Kennedy
8b0d6a26cf
Merge remote-tracking branch 'upstream/master' into reset-overlap
2020-07-20 13:27:51 -07:00
Matthew Kennedy
9c736a2c3d
test
2020-07-20 03:29:43 -07:00
Matthew Kennedy
428f2fe247
Merge remote-tracking branch 'upstream/master' into reset-overlap
2020-07-19 13:52:45 -07:00
Matthew Kennedy
94635f9f33
encapsulate ( #1617 )
2020-07-19 16:46:28 -04:00
rusefi
222655517b
better unit test logging
2020-07-19 15:25:49 -04:00
rusefi
54c9bf21ca
better unit test logging
2020-07-19 14:58:46 -04:00
Matthew Kennedy
77294ae542
encapsulate overlap logic
2020-07-18 23:03:12 -07:00
Matthew Kennedy
b7336e953e
comments & improve logic
2020-07-16 23:55:41 -07:00
rusefi
fb5756fe3e
nope, unit tests did not just fix themselves
2020-06-17 08:42:37 -04:00
Matthew Kennedy
f6bae09ee7
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
rusefi
200575ec87
Trigger decoding issues (60-2) #1488
...
100us is too much, 10us is more reasonable
2020-06-15 00:12:50 -04:00
rusefi
f3344753e8
Trigger decoding issues (60-2) #1488
...
interesting stuff potentially with a not so great setting
2020-06-14 23:41:39 -04:00
rusefi
f9087fdf72
Trigger decoding issues (60-2) #1488
...
very mild refactoring - better names & moving initializers
2020-06-14 23:34:45 -04:00
Matthew Kennedy
b906d12268
Fix gppwm properly ( #1487 )
...
* directly control output in onoff mode
* test fixing
2020-06-11 20:43:26 -04:00
Matthew Kennedy
3a7c6f242b
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
rusefi
a4329169e9
better file name
2020-05-25 13:02:05 -04:00
Matthew Kennedy
445f1c28f4
dead datalog code ( #1439 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-16 00:11:52 -04:00
rusefi
23c6ec59a3
docs
2020-05-15 18:08:11 -04:00
rusefi
047d2e0ce1
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
Matthew Kennedy
96a800acb9
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
4ea0a3de26
nicer error messages
2020-05-09 01:49:17 -04:00