Matthew Kennedy
924ca4f3a4
progress to fsio type safety ( #2137 )
...
* rename
* packed type safe fsio value
* comment
* rename
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-27 17:22:11 -05:00
Matthew Kennedy
b0f7fbf28a
create limp manager ( #2142 )
...
* move rev limit to limp manager
* call fatal error
* include order
* fix bug
* tests
* comment
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-26 17:30:46 -05:00
Matthew Kennedy
c0857d6f02
unused ivalue ( #2138 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-25 09:47:33 -05:00
Matthew Kennedy
90cdd2ee84
rename ( #2136 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-25 08:40:54 -05:00
Matthew Kennedy
c29f40bdf4
format in tests ( #2100 )
2020-12-18 08:48:19 -05:00
rusefillc
f147aabcd7
trigger and start button pins not displayed by "pins" command #2084
...
progress but not complete fix yet
2020-12-16 22:00:42 -05:00
Matthew Kennedy
abf683e775
test ( #2071 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-12 23:40:05 -05:00
shadowm60
92304460dd
Fsio eval check ( #2068 )
...
* FSIO error signaling
- wrong keyword in FSIO now shows up as nice TS error message
- added f7 debug option for vsCode as well.
* Keep unit_test happy
2020-12-12 20:03:52 -05:00
Matthew Kennedy
719e341eeb
start fuel pump as soon as trigger events happen ( #2038 )
...
* switch pump fsio logic
* value collision
* fuel pump in tests
* mock time since trigger
* test fp
* init pin in test
* fix gpio outputs in tests
* comment
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-10 01:23:24 -05:00
Matthew Kennedy
73fc01ceec
put back safe part of #2005 ( #2036 )
...
* put back some safe bits
* dumb typo
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 22:28:29 -05:00
rusefillc
8d6255b1e2
Revert "switch rpm calculator to use timer class ( #2005 )"
...
This reverts most of 622021e799
commit.
2020-12-06 18:05:53 -05:00
Matthew Kennedy
622021e799
switch rpm calculator to use timer class ( #2005 )
...
* add api
* rpm calculator
* fix fsio
* fix float
* remove wrong comment
* fix timer
* clang didn't like this
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 16:01:45 -05:00
Matthew Kennedy
bb2208fb52
add timer since last trigger tooth ( #2004 )
...
* add elapsed time to timer
* store trigger time
* fsio method
* don't do a 64b divide
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-03 11:13:45 -05:00
rusefillc
59655af204
Fuel pump should turn on at the first sign of engine rotation #1961
2020-12-02 23:09:39 -05:00
Matthew Kennedy
6b0c533d2c
consolidate EFI_UNIT_TEST and friends ( #1940 )
...
* restructure
* guard c++
* idle too
* status_loop.h
* consolidate definitions
* use 1/0 instead, check for existence
* missed a few
* dead define
* defs for bootloader
2020-11-11 20:34:39 -05:00
Matthew Kennedy
74d2af9c6c
Move all DECLARE_ENGINE_PTR etc to one place ( #1937 )
...
* restructure
* guard c++
* idle too
* status_loop.h
2020-11-11 19:06:04 -05: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
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
Matthew Kennedy
da3242f2fc
missing iat ( #1854 )
2020-10-04 21:33:54 -04: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
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
a11338d642
print red ( #1843 )
2020-10-01 17:14:25 -04: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
rusefi
ead14bd1ca
Revert "logging simplification: switch bare functions to member functions ( #1788 )"
...
This reverts commit 39280fb2
2020-09-12 04:36:24 -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
06763dc98f
Hellen says merge #1772 Kinetis needs help
2020-09-10 21:51:58 -04:00
rusefi
e289977e37
Hellen says merge #1772 main relay progress
2020-09-10 21:11:02 -04: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
3d0f92c4a1
microRusEFI used as Body Control Module BCM BCU
2020-09-07 11:09:48 -04:00
Matthew Kennedy
fc02c2bdf4
fix broken master, inject engine ptr to rpmcalculator ( #1759 )
...
* fix
* oops
2020-09-05 18:49:42 -04:00
rusefi
b7f7b917ec
A vague bug #1684
2020-08-08 21:38:09 -04:00
rusefi
6b2c1d4d59
NA6 progress
2020-07-29 22:48:41 -04:00
Matthew Kennedy
4703b4be6d
guard perf track lock hooks ( #1591 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-07-11 00:16:36 -04:00
Matthew Kennedy
1a0cad431b
trace global lock/unlock ( #1582 )
...
* trace global lock/unlock
* bootloader stub
* add to java
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-07-10 23:27:27 -04:00
rusefi
21c35874a5
idle_min through FSIO not working as intended #1553
2020-07-01 20:45:37 -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
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
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
19bef7870c
fixing build
2020-05-22 01:03:27 -04:00
rusefi
5c91d96ce6
new LED logic: constant WARNING if VBATT is below 7v
2020-05-13 01:17:48 -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
94ca216936
nicer error messages
2020-05-09 01:49:17 -04:00
rusefi
cfd8889236
class constructors are a great way to have simple initialization sequence
2020-05-03 10:58:52 -04:00
rusefi
0ec3ce595e
dead code
2020-04-26 17:40:12 -04:00
rusefi
6bf8e0deed
different take on remove warning message in tune #1347
2020-04-22 19:07:42 -04:00