Matthew Kennedy
86562332c4
resurrect EFI_CLOCK_LOCKS ( #4572 )
...
* resurrect EFI_CLOCK_LOCKS
* missing extern
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-09-13 14:07:25 -04:00
rusefillc
9c83cfd696
moving SD logic to better source
2022-09-12 20:39:43 -04:00
Andrey G
91d4844e38
time routines refactor ( #4563 )
...
* Extract time helpers from engine_controller_misc to efitime.cpp
* Rename currentTimeMillis() to getTimeNowMs()
We have getTimeNowNt(), getTimeNowUs(), currentTimeMillis() and getTimeNowSeconds()
Align a bit.
find . -type f -name '*.c*' -exec sed -i 's/currentTimeMillis/getTimeNowMs/g' {} \;
* Rename getTimeNowSeconds() to getTimeNowS()
To align with Nt, Us, Ms versions.
* Some comments about getTimeNowLowerNt()
2022-09-11 13:06:03 -04:00
Andrey
71e5fbcb55
refactoring: reducing outputChannels copy
2022-09-04 22:38:05 -04:00
Andrey
632bf967bb
refactoring: reducing outputChannels copy
2022-09-03 17:12:47 -04:00
Andrey
d329f8ae10
tear down Engine god object #4511
...
just trying different things
2022-09-03 07:44:24 -04:00
rusefillc
25f4ebbc01
moving state into specific class ( #4520 )
...
* moving state into specific class
* moving state into specific class
2022-09-02 14:38:03 -04:00
Andrey
7e340cceb3
refactoring: reducing outputChannels copy
2022-09-01 10:58:16 -04:00
Andrey
e240ac84d3
refactoring: reducing outputChannels copy
2022-09-01 01:06:49 -04:00
Andrey
4cbaddcc60
less code is better
2022-08-31 23:14:20 -04:00
Andrey G
9997bf95e0
output channels: isFuelPumpOn vs isPumpOn, remove second one ( #4490 )
2022-08-27 14:28:33 -04:00
rusefillc
2baae2adc0
docs
2022-08-23 22:25:08 -04:00
Matthew Kennedy
9738ba84ae
log missed exti events ( #4473 )
...
* log missed exti events
* units
* s
* guard
* stub for non stm32
2022-08-23 19:45:28 -04:00
rusefillc
f9b50c2523
better method name
2022-08-22 18:07:59 -04:00
Matthew Kennedy
423f69a842
allow logging multiple warnings at once ( #4414 )
...
* allow logging multiple warnings at once
* comment
* .Code
* Revert ".Code"
This reverts commit 2b986bd50035aeec051d11aafd83fdbc1694351c.
* add a better comparison operator instead of conversion
* dot code
* Revert "dot code"
This reverts commit 35f6ae1007c41e3b30ea129a324f33ab4205036d.
* force gcc-10 maybe?
* Revert "force gcc-10 maybe?"
This reverts commit 4ddf8bcefddd354ccdc1da682c5fff1e68d44273.
* vq
* dot code
* dead
* dot code
* return may be null
* static_vector; maybe cyclic_buffer is broken or wrong tool for the job?
* move static vector
* put cyclic buffer back how it was since we don't use it now
2022-08-17 01:12:25 -04:00
rusefillc
34bef1b3d2
https://github.com/rusefi/alphax-4chan/issues/57
2022-08-11 10:54:54 -04:00
Matthew Kennedy
ed5f1b3d57
more CAN verbose ( #4402 )
...
* add stuff
* don't read invalid value
2022-08-01 15:27:06 -04:00
Matthew Kennedy
b6f1779781
implement sensor checker ( #4395 )
...
* implement sensor checker
* use default
* s
* fix
* properly report non-timeout errors
* it's not safe to read Value when invalid
* it's not safe to read Value when invalid
2022-07-30 17:08:48 -04:00
Matthew Kennedy
d4b8a036af
Log gppwm output values ( #4385 )
...
* remove debug option
* purpose built output channels
* name
* embiggen sd log buffer
* Revert "embiggen sd log buffer"
This reverts commit 37432a56535b24c221ae92e9aaded23de4d4a579.
* embiggen SD log buffer
2022-07-27 12:10:00 +03:00
Matthew Kennedy
b99d90b006
Start -> start ( #4366 )
2022-07-21 15:17:32 -04:00
rusefillc
90e98bacbf
scaling of microRusEFI ADC gauges fix #4356
2022-07-18 08:26:17 -04:00
rusefillc
8a8a214927
raw aux inputs gauges fix #4346
2022-07-15 06:37:30 -04:00
Matthew Kennedy
e9d092f975
big delete ICU ( #4270 )
...
* big delete
* icu vestiges
* changelog
2022-07-07 15:27:59 -04:00
rusefillc
f7ecebaa64
logging of live data structs was: data points #3614
2022-06-29 02:37:24 -04:00
Matthew Kennedy
4ada633206
Remove third trigger channel ( #4226 )
...
* remove third trigger
* clean up the honda mess
* there was nothing novel about this engine config
* include
* missed a few
* s
* x
* changelog
* don't set the third trigger input
* don't redefine the same thing 3 times
* only two inputs!
* test
2022-06-01 21:24:20 -04:00
rusefillc
fc81ef9ce5
hard requirement for console version match #4187
2022-06-01 11:07:28 -04:00
rusefillc
cbc4a42954
Maintenability: frequency sensors need a simple event counter in the logs #4173
2022-05-14 08:39:08 -04:00
Matthew Kennedy
170d574a5d
move logic in to trigger decoder ( #4162 )
...
* move logic in to trigger decoder
* status loop
* minor cleanup
* s
2022-05-10 23:55:28 +03:00
Matthew Kennedy
e4a0979dc2
Brain pin is enum class ( #4108 )
...
* change most usages to Gpio::
* board configs
* engine configs etc
* isBrainPinValid, smart gpio
* generator
* generator
* generator
* connector yamls
* kinetis enums
* cypress txt
* kinetis config
* frankenso
* config generator
* actually do it for the others
* disable skips for pr ci
* fix tle8888
* misc
* weird cast from int
* needs this operator too
* this can be an unsigned subtract
* happy tests
* s
* kinetis isConfigurationChanged weirdness
* missed J/K
* cypress efifeatures
* build script mistake (!)
* mistake in smart gpio
* debounce
* eg33
* kinetis, so needy
* it's pretty green, we can skip these again
2022-04-28 17:32:39 -04:00
Matthew Kennedy
bc6a87cadc
allow enum_class in rusefi_hw_enums.h ( #4104 )
...
* make things c++ friendly
* install various canaries in coal mines
* using is much clearer than typedef
* fixing builds
* lps25
* trigger includes were a mess
* c -> c++ cleanup
* os util
* why did so many include os_util.h?
* fwd declare
* cypress/kinetis
* s
* eg33 happy
* happy sim
* cypress usb
* pch
* cypress
* doesn't need to include all that
* h7
2022-04-25 20:38:16 -04:00
David Holdeman
1747b6a6e6
Add ISS sensor, rearrange some transmission config ( #4089 )
...
* move other solenoids to new dialog
* change name of menu item
* move buttonshift to new dialog
* add ISS config
* add some iss code
* add iss output
* de-init ISS
2022-04-21 09:07:52 -04:00
Matthew Kennedy
16de438ab8
knock threshold table fix ( #4077 )
...
* fix knock threshold table
* defaults
* knock controller is engine module
* testable
* test builds
* knock tests work
* s
* format
* everyone loves changelogs
2022-04-18 08:03:16 -04:00
rusefillc
07f210a82b
random progress & method rename
2022-04-16 17:35:59 -04:00
Matthew Kennedy
17f741327f
aux linear fixes ( #4069 )
2022-04-15 07:22:52 -04:00
rusefi
18a193b8e3
American
2022-04-09 17:53:24 -04:00
Matthew Kennedy
f0b810a81c
Gear detection implementation ( #4052 )
...
* gear detect improvements
* ui
* ui for gear ratios
* ui
* output channel
* output channels etc
* implement gear detection
* name
* s
* status loop
* missing function
* ui tweaking
* s
2022-04-07 09:21:11 -04:00
Matthew Kennedy
ad368b2031
Gear detection improvements ( #4047 )
...
* gear detect improvements
* ui
* ui for gear ratios
* ui
2022-04-06 16:15:58 -04:00
Matthew Kennedy
61e9cdd483
don't get afr raw if no sensor exists ( #4040 )
...
* don't get afr raw if no sensor exists
* fix timing correction units
2022-04-03 17:39:29 -04:00
Matthew Kennedy
f742ae8b7e
limp mangaer handles more stuff ( #3983 )
2022-03-20 09:28:17 -04:00
rusefillc
873d4e26cb
refactoring
2022-03-14 23:02:00 -04:00
Matthew Kennedy
f1897ba7aa
less dependence on that logger ( #3884 )
...
* less dependence on that logger
* comma
* refactor a bit, make it clear what this thing actually *does*
* static
* shrink the buffer a bit and make names useful
* dead util that's just subtraction lol
2022-02-09 06:53:16 -05:00
rusefillc
b00c39df3e
LUA to read if USB is connected or not. #3891
2022-02-04 17:25:05 -05:00
rusefillc
42deca0fd0
Main relay shutdown rebase ( #3880 )
...
* aggregate
* main relay controller handles delayed shutoff
* main relay controller handles delayed shutdown
Co-authored-by: Matthew Kennedy <matthewkennedy@outlook.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-02-02 00:45:11 -05:00
Matthew Kennedy
a718f3a30a
Remove fsio part 1 ( #3871 )
...
* dead includes
* move last logic out of fsio
* dead functions
2022-02-01 15:42:04 -05:00
Matthew Kennedy
5865f65e1e
remove getDebugChannels ( #3850 )
2022-01-27 19:21:05 -05:00
Matthew Kennedy
717d931e78
refactor decel fuel cut ( #3830 )
...
* refactor dfco
* s
* output channel logs dfco
* slightly cheeky comment
2022-01-23 19:44:41 -05:00
Matthew Kennedy
697846413d
Raw map and ego gauges ( #3822 )
...
* raw afr and map
* gauges
* s
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-01-21 15:53:16 -05:00
Andrey
3bc59bfbb6
migrating to SensorType::Rpm API
2022-01-20 22:27:48 -05:00
rusefillc
e4043cacda
Gear detection based on RPM to VSS ratio #3779
2022-01-14 21:32:46 -05:00
Matthew Kennedy
7d341cfc9d
improve maf output channels and logging ( #3743 )
...
* maf channels
* s
* binary log
* if only I could type
* can
* instant RPM too
* s
* test
* graceful zero rpm
* test works
* float near
2022-01-12 15:41:35 -05:00