rusefillc
e1668402f6
cmd_test_main_relay
...
helping build
2021-01-11 20:01:20 -05:00
rusefillc
1431baefbc
cmd_test_main_relay
2021-01-11 19:37:50 -05:00
rusefillc
4416d1c7dc
cmd_test_main_relay
2021-01-10 23:46:50 -05:00
rusefillc
494b6caf3b
cmd_test_main_relay
2021-01-10 20:30:08 -05:00
Andrey G
2af32084f4
gpio helper ( #2195 )
...
* gpios: isBrainPinValid helper
* LCD HD44780: do not touch pins if DM_NONE or invalid gpio
* Fix isEnabled checks for GPS and Joystick
* LCD HD44780: writePad use this method wider
2021-01-08 20:01:26 -05:00
Matthew Kennedy
92ea09b0a6
switch more map to read from sensor model ( #2162 )
...
* hook up map
* check for init
* switch some consumers
* that's the rest of them
* test
* tests
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-02 19:13:10 -05:00
Matthew Kennedy
ba2c675ffa
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
ff4ce2fb1f
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
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