Matthew Kennedy
64c8d7c494
unused ivalue ( #2138 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-25 09:47:33 -05:00
Matthew Kennedy
17554539d1
rename ( #2136 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-25 08:40:54 -05:00
Matthew Kennedy
7790453342
format in tests ( #2100 )
2020-12-18 08:48:19 -05:00
rusefillc
a47129693a
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
378d118118
test ( #2071 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-12 23:40:05 -05:00
shadowm60
593be1c943
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
f2426677db
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
22c74895a6
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
b3d45b909f
Revert "switch rpm calculator to use timer class ( #2005 )"
...
This reverts most of a26ed3eb5a
commit.
2020-12-06 18:05:53 -05:00
Matthew Kennedy
a26ed3eb5a
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
f1f64bd3e5
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
c36f76b68e
Fuel pump should turn on at the first sign of engine rotation #1961
2020-12-02 23:09:39 -05:00
Matthew Kennedy
bb8650179c
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
d992bab241
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
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
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
Matthew Kennedy
86b5edecbc
missing iat ( #1854 )
2020-10-04 21:33:54 -04: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
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
a05b06f5f0
print red ( #1843 )
2020-10-01 17:14:25 -04:00
Matthew Kennedy
97cb9f45bd
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
256a4a2637
Revert "logging simplification: switch bare functions to member functions ( #1788 )"
...
This reverts commit d941bdc5
2020-09-12 04:36:24 -04:00
Matthew Kennedy
d941bdc502
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
89bb08ddb6
Hellen says merge #1772 Kinetis needs help
2020-09-10 21:51:58 -04:00
rusefi
ec366b68ee
Hellen says merge #1772 main relay progress
2020-09-10 21:11:02 -04:00
rusefi
2840d2c276
Hellen says merge #1772 error pin logic
2020-09-09 18:35:17 -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
rusefi
cea0ec439b
microRusEFI used as Body Control Module BCM BCU
2020-09-07 11:09:48 -04:00
Matthew Kennedy
95798a5246
fix broken master, inject engine ptr to rpmcalculator ( #1759 )
...
* fix
* oops
2020-09-05 18:49:42 -04:00
rusefi
795c7acf31
A vague bug #1684
2020-08-08 21:38:09 -04:00
rusefi
196337a8de
NA6 progress
2020-07-29 22:48:41 -04:00
Matthew Kennedy
06360c2911
guard perf track lock hooks ( #1591 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-07-11 00:16:36 -04:00
Matthew Kennedy
38d3641c00
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
a83cef6934
idle_min through FSIO not working as intended #1553
2020-07-01 20:45:37 -04:00
rusefi
cfcf1cc7b3
index for fsio_analog_input
2020-06-01 22:39:56 -04:00
rusefi
0b5bb7c0cf
useFSIO6ForRevLimiter
2020-06-01 09:09:55 -04:00
Matthew Kennedy
b11c5cd8c8
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
160d034635
build and board info into critical error message
2020-05-22 16:45:13 -04:00
rusefi
0fb540f6cc
refactoring
2020-05-22 16:36:37 -04:00
rusefi
76224c40cd
fixing build
2020-05-22 01:03:27 -04:00
rusefi
257ed04fac
new LED logic: constant WARNING if VBATT is below 7v
2020-05-13 01:17:48 -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
rusefi
4ea0a3de26
nicer error messages
2020-05-09 01:49:17 -04:00
rusefi
11a02b6395
class constructors are a great way to have simple initialization sequence
2020-05-03 10:58:52 -04:00
rusefi
1b84406e77
dead code
2020-04-26 17:40:12 -04:00
rusefi
37de9d595a
different take on remove warning message in tune #1347
2020-04-22 19:07:42 -04:00
rusefi
ad7c4f23bc
Better handling in case of ETB idle without ETB #1332
2020-04-19 23:55:27 -04:00
rusEfi
2203b2867a
TS to show warning text
2020-04-19 21:42:00 -04:00
rusefi
ca19d2fb44
still the cost of remix 66-2-2-2
2020-04-19 18:58:22 -04:00
rusefi
71e7fb7e50
TT_RENIX_66_2_2_2
2020-04-19 14:54:02 -04:00
rusefi
5af28a08d6
FSIO RPN progress
2020-04-18 21:01:23 -04:00
Matthew Kennedy
4d24fdd57d
Fuel/ign correctino on new temp sensors ( #1318 )
...
* corrections
* test
* adv map
* tests
* cleanup
* lcd
* fsio
* unneeded
* more math
* last consumer
* cleanup
* fix kinetis
2020-04-18 18:45:30 -04:00
Matthew Kennedy
7f0e07d9c7
new clt/iat: OBD and CAN dash ( #1317 )
...
* corrections
* CAN consumers
* can consume
* obd, lcd
* Revert "corrections"
This reverts commit 0003b270ce8344f7eefe7dbb87a9de7cffc5b8a8.
* iat
2020-04-18 15:53:04 -04:00
Matthew Kennedy
bc15e0826d
CLT consumer: fsio ( #1302 )
...
* idle
* CLT test prep
* idle target
* header
* air interpolate
* ancient comment
* fuel cut
* fuel cut, idle tests
* cleanup
* fsio test help
2020-04-15 16:20:45 -04:00
Matthew Kennedy
626e8586a4
fix again ( #1280 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-10 19:02:37 -04:00
Matthew Kennedy
84e73e37dd
tps ( #1279 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-10 17:49:13 -04:00
rusefi
f0a4dffacb
PPS FSIO not complete support
2020-04-10 17:46:56 -04:00
rusefi
3f56e751d4
better message?
2020-04-10 17:45:04 -04:00
rusefi
1bea04a2ed
I got distracted as usual :(
2020-04-10 15:49:44 -04:00
Matthew Kennedy
c33079eb46
cleanup ( #1259 )
2020-04-04 15:59:13 -04:00
Matthew Kennedy
8fd9842310
cleanup extern mess ( #1237 )
...
* cleanup
* move outside define
2020-03-29 19:06:03 -04:00
rusefi
5c2794c2e0
critical error usability improvements
2020-03-28 21:28:32 -04:00
rusefi
6f5468d3ea
critical error usability improvements
2020-03-28 20:14:17 -04:00
rusefi
6d848b6bda
code style
2020-03-28 19:49:36 -04:00
Matthew Kennedy
53679fab54
Finally rename injector_central to bench_test ( #1229 )
...
* bench test rename
* rename consumers
* good lord what are all of these externs doing
* fix tests
2020-03-26 08:03:55 -04:00
Matthew Kennedy
2349d74f0b
Default to applyPinState ( #1219 )
...
* make applyPinState default
* consumers
* format
2020-03-25 18:14:09 -04:00
rusefi
165160bb40
random header clean-up
2020-03-23 09:00:57 -04:00
rusefi
0b7a929587
progress towards start/stop
2020-03-18 19:41:12 -04:00
rusefi
1012df4511
progress towards start/stop
2020-03-18 16:32:03 -04:00
Matthew Kennedy
397907a06f
Support disabling most/all features ( #1162 )
...
* this flag did nothing
* guard features properly
2020-02-26 18:16:35 -05:00
Matthew Kennedy
8c118f2fbe
Stricter compile options ( #1132 )
...
* stricter
* don't warn on that one
* this code was dead
2020-02-08 08:05:40 -03:00
rusefi
f6e7e8871a
VVT refactoring & assertions for VVT test
2020-01-31 01:49:10 -05:00
rusefi
8a88c90f3b
code style: trying to get used to this syntax
2020-01-22 00:45:09 -05:00
rusefi
0c3f73c2b4
code style
2020-01-21 01:47:58 -05:00
rusefi
bb217b01dd
happy new year unification
2020-01-13 21:57:43 -05:00
rusefi
b83a5310be
happy new year
2020-01-08 00:02:40 -05:00
rusefi
eac3373645
docs
2019-12-17 08:56:08 -05:00
rusefi
addfd692ce
fixing build
2019-12-15 23:33:15 -05:00
rusefi
af4f20551b
getting rid of boardConfiguration / binary compatible change
2019-12-11 17:48:55 -05:00
rusefi
813b6aa6ce
The Big Refactoring of 2019: folder structure #723
2019-12-04 01:11:10 -05:00
rusefi
1c96d9541e
refactoring
2019-12-02 23:08:18 -05:00
rusefi
b04166d173
that's how we can move all fields one by one from boardConfiguration to engineConfiguration
...
my approach is to move fields from the bottom of BC struct
2019-11-30 10:24:37 -05:00
andreika-git
1808642af1
Starter relay + Hardcoded 'FSIO' + simulator fix ( #1032 )
...
* Starter Relay: gui + built-in FSIO impl.
* Hardcoded 'FSIO' replacement for RAM-limited boards
* fix simulator
2019-11-25 20:08:01 -05:00
andreika-git
9a0b66791b
unregisterOutput() + isPinOrModeChanged() + Stepper::stepPin+enablePin + Kinetis fix ( #1029 )
...
* Fix isConfigurationChanged() for EFI_ACTIVE_CONFIGURATION_IN_FLASH
* unregisterOutput() -> unregisterOutputIfPinOrModeChanged()
* clutchUpPinMode for unregisterPin()
* Fix Kinetis: EFI_ACTIVE_CONFIGURATION_IN_FLASH & EFI_MAIN_RELAY_CONTROL
* Stepper: enablePin & stepPin with modes support
2019-11-25 00:02:53 -05:00
Matthew Kennedy
2460a309ae
Make sure #798 is good and dead ( #1028 )
...
* Revert "CI instability: FATAL error: warn stream not initialized for 6039 - maybe buffer overrun? #798"
This reverts commit ee674dc979
.
* Revert "CI instability: FATAL error: warn stream not initialized for 6039 #798"
This reverts commit 3bf29b6963
.
* fix correctly
* use correct function
2019-11-23 21:25:29 -05:00
rusefi
3bf29b6963
CI instability: FATAL error: warn stream not initialized for 6039 #798
2019-11-23 17:07:13 -05:00
rusefi
ee674dc979
CI instability: FATAL error: warn stream not initialized for 6039 - maybe buffer overrun? #798
2019-11-23 16:41:59 -05:00
rusefi
ad7e36c228
refactoring
2019-11-20 01:35:08 -05:00
rusefi
7dfdfc6378
docs & code formatting
2019-11-19 18:17:03 -05:00
rusefi
9fd45aea19
micro-optimization: replacing by-referece access with direct static access for real firmware
2019-11-13 21:43:24 -05:00
Matthew Kennedy
8969efaffe
fix ( #1005 )
2019-11-13 08:42:16 -05:00
rusefi
c9b994ba0d
Revert "restoring #1003"
...
This reverts commit 08940cc6
2019-11-12 23:18:48 -05:00
rusefi
08940cc6c0
restoring #1003
2019-11-12 22:17:29 -05:00
rusefi
4b1c1e72ab
time to panic and revert more
2019-11-12 21:42:44 -05:00
Matthew Kennedy
0570ef4c42
Fix ( #1004 )
...
* Revert "fixing build"
This reverts commit 22da8a7dfe
.
* undo overzealous ifdef cplusplus
2019-11-12 01:13:13 -05:00
rusefi
cc6381fe96
evil manual merge of https://github.com/DonaldBecker/rusefi
2019-11-05 20:07:55 -05:00
rusefi
2e3e53c613
custom codes cleanup
2019-11-04 09:20:00 -05:00
rusefi
058e264e0c
CI instability: FATAL error: warn stream not initialized fix #798
2019-11-03 22:15:49 -05:00
rusefi
88348ebd09
refactoring: reducing code duplication
2019-10-21 23:47:40 -04:00
rusefi
ca6e49dcbc
preparation for #961
...
macro as a syntax sugar for method invocation
2019-10-10 07:28:52 -04:00
rusefi
42dc9e3662
fancy C++ s/NULL/nullptr/
2019-10-08 01:26:35 -04:00
rusefi
f600bbc6d7
ETB target is using integer values #945
...
refactoring - ADC mocking is a mess
2019-09-22 10:02:07 -04:00
rusEfi
d5ef749761
s/NULL/nullptr/
2019-09-22 08:22:35 -04:00
rusEfi
f843968636
ETB target is using integer values #945
...
first we will write a unit test
2019-09-22 00:16:46 -04:00
rusefi
0829d70012
reducing complexity
2019-09-20 01:06:15 -04:00
rusefi
8dcb2d9690
BUG: FSIO logic requires a pin to calculate fix #933
2019-09-18 23:22:15 -04:00
rusefi
ddbd96ba72
BUG: FSIO logic requires a pin to calculate fix #933
2019-09-18 22:07:02 -04:00
rusefi
f48f60bb36
unit tests progress
2019-09-18 21:48:46 -04:00
rusefi
c4339e17d8
unit tests progress
2019-09-18 21:38:45 -04:00
rusefi
4f4f4ddfd9
FSIO progress
2019-09-13 21:07:34 -04:00
rusefi
dfc0743e9a
Delayed A/C compressor switch #922
...
unit tests skeleton
2019-09-12 07:31:13 -04:00
rusefi
a6fbc5036a
Delayed A/C compressor switch #922
2019-09-11 20:46:50 -04:00
rusefi
2349ea237a
Delayed A/C compressor switch #922
2019-09-11 19:30:36 -04:00
rusefi
448d99a2c8
Delayed A/C compressor switch #922
2019-09-10 23:49:21 -04:00
rusefi
47d8cdf0ac
Delayed A/C compressor switch #922
2019-09-10 22:55:58 -04:00
rusefi
86e421e0ee
fatalErrorPin setting is not used #926
...
reducing configuration fragility
2019-09-09 21:44:48 -04:00
rusefi
47f97d1246
has been a while so safe to assume everyone has default value
2019-09-08 22:17:51 -04:00
rusefi
eb58ebda87
Delayed A/C compressor switch #922
2019-09-08 21:09:45 -04:00
rusefi
e79287f537
Delayed A/C compressor switch #922
2019-09-08 21:05:03 -04:00
rusefi
1bd4fb8f09
docs & naming consistency
2019-09-01 11:59:39 -04:00
rusefi
7842c7305f
Live Data progress
2019-09-01 00:45:36 -04:00
rusefi
2804b31e7e
cranking fuel live data #911
2019-08-26 23:41:04 -04:00
rusEfi
1a1fe77ff8
MRE ETB
2019-08-15 01:59:15 -04:00
rusefi
36a8cf8ad4
CI instability: FATAL error: warn stream not initialized for 6039
...
also some refactoring
fix #798
2019-08-04 13:48:10 -04:00
rusefi
9e461e7c27
Annotations in C++ code to produce formulas in rusEfi console #807
2019-07-13 09:00:03 -04:00
rusefi
4b0ed3751f
More than one aux pid #866
...
progress!
2019-07-12 08:31:38 -04:00
Matthew Kennedy
77075fce3d
Fix some maf logic ( #880 )
...
* fix maf
* thank you vscode for mangling ANSI -> utf8
2019-07-10 09:14:47 +03:00
rusefi
fecf83e4d2
order of includes consistency
2019-07-05 20:03:32 -04:00
rusefi
83ad64eade
Refactoring: OS access should be explicit #867
2019-07-04 03:57:21 -04:00
rusefi
0295c343b9
Refactoring: OS access should be explicit #867
2019-07-04 03:25:35 -04:00
rusefi
b81c60cf3e
Refactoring: OS access should be explicit #867
2019-07-03 21:48:04 -04:00
rusefi
d9c3eba470
Annotations in C++ code to produce formulas in rusEfi console #807
2019-06-27 06:47:13 -04:00
rusefi
13fefc6245
Annotations in C++ code to produce formulas in rusEfi console #807
2019-06-18 23:23:30 -04:00
rusefi
717af8a681
TPS Live Documentation
2019-06-17 21:37:11 -04:00
rusefi
a8f456b807
Annotations in C++ code to produce formulas in rusEfi console #807 ( #847 )
...
* Annotations in C++ code to produce formulas in rusEfi console #807
firmware part of the change
* removing unneeded stuff & fixing unit test compilation
* not complete better unit test compilation fix :(
* better C++ usage
2019-06-17 12:18:55 -04:00
rusefi
30847db935
adding support for smaller table axis
2019-06-10 12:38:32 -04:00
Matthew Kennedy
95003e9a7b
const, explicit, and override ( #831 )
...
* const, explicit, and override
* more const
* more const
* missed a spot
2019-06-08 09:51:36 -04:00
rusefi
5f642ac254
unit tests should not have global context, including mock values
2019-05-27 15:56:12 -04:00
rusefi
b11924952a
more PROD code into unit test
2019-05-12 20:31:28 -04:00
rusefi
7bcaf8ee9c
todo
2019-05-10 22:10:40 -04:00
rusefi
d7fd0ce6c1
refactoring: better method name
2019-05-07 19:32:08 -04:00
rusefi
ac2a81d381
The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657
...
maybe probably pointless refactoring? reducing parameters visibility
2019-05-03 18:41:43 -04:00
andreika-git
370b0dd003
Default config refactor ( #762 )
...
* Refactor config
* Fix FSIO_ANALOG_INPUT_COUNT
2019-04-16 10:27:34 -04:00
rusefi
541c445a2d
defined(__DOXYGEN__) ? #748
2019-04-12 22:07:03 -04:00
rusefi
22ad223d75
smarter PWM API - need to pass arbitrary pointer
2019-04-12 20:11:27 -04:00
rusefi
91ac74c1c9
learning C++
2019-04-12 19:56:34 -04:00
rusefi
8d924a2f49
The Big Refactoring of 2019: folder structure #723
2019-04-09 23:17:09 -04:00
rusefi
0aac3c8f41
we need TLE8888 driver #714
2019-04-04 23:03:32 -04:00