rusefillc
bee1eb2c6b
very old very dead code
2021-10-20 10:38:36 -04:00
rusefillc
f463f6501f
more relaxed VVT debug field
2021-10-17 14:21:09 -04:00
rusefillc
504bd78814
Remove engine load acceleration enrichment fix #3357
2021-10-16 21:24:05 -04:00
rusefi
ac988225bd
some cheap used junkyard Accelerometer #2225
...
MM5.10
2021-10-06 15:05:29 -04:00
rusefillc
79fd7586e0
some cheap used junkyard Accelerometer #2225
...
MM5.10
2021-10-06 00:19:33 -04:00
Matthew Kennedy
dab377d15d
getOrZero ( #3319 )
2021-10-05 19:59:07 -04:00
Matthew Kennedy
36d8799105
break up sensors even more ( #3318 )
2021-10-05 19:06:17 -04:00
rusefillc
3b22dc5fc8
https://github.com/rusefi/rusefi/issues/3302
2021-10-05 15:30:51 -04:00
Matthew Kennedy
34d8014202
clean up debug channels in status_loop.cpp ( #3317 )
...
* FSIO is going away eventually
* dead modes
* rx8 hmm
* break out tps debug
2021-10-05 15:27:08 -04:00
Matthew Kennedy
b84df3dda8
dead map ( #3316 )
2021-10-04 18:33:10 -04:00
Matthew Kennedy
5b9c2b6c0e
reduce updateTunerStudioState stack usage ( #3308 )
...
* break out in to functions
* 100 more saved
* happy simulator
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-10-03 16:24:34 -04:00
Matthew Kennedy
48da721c49
dead knock code ( #3255 )
...
* more unification
* hip stub
* comment
* guard
* channel idx
* include
* hip
* move in to engine
* hip9011
* dead stuff
* dead
* fsio
* lcd
* more dead
2021-09-21 20:40:20 -04:00
Matthew Kennedy
f6e269a3ab
remove old vss implementation ( #3208 )
...
* dead vss
* remove
2021-08-28 01:39:55 -04:00
Matthew Kennedy
e056369f05
actually remove FSIO idle stuff ( #3150 )
...
* debug mode
* pid cleanup
* more dead
* more dead
* wow more dead
* much dead many death wow
2021-08-14 09:48:45 +03:00
alxrMironov
9d1ce540c4
Begin "vehicleSpeed" refactoring. Module switched to "FunctionalPointerSensor" class. #3106 #3107 #3108 . ( #3132 )
...
* Add new sensor type "VehicleSpeed"
* Add "Vehicle speed" sensor to name list
* Add Vehicle speed sensor initialization with function pointer sensor.
* Add init_vehicle_speed_sensor.cpp to Makefile
* Replace dependencies from "getVehicleSpeed" to OOP-like "Sensor::get()"
* Add warning and TODO to "mock vehicle speed" call
* Replace get & mock "VehicleSpeed" methods in tests
* Remove #warning directive (cause error by current settings)
* Remove stray tab
* Remove explicitly type casting.
* Add "InitVehicleSpeedSensor" function declaration to init.h
* Add "VehicleSpeedSensor" initialization call into "InitNewSensors"
Co-authored-by: alxrMironov <330OMcorporative>
2021-08-12 22:16:51 +03:00
Matthew Kennedy
4e6b61234f
yet more pch ( #3068 )
...
* big pch energy
* put back ramdisk stub
* tests are happy
* h743 nucleo
* kinetis
* I love deleting code!
* make stepper happy
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-03 22:05:01 -04:00
Matthew Kennedy
d3ec2b21d1
Use pch in lots of files ( #3066 )
...
* most engine.h
* most engine_configuration
* more
* more
* more
* more
* more
* moooooore
* ok I'm done for now
* oops
2021-07-26 01:05:17 -04:00
Matthew Kennedy
3fa7a52a84
fan indicators + test buttons ( #3002 )
...
* sd bits
* rusefi.input
* second fan bit
* fans
2021-07-20 23:26:06 -04:00
Matthew Kennedy
dfaac25df1
sd card indicators ( #3001 )
...
* sd bits
* rusefi.input
2021-07-20 21:29:24 -04:00
Matthew Kennedy
7d709950f7
force init LEDs even with fatal ( #2998 )
2021-07-20 17:09:52 -04:00
rusefillc
9570458aea
NB2 trigger shape does not seem to match JimStim #2980
2021-07-17 16:12:54 -04:00
Matthew Kennedy
e3849b95d5
don't require EXTERN_ENGINE in every file ( #2969 )
...
* move enginePins
* no more extern engine
* uses
* more
* extern config too
* put this where it belongs
* include correct header
* merge
2021-07-16 18:13:33 -04:00
Matthew Kennedy
ff31301284
trailing coils ( #2937 )
...
* gpio wiring
* plumbing
2021-07-09 15:51:30 -04:00
Andrey
09fee427c4
fix vvt indication #2926
...
only field rename
2021-07-08 09:25:31 -04:00
Matthew Kennedy
717d4dd7ac
Unified cyl count macro ( #2914 )
...
* update test framework
* eh
* hey look it's fewer warnings
* unwind
* fix
* config
* configs
* logic
* even java had some
* console needs help
2021-07-06 20:14:08 -04:00
Matthew Kennedy
fe6f123be5
Move AC logic out of FSIO ( #2872 )
...
* new impl
* remove fsio
* inject "is ac active" to fan
* include the correct code
* include
* test
* more AC features
* AC switch vs. actual AC indicators
* include
* duh
2021-06-27 18:51:34 -04:00
Andrey G
5c552e196a
TS communication minor fixes ( #2847 )
...
* console: noone use this
* console: do not stop blinking if TS command executes too long
Set and clear flag from the same place
Co-authored-by: rusefillc <48498823+rusefillc@users.noreply.github.com>
2021-06-23 04:36:55 -04:00
Andrey
d7789bc2a0
those and many other offsets are no longer correct
2021-06-21 02:11:36 -04:00
Matthew Kennedy
c77686ce3b
gauges for raw TPS ( #2831 )
...
* ecu part
* gauges
* debug info for ford throttle
* sensible order
2021-06-18 16:27:44 -04:00
rusefillc
68d2fdb6ce
https://rusefi.com/forum/viewtopic.php?f=16&t=2027
2021-05-27 05:50:59 -04:00
Andrey G
6d849d05c7
Hw layer rearrangement ( #2703 )
...
* max31855: move to sensors
* uart GPS driver: move to sensors and rename
* i2c_bb: move to drivers
* LCD HD44780: move to drivers
* ping?
2021-05-16 06:01:00 -04:00
Matthew Kennedy
ad505bfb1b
idle indicators ( #2692 )
...
* add coasting bit
* remove useless bit
2021-05-13 17:35:00 -04:00
Matthew Kennedy
047f62b2b9
remove deprecated getEngineLoadT ( #2676 )
...
* remove
* few more
2021-05-10 08:30:41 -04:00
Matthew Kennedy
76f2f063d2
Maf in sensor model ( #2672 )
...
* init
* consumers
* hasMafSensor
* consumers
* remove
* remove
* s
* guard
* tiny bit of ram
* ram
2021-05-09 20:59:06 -04:00
Andrey G
dd46591ad5
hip9011 ( #2658 )
...
* hip9011: isolate debug stuff
* hip9011: renames
* hip9011: start sensing knockDetectionWindowStart degres from fire
* engine: more realistic values for knock window
* hip9011: remove magic CS toggling
* hip9011: EFI_HIP_9011_DEBUG should depend on EFI_HIP_9011
2021-05-08 18:43:55 -04:00
Matthew Kennedy
d7f9d42e07
Hook up multi bank fuel trim ( #2532 )
...
* multi bank trim
* cleaning
* output channels
* output channels
2021-05-08 17:41:50 -04:00
Andrey G
2176d1656b
ADC: internalIndex should be used as getAvgAdcValue argument ( #2618 )
...
* ADC: internalIndex should be used as getAvgAdcValue argument
-plus output messages re-formated
* ADC: logger -> efiPrintf
2021-05-03 16:44:19 -04:00
rusefillc
87e0b28cc4
https://rusefi.com/forum/viewtopic.php?f=16&t=1996
2021-04-25 09:18:35 -04:00
rusefi
7300bbe750
improving QC process
2021-04-23 00:45:36 -04:00
rusefi
6c75a3d7b4
improving QC process
2021-04-22 22:04:39 -04:00
rusefi
be0f2210c5
improving QC process
2021-04-22 21:23:20 -04:00
Matthew Kennedy
737ee444b8
rip the bandaid: find-replace most of scheduleMsg ( #2572 )
...
* biiiig find replace
* more trivial find replace
* pwm
* almost all of them
* few more
* gpio
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-21 12:53:13 -04:00
Matthew Kennedy
d7e95cd31f
improve sensor chart flush behavior ( #2545 )
...
* disable sensor chart
* type signature, guards
* we can't log the message as that confuses the parser
* dead
* this syntax was technically illegal
* more
* turn it back on
* remove config
* api
* implement
* ui
* java ui
2021-04-12 14:05:52 -04:00
Matthew Kennedy
96e655ff4e
sd buffer ( #2540 )
2021-04-11 10:15:54 -04:00
Andrey G
112b4d1182
Hip9011 ( #2512 )
...
* hip9011: coexistance with other spi devices
* hip9011: rework so SPI transfer is invoked from thread
also use polling spi exchange to avoid cache problems
* hip9011: move calculations from ADC callback to thread
* hip9011: big cleanup
* hip9011: simplify spi communication
* No need to set knockBandCustom if it is not custom
HIP9011 calculates knockBand from cylinderBore same way
* hip9011: make unit test happy
* hip9011: fix unit test
* hip9011: remove duplicated initialization, reorder
* hip9011: just renames and data type adjustments
* hip9011: rename BAND() to HIP9011_BAND()
* hip9011: move some code from lookup.cpp to logic.cpp
* hip9011: move initEngineNoiseTable to engine_configuration.cpp
* hip9011: move lookup tables to hip9011_logic.c
* hip9011: remove empty files
* hip9011: additional checks
2021-03-30 10:56:25 -04:00
Matthew Kennedy
72dac58f9b
fix multi-serial-port insanity ( #2476 )
...
* carve out UART specific
* implement channel
* config cleanup
* use new config
* bootloader
* dead code
* s
* h7 inherits f7
* oops
* ok now it's right
* tests
* cleanup
* call setup
* put that in its own file
* cleanup
* format
* guard
* not needed
* improve guarding
* portable
* allow override of uart mode
* fixes for bootloader
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-28 09:06:36 -04:00
Matthew Kennedy
4e1d30f86d
plumbing for multiple vvt ( #2488 )
...
* plumb multiple vvt
* fix test
* s
* fix barra while we're at it
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-25 07:39:23 -04:00
Matthew Kennedy
2bf833a1ee
Usable fuel consumption data/gauges ( #2474 )
...
* fuel consumption
* gauge names
* consumers
* obd
* binary logging
* doesn't need explicit constructor
* getters
* it works
* correct for injections per cycle
* datalog
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-19 17:04:42 -04:00
Matthew Kennedy
5e6746c3aa
Implement nonlinear fuel level sender ( #2473 )
...
* table function
* config fields
* sensor type
* switch consumers
* init the sensor
* ui
* 1mv resolution
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-19 08:39:08 -04:00
Matthew Kennedy
925a6ca086
harden against various no-boot scenarios ( #2468 )
...
* zero length trigger
* validate config
* validate cylinder count
* wrong type on cylinder count
* invalid comment
* invalid SPI
2021-03-17 09:24:13 -04:00
Matthew Kennedy
943e6078c8
logging cleanup before refactor ( #2438 )
...
* minor cleanup
* more cleaning
* signature
* spelling
* doy
2021-03-09 08:43:29 -05:00
Matthew Kennedy
d7536bf059
finish off vbatt -> sensor model ( #2433 )
...
* more vbatt
* s
* goodbye voltage
* makefile
* apparently that part was in use
* include
* mocking
2021-03-07 20:18:32 -05:00
rusefi
483bee389b
https://github.com/andreika-git/hellen-one/issues/3
2021-02-17 10:18:46 -05:00
Matthew Kennedy
c75af2ac75
properly put buffers in no-cache regions ( #2357 )
...
* configure for no cache
* this doesn't need a setting
* now we don't need invalidate
* reorder and comment
* mmc
* sw knock
2021-02-15 17:39:11 -05:00
Matthew Kennedy
983d75444e
baro in sensor model ( #2306 )
...
* baro in sensor model
* missed
* typo
* init baro
* needs an include there
2021-02-07 17:54:41 -06:00
Andrey G
04c7ad67aa
Some fixes prior to board pull request ( #2291 )
...
* ChibiOS: add support for STM32F765
This chip is used on Subaru EG33 p'n'p RusEFI board from Dron_Gus
* drivers: gpio: mc33810: commulative update
- use BIT macro
- fix wake-up method
- fix order of arguments in _add function
* port: stm32f4/7: detectCanDevice check for enabled interfaces only
* ADC: fix internal array size
internalAdcIndexByHardwareIndex should be EFI_ADC_LAST_CHANNEL size
couse adc_channel_e is used as index
* status LEDs: support status LEDs that driven by low level
2021-02-06 12:22:57 -05:00
Matthew Kennedy
cd03443dea
Limp handles inj/ign disable ( #2245 )
...
* status loop just asks limp mgr
* put logic in limp manager
* don't need that function any more
* bye
* TIL these bits already exist in the configuration
2021-01-27 21:28:53 -05:00
rusefillc
de5a98880a
limp mode too good for bench testing #2244
2021-01-27 00:02:37 -05:00
Matthew Kennedy
5bfee13c21
fix instant rpm ( #2180 )
...
* consumers
* impl
* instant rpm in idle timing
2021-01-14 20:45:55 -05:00
Andrey G
052e2e558b
Supress annoing unused warnings ( #2216 )
2021-01-11 08:49:20 -05:00
Andrey G
b61ae75fe2
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
Andrey G
71fe582ce5
Adc isAdcChannelValid helper ( #2188 )
...
* Guard define argument
* ADC: isAdcChannelValid
Check for both <= EFI_ADC_NONE and >= EFI_ADC_LAST_CHANNEL
Also check for value out of enum range (corrupted settings)
* Fix unit tests
2021-01-05 16:02:20 -05:00
Matthew Kennedy
eba6ae2e8f
Flex fuel stubs ( #2187 )
...
* config & ui
* stub sensor
* stub init
* output channel, gauge, SD log
* linky linky
* fix
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-05 07:57:26 -05:00
Matthew Kennedy
add0dcd390
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
83266c904b
Put map in the sensor model ( #2161 )
...
* hook up map
* check for init
* switch some consumers
* don't do limp for now
* oops
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-30 08:43:49 -05:00
Matthew Kennedy
59d725a113
fix ( #2094 )
2020-12-18 01:30:51 -05:00
shadowm60
5bd1da17c1
Logic analyzer ts report ( #2080 )
...
* Logic analyzer
progress of integration with debug channels
* Update logic_analyzer.cpp
fixed duty report in %
* Update logic_analyzer.cpp
* Update logic_analyzer.cpp
fix for setting one channel to unused, and use the same pin for another channel. this way we clear out hw pointer and we do not have the risk of reporting wrong values.
2020-12-15 14:52:48 -05:00
Matthew Kennedy
ba1ba1452d
second lambda (x-series CAN only, for now) ( #2048 )
...
* add sensor
* second sensor
* switch sensor name
* gobblin up your memory
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-09 20:26:23 -05:00
rusefi
df4f738401
Merge remote-tracking branch 'origin/master' into master
...
# Conflicts:
# firmware/controllers/engine_cycle/high_pressure_fuel_pump.cpp
2020-12-08 21:37:45 -05:00
Matthew Kennedy
9d2471e9ff
add indicator for tps2 fail ( #2016 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-05 00:01:24 -05:00
rusefi
b2493e3181
Merge remote-tracking branch 'origin/master' into master
2020-12-04 21:52:22 -05:00
shadowm60
45205e7da7
Dyno view proposal ( #1999 )
...
* DynoView creation
module implementation and unit_tests
* update acc algo
we only calcualte new acceleration value if speed has changed, not on every callback.
* added acceleration ts_channel
* fixed broken unit tests
* fixed accel sign
* review updates
* Update test_dynoview.cpp
fix unit_tests
* Update engine_controller.cpp
Fix .ram4 unused size
* Update test_dynoview.cpp
2020-12-04 20:28:48 -05:00
rusefillc
ea1c4f9e25
engine sniffer - pins are not displayed #1995
2020-12-01 22:58:27 -05:00
rusefi
6bf93b653f
Merge remote-tracking branch 'origin/master' into master
2020-11-29 12:51:04 -05:00
rusefi
a853d99d1a
start/stop debug process
2020-11-25 16:44:08 -05:00
Matthew Kennedy
ebb8ede1da
squash warnings ( #1984 )
...
* warnings
* unused
* a few more
* too much
* uint16_t-ify
2020-11-23 09:43:16 -05:00
rusefi
a54f3e5289
GDI Epic #1448
2020-11-23 01:10:12 -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
rusefillc
e8446bd73c
Output pin init/deinit needs a linked list #1803
2020-11-05 18:47:45 -05:00
rusefi
c464dfdca6
Output pin init/deinit needs a linked list #1803
2020-11-03 00:21:39 -05:00
Matthew Kennedy
a29f73f467
log afr in addition to lambda ( #1920 )
...
* log afr
* log it
* weird double commas
2020-10-31 17:52:07 -04:00
Matthew Kennedy
c0ed7cab62
log target lambda ( #1919 )
2020-10-30 17:42:00 -04:00
Matthew Kennedy
b8c2041467
Everything in lambda! ( #1893 )
...
* lambda
* default configs, fix build
* config, gauge, UI
* more digits
* change menu text
* fix that while I'm here
* doesn't need extra word
* todo note
* tests
* last test
* missed a config
* update java
* store target lambda
* more java
* format
* hopefully enough java for CI to pass
2020-10-26 18:15:17 -04:00
Matthew Kennedy
6abc80e74c
convert mass -> duration later in the pipeline ( #1906 )
...
* cranking duration to mass
* implement
* units
* patch types
* suppress warning
* fix output channels
* add note about how to set it
2020-10-26 07:23:13 -04:00
Matthew Kennedy
dbdeca93b0
implement fuel pressure sensors ( #1897 )
...
* add
* remove old
* remove more old
* makefile
* fix init
* patch up other stuff
* actually fix it this time
* raw output channels
* gauges, UI
* scaled channel
* fix field ordering
2020-10-23 07:31:47 -04:00
rusefillc
fd30576dca
GDI Epic #1448
2020-10-22 23:17:29 -04:00
Matthew Kennedy
02c47eeec8
write SD header using new Writer class ( #1882 )
...
* write header
* hooray, free memory!
* fix test
* is there really this much free space...?
* no, there is not
2020-10-15 16:00:13 -04:00
Matthew Kennedy
4868068e2f
start using BufferedWriter ( #1878 )
...
* do the part up to actual usage
* borrow some memory for now
2020-10-14 20:06:05 -04:00
Matthew Kennedy
89ac8508b9
Check for sd buffer overrun ( #1867 )
...
* use actual header size
* and the buffer can be a little smaller
2020-10-08 21:02:15 -04:00
rusefillc
08efb1f43d
SD card logs not valid for REO #1864
2020-10-08 20:06:07 -04:00
Matthew Kennedy
3e64861c14
display base fuel mass in milligrams ( #1838 )
...
* switch to mg
* use the correct thing
* gauge scaling
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-30 20:19:51 -04:00
Matthew Kennedy
3374db1658
Remove dead & useless config ( #1834 )
...
* remove dead config
* remove enum
2020-09-29 06:34:39 -04:00
Matthew Kennedy
d23a48fc53
Dedicated sensors for wastegate + idle position ( #1805 )
...
* config
* add sensor
* listen to new adc channels
* fix
* add gauges to TS
* add gauge values
* TS UI
2020-09-18 10:04:07 +03: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
Matthew Kennedy
c2eb7c9f4a
remove tach output pin ( #1779 )
...
* remove from cfg
* cfg
* rip out impl
* efi gpio
2020-09-09 16:52:23 -04:00
rusefi
0b1b2f991c
Hellen says merge #1772 helping merge
2020-09-09 16:25:50 -04:00
Matthew Kennedy
8adfef930f
Selectable VE axis override ( #1769 )
...
* add config fields
* config options
* new output channels
* dump out state to ts
* s
* implement override
* enums
* this test is no longer used
* test new behavior
* old
* comments
2020-09-07 10:15:42 -04:00
rusefi
0e3d16b5d5
microRusEFI used as Body Control Module BCM BCU
2020-09-06 23:19:32 -04:00
Matthew Kennedy
a3db817f6e
Move ve logic ( #1762 )
...
* move ve
* fix build
* fix rendering
* duh
* cleaning
* correct scaling
* put some back
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-06 19:06:32 -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
c476cd3b95
refactoring
2020-09-03 19:29:15 -04:00
Matthew Kennedy
bad69c812e
move lambda in to sensor model ( #1736 )
...
* lambda sens
* fix init
* fix
* a test for good measure
* he's climbin in your windows, snatchin you ram up
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-01 16:22:31 -04:00
Matthew Kennedy
1b07647e72
Software knock detection ( #1730 )
...
* s
* science
* set pin mode
* turn stuff off so it fits
* filtering maybe
* filtering actually works
* generate filter parameters internally
* shorter window
* guard behind enable flag
* use checked in filter
* add biquad reset
* tracing
* const
* exec order
* do it from a thread
* smaller buffer, comment
* configure with header
* only for proteus
* oops
* unused
* not needed
* guards
* pin config
* don't need that include
* precook filter steady state
* define sample rate
* config enable switch
2020-08-28 21:13:50 -04:00
rusefi
bdbee0d38b
VVT support for VAG trigger #883
2020-08-24 02:01:50 -04:00
Matthew Kennedy
f20126ba7a
more data ( #1727 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-24 01:26:33 -04:00
Matthew Kennedy
c03e0eb302
add ( #1711 )
2020-08-21 08:53:23 -04:00
Matthew Kennedy
4ac3ded498
consume
2020-08-10 21:41:03 -07:00
rusefi
8f2f8bc132
TS SD integration #1653
2020-08-06 01:15:41 -04:00
Matthew Kennedy
eabdd9f458
cleanup
2020-07-30 21:20:10 -07:00
Matthew Kennedy
2bad7ed180
deprecate
2020-07-28 12:13:55 -07:00
Matthew Kennedy
7940b84778
start refactor
2020-07-22 13:11:07 -07:00
Matthew Kennedy
d14a0e01e8
use ign load for ign
2020-07-20 23:11:48 -07:00
Matthew Kennedy
b8dd6075f4
s
2020-07-20 01:03:13 -07:00
Matthew Kennedy
1249c11690
more spots
2020-07-20 00:55:45 -07:00
Matthew Kennedy
c60b425ef0
plumb new load channels ( #1573 )
...
* wire up new channels
* add deprecation comment
* add gauges
* these tables are indeed used in those modes
* simplify
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-07-05 16:25:19 -04:00
rusefi
2a8b556ddd
idle_min through FSIO not working as intended #1553
2020-07-04 21:40:56 -04:00
rusefi
7b5f782e91
idle_min through FSIO not working as intended #1553
...
FSIO debug outputs progress
2020-07-04 21:32:12 -04:00
Matthew Kennedy
531f1c63c7
fuel math simplifications ( #1485 )
...
* simplify
* fix
* tweak
* cleaning
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-06-17 17:15:04 -04:00
rusefi
ff8f0731fd
a few unneeded properties
2020-06-13 22:46:10 -04:00
rusefi
152fa17990
warning LED is for warnings only, communications have to reflected by COMMS LED
2020-06-13 13:23:34 -04:00
Matthew Kennedy
9ecb0a4e55
refactor ( #1481 )
2020-06-03 21:12:12 -04:00
Matthew Kennedy
2c69809b9c
fix tpsadc ( #1479 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-06-01 13:09:48 -04:00
Matthew Kennedy
d0e5b8674f
Integrate stft ( #1475 )
...
* code changes
* missed a spot
* update UI
* gauge name
* adjust gauge scaling
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-31 16:59:05 -04:00
Matthew Kennedy
4e25d88632
fix ( #1476 )
2020-05-30 21:50:57 -04:00
rusefi
714979586b
refactoring
2020-05-22 16:36:37 -04:00
Matthew Kennedy
0a278375fd
Binary logging to SD ( #1461 )
...
* binary log
* remove old text logging
* change file extension
* just use a bare buffer
* more mem :(
* double ugh
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-21 15:52:58 -04:00
rusefi
60835c4269
HW_CHECK_MODE
2020-05-20 22:15:47 -04:00
Matthew Kennedy
ce2beafb5f
Redundant tps ( #1427 )
...
* add redundant sensor
* add tests
* add configure, info printing
* tests
* tests
* partial hookup
* fix
* fix
* bad makefile merge
* use second TPS config
* update test
* update test
* sensor names
* set second pin by default
* fix auto cal
* auto cal both sensors
* add reconfigure of secondary sensors
* gobblin' up your ram
* slow down write a little bit
* put split in debug gauge
* s
Co-authored-by: Matthew Kennedy <matthew@mck-mbp-15.local>
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-18 14:32:00 -04:00
Matthew Kennedy
a66bcc52f4
dead ( #1451 )
2020-05-17 17:43:27 -04:00
Matthew Kennedy
d6186c1cf3
pass in write length ( #1447 )
2020-05-17 17:27:26 -04:00
Matthew Kennedy
6d4924e85a
dead datalog code ( #1439 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-16 00:11:52 -04:00
rusefi
5c91d96ce6
new LED logic: constant WARNING if VBATT is below 7v
2020-05-13 01:17:48 -04:00
rusefi
7fdb6ca2be
rusEFI online engine crc
2020-05-09 22:43:39 -04:00
rusefi
c2a4c4c4ec
engine crc for REO
2020-05-09 20:04:58 -04:00
Matthew Kennedy
67ea0368c9
Remove scheduler debug pins ( #1359 )
...
* trigger gen refactoring
* missed one
* remove microsecond timer debug pins
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-24 23:13:05 -04:00
Matthew Kennedy
6b2e097e66
Revamp indicator panel in TS ( #1357 )
...
* fix pedal ind
* maf -> map
* only set pedal error light if error
* adjustments
2020-04-24 00:10:19 -04:00
Matthew Kennedy
9e71e4b853
Gauges for raw sensors ( #1304 )
...
* add to struct
* input
* set channels
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-16 20:32:07 -04:00
Matthew Kennedy
83592f0dff
New clt consumers part 1 ( #1301 )
...
* idle
* CLT test prep
* idle target
* header
* air interpolate
* ancient comment
* fuel cut
* fuel cut, idle tests
* cleanup
2020-04-15 09:48:17 -04:00
Matthew Kennedy
2a97a06e64
new temperature sensor math in TS ( #1297 )
...
* switch
* new sensor printing
* typo
* and printing info
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-15 01:12:07 -04:00
rusefi
cb2b699db6
DBG_TRIGGER_SYNC merged into DBG_TRIGGER_COUNTERS
2020-04-10 13:19:54 -04:00
Matthew Kennedy
3abd181f6f
CLT/IAT/Aux in the new sensor world ( #1269 )
...
* hook up clt
* init test
* probably fix test
* aux temp
* relax checking
* more significant figures
* remove old aux temp
* hand generate
* claim RAM
* move to ccm
* subscribe
* info printing
* warnings
* raise high voltage failure threshold
* fix test
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-07 16:07:09 -04:00
rusefi
c2f87c5edd
KLUDGE? we always show VBatt because Proteus board has VBatt input sensor hardcoded
2020-04-04 09:31:56 -04:00
Matthew Kennedy
0df4da6450
always show vbatt ( #1262 )
2020-04-04 07:42:14 -04:00
Matthew Kennedy
67f01ff9c7
Friendlier pin names ( #1233 )
...
* enable TS error readout
* friendlier text for common errors
* improve comment
* friendlier ADC errors
* ign/inj names
* more pin names
2020-03-29 19:07:07 -04:00
Matthew Kennedy
0ac3e06149
cleanup extern mess ( #1237 )
...
* cleanup
* move outside define
2020-03-29 19:06:03 -04:00
rusefi
84e0e1b6e9
critical error usability improvements
2020-03-28 21:28:32 -04:00
rusefi
a910ab3da5
launch control #203
2020-03-24 19:55:12 -04:00
rusefi
e58f00692e
start/stop progress
2020-03-23 10:32:41 -04:00
Matthew Kennedy
3840440e97
Accelerator pedal with new sensors ( #1208 )
...
* add pedal sensor
* update status loop
* add bit to ts
* fix math
* divide at config time
* this used a little bit of ram
2020-03-22 17:09:46 -04:00
Matthew Kennedy
8ceb5c8996
fix icu trigger polarity ( #1177 )
...
* fix polarity
* fix confusing names
2020-03-08 08:57:21 -04:00
rusEfi
c9ac205864
throttle2Position
2020-02-27 03:28:49 -05:00
Matthew Kennedy
a2a5b40ced
Support disabling most/all features ( #1162 )
...
* this flag did nothing
* guard features properly
2020-02-26 18:16:35 -05:00
Matthew Kennedy
e04fc117e6
Consume new tps in status_loop.cpp, settings.cpp ( #1129 )
...
* new tps
* more
* settings.cpp too
* more
* comment
2020-02-07 06:05:15 -03:00
Matthew Kennedy
734963343d
Rescale TPS ( #1112 )
...
* fake adc ticks
* consumers
* fix test 1
* fix tests
2020-02-01 16:41:07 -05:00
rusefi
f4d36f32fa
VVT refactoring & assertions for VVT test
2020-01-31 01:49:10 -05:00
rusefi
a222ecdfe1
happy new year unification
2020-01-13 21:57:43 -05:00
rusefi
e1fb9ad271
maybe improvent for trigger errors in TS and console, TS still does not know about order error counter
2019-12-25 15:57:47 -05:00
rusefi
d56b47b18d
version compatibility validation fix
2019-12-25 14:15:44 -05:00
Matthew Kennedy
df57b24e3f
Shrink output channels, now with passing CI ( #1077 )
...
* reorder fields
* temporary tle8888 fix
* comment, simplify
* hand tweak generated
* oops, those are reciprocal
* fix engineLoadAccelExtra
* aggressive priority order
* fix output size
* comments
* reorder fields, no sizes yet
* should've been signed
* simplify constructor mess, hook up scaling
* notes
* typo
* if -> switch
* rev signature
* correct map offset
* handle unsigned properly
* RPM is unsigned
* vss isn't scaled
* extract magic
* required generated for build
* de-scale rpm
* field type cases
2019-12-22 08:12:45 -05:00
rusefi
4c30e7b1b9
hopefully useful macro?
2019-12-21 21:18:38 -05:00
rusefi
cf0b13041f
random refactoring: hopefully not changing byte size of any variables but clarifying/fixing type between ticks, US and MS
2019-12-21 21:11:09 -05:00
rusefi
b781b07ca4
a bit of dead code
2019-12-21 20:35:13 -05:00
rusefi
9ffda831a7
Revert "DRAFT Shrink output channels, again ( #1074 )"
...
This reverts commit ad7a383d
2019-12-21 15:02:49 -05:00
Matthew Kennedy
ad7a383d74
DRAFT Shrink output channels, again ( #1074 )
...
* reorder fields
* temporary tle8888 fix
* comment, simplify
* hand tweak generated
* oops, those are reciprocal
* fix engineLoadAccelExtra
* aggressive priority order
* fix output size
* comments
* reorder fields, no sizes yet
* should've been signed
* simplify constructor mess, hook up scaling
* notes
* typo
* if -> switch
2019-12-21 08:55:19 -05:00
rusefi
7dc6057ac7
Revert "Shrink output channels, use scaling ( #1069 )"
...
This reverts commit 1e0f1a26
2019-12-19 22:35:06 -05:00
Matthew Kennedy
1e0f1a2628
Shrink output channels, use scaling ( #1069 )
...
* reorder fields
* temporary tle8888 fix
* comment, simplify
* hand tweak generated
* oops, those are reciprocal
* fix engineLoadAccelExtra
* aggressive priority order
2019-12-19 20:37:42 -05:00
Matthew Kennedy
7a470b9817
Remove sensor reporting loc ( #1064 )
...
* remove raw rept loc
* remove normal reporting location
* fix up oil pressure
* format
2019-12-16 22:45:46 -05:00
Matthew Kennedy
45572fb53c
lcd thread name ( #1059 )
2019-12-14 09:12:37 -05:00
rusefi
f47a1a16d1
getting rid of boardConfiguration / binary compatible change
2019-12-11 17:48:55 -05:00
rusefi
561986d3e4
The Big Refactoring of 2019: folder structure #723
2019-12-04 01:11:10 -05:00
rusEfi
13d4ae2169
dual ETB seems to work!
2019-11-29 19:06:50 -05:00
rusefi
80ef79eded
this is not great :(
...
#639
#971
2019-11-11 22:19:35 -05:00
rusefi
ca0984007d
Strange INJ1 signal behavior (when the frequency of scheduler's timer is less than 1MHz) #996
...
new advanced debugging: hardware pins
2019-11-10 12:39:47 -05:00
rusefi
30cfb96619
evil manual merge of https://github.com/DonaldBecker/rusefi
2019-11-05 20:07:55 -05:00
rusefi
68db5ecdb1
progress towards #961
2019-11-04 22:52:37 -05:00
andreika-git
ef23be6893
Kinetis & TLE8888 compatibility & fixes... ( #991 )
...
* TLE8888: More compatibility & postTunerStudioState
* activeConfiguration & EFI_ACTIVE_CONFIGURATION_IN_FLASH fix
* Kinetis: jump_to_bootloader() impl.
* Kinetis: UART baudrate safety check
* Kinetis: OMG!..
2019-10-31 16:06:34 -04:00
Matthew Kennedy
6f3bfcb099
fix wwae ( #980 )
2019-10-17 00:06:54 -04:00
rusefi
f776513a5a
preparation for #961
...
macro as a syntax sugar for method invocation
2019-10-10 07:28:52 -04:00
rusefi
0d6f15a1ea
logic duplication - we arleady have isCltError
...
preparation for #961
2019-10-10 07:09:04 -04:00
Matthew Kennedy
821ca6156f
move tsOutputChannels to header ( #970 )
2019-10-08 21:02:51 -04:00
rusefi
c6bca8e77a
ETB target is using integer values #945
...
refactoring - ADC mocking is a mess
2019-09-22 10:02:07 -04:00
rusefi
658dac889c
ETB target is using integer values #945
...
refactoring - ADC mocking is a mess
2019-09-22 09:56:06 -04:00
rusefi
196a57f813
fixing build
2019-09-22 07:49:26 -04:00
Matthew Kennedy
4f358c40d1
hook up rpm acceleration ( #946 )
2019-09-22 07:37:36 -04:00
Matthew Kennedy
dfcc9dba04
add sensor framework, tests ( #929 )
...
* add framework, tests
* move oil pressure to new way
* add init logic
* brackets on the same line
* spaces -> tabs
* spaces -> tabs for tests
* bracket on same line
* hook up sensor mocking
* add nan check
* fix nan check
* I wrote an essay
* casing
* only init if we have a sensor to init
* style, actually call init
* format
* fix casing
* typo
* implement linear sensor
* wire up producer
* smarter limiting
* setup comments
* add reporting
* doxyfile
* oops
* add adc subscription
* clarity
* fix logic
* multiply voltage
* test styling
* test guards
* remove dependencies
* linear sensor test
* remove unused
* fix merge
* format, implicit convert op
* explicit
* format tests
* fix merge
2019-09-21 14:33:38 -04:00
rusefi
50850ca0c9
fixing bug from yesterday
2019-09-21 11:09:03 -04:00
rusefi
08fb2adf3d
glitch
2019-09-21 09:43:08 -04:00
rusefi
02fb27440e
ETB to SD logs
2019-09-20 20:41:45 -04:00
rusefi
37d703f6e0
more fields to SD card logs
2019-09-20 19:38:19 -04:00
rusEfi
34b1531a8b
Live Data for hw VVT signals
2019-09-02 21:02:08 -04:00
rusefi
a8f7a8965b
cranking fuel live data #911
2019-08-26 23:41:04 -04:00
rusEfi
6cf432a057
bugfix: pin names were not shown in engine sniffer
2019-08-18 15:27:10 -04:00
rusEfi
81cd1df0cc
refactoring: engine sniffer magic constants
2019-08-18 15:04:02 -04:00
rusefi
5ffa32185f
refactoring: extracting common magic constants
2019-08-18 12:14:33 -04:00
rusefi
ca1ca643d0
refactoring: better enum name
2019-08-07 22:20:16 -04:00
rusefi
7c776b3eb1
better trigger state debug field logging
2019-08-07 20:13:30 -04:00
rusefi
663943afe9
VVT counters to DBG_TRIGGER_INPUT
2019-08-07 19:49:13 -04:00
rusefi
7cacc37fcc
FIRMWARE_ID
2019-07-13 14:08:08 -04:00
rusefi
e05952fa4f
having fun with async - reducing threads
2019-07-13 11:06:03 -04:00
rusefi
dcf0b3c867
removing a pointless thread
2019-07-13 10:36:31 -04:00
rusefi
b0a531b4ec
having fun with async - reducing threads
2019-07-13 10:24:23 -04:00
rusefi
2aac28e107
removing unused parameter
2019-07-13 09:54:06 -04:00
rusefi
2c67101ba1
killing unused feature
2019-07-13 09:52:30 -04:00
rusefi
3b670a4107
Annotations in C++ code to produce formulas in rusEfi console #807
...
refactoring wall wetting
2019-07-12 22:34:38 -04:00
rusefi
756dec106a
support multiple VVT sensors #885
...
new fields & packing configuration. bumping configuration version
2019-07-12 14:24:45 -04:00
Matthew Kennedy
e4a0a0ae91
Fix some maf logic ( #880 )
...
* fix maf
* thank you vscode for mangling ANSI -> utf8
2019-07-10 09:14:47 +03:00
rusefi
5d740b7e6b
dead logic
2019-07-09 07:58:55 -04:00
rusefi
9d004635e4
More than one aux pid #866
...
renaming this class since we will probably have two different implementations for two different cases
2019-07-08 03:35:41 -04:00
rusefi
5d2afd2331
refactoring: better file name
2019-07-06 20:15:49 -04:00
rusefi
2164661274
undoing wrong fix & better fix for #805
...
also generator logging improvements
This reverts commit 96270758c9
.
2019-06-30 14:28:47 -04:00
rusefi
f2a034b5aa
Annotations in C++ code to produce formulas in rusEfi console #807
2019-06-19 22:34:11 -04:00
rusefi
96270758c9
"Calibrate TPS" broken in TS fix #805
2019-06-17 22:00:34 -04:00
rusefi
5a0d2413f5
removing dead text protocol support
2019-06-16 17:13:11 -04:00
rusefi
3b28498abe
issue with SD card logs
2019-06-11 16:00:52 -04:00
rusefi
8575e2f4d2
refactoring
2019-05-27 18:58:43 -04:00
rusefi
998345ef9e
unit tests should not have global context, including mock values
2019-05-27 15:56:12 -04:00
rusefi
c52e5aa465
refactoring: better variable names
2019-05-27 11:17:28 -04:00
rusefi
91c404b353
FEATURE REQ: aux temperature inputs #332
2019-05-09 19:39:21 -04:00
rusefi
8794e72cd2
Saab CDM knock signal integration #647
2019-05-05 17:21:36 -04:00
rusefi
2c24571ddb
dreams of two ETBs
2019-05-05 12:02:42 -04:00
rusefi
b34bdf5bcb
docs
2019-05-02 17:52:48 -04:00
rusEfi
1c013228dc
'warninigLedPin' typo and minor TS progress
2019-04-28 23:04:52 -04:00
rusefi
0292df332c
reducing analog_inputs debug confusion :)
2019-04-25 08:32:20 -04:00
rusefi
7c534d28bc
DBG_ANALOG_INFO
2019-04-24 23:46:13 -04:00
rusefi
b8ae3810b3
DBG_ANALOG_INFO
2019-04-24 22:16:37 -04:00
rusefi
24948a2641
defined(__DOXYGEN__) ? fix #748
2019-04-12 22:10:57 -04:00
dron0gus
b3a161fce6
Cleanup 3 ( #745 )
...
* status leds: pick warning LED pin from configuration
* wave analyzer: do not init if no pin assigned
2019-04-11 23:33:33 +02:00
dron0gus
3163d04dfb
console vs ts cleanup and compilation fix for linux ( #728 )
...
* console vs ts cleanup
* include is case-sensetive in linux
2019-04-01 23:04:49 +02:00
rusefi
69917e5781
The Big Refactoring of 2019: console vs TS vs CONSOLE_MODE_SWITCH_PIN vs text protocol #725
...
more dead code
2019-04-01 11:57:30 -04:00
andreika-git
a79175f6ef
More portability & small fixes ( #719 )
...
* Use hw_stm32.mk
* Fix bootloader
* Use more common hw_ports.mk filename instead of hw_stm32.mk
* More CPU compatibility for Makefile
* TS_UART_MODE & rename TS_SERIAL_UART_DEVICE->TS_SERIAL_DEVICE
* Move lockAnyContext()/unlockAnyContext() to rfiutil.c
* USE_FATFS
* EFI_LCD
* Less compilation errors
* STATUS_LOGGING_BUFFER_SIZE & SETTINGS_LOGGING_BUFFER_SIZE
* EFI_ALTERNATOR_CONTROL, EFI_SERVO, EFI_DISABLE_CONSOLE_ACTIONS
* #ifndef PWM_PHASE_MAX_COUNT & more flexible GPIO inside portname()
* merge
* EFI_ALTERNATOR_CONTROL, EFI_ELECTRONIC_THROTTLE_BODY
2019-03-29 15:29:01 +01:00
rusefi
e28ce71bb8
unifying_file_naming
2019-03-29 09:11:13 -04:00
rusefi
e43ae3092d
random progress
2019-03-14 13:28:51 -04:00
rusefi
dbfb040990
fuel gauges unification
2019-03-12 21:48:28 -04:00
dron0gus
2027977e2c
warning cleanup ( #693 )
...
* Kill annoing warnings about unused vars
* Kill annoing signed vs unsigned warnings
* Make ALWAYS_INLINE macro realy inlining
* Incorrect attribute placement.
While correct attribute placement cause ram4 overflow.
Move to correct place (to avoid gcc-2018-q4 errors) and comment
out.
* Silence -Wcast-function-type warnings
Cast to intermediate "void *" to lose compiler knowledge about the original
type and pass the warning. This is a workaround.
2019-02-21 05:44:45 -05:00
rusefi
42bfe8cf28
wider usage of PeriodicController
2019-02-11 15:09:24 -05:00
rusefi
c60c8ce777
better (?) variable names
2019-02-10 22:47:49 -05:00
rusefi
24c6e4d063
better blinking logic in case of software fatal error
2019-02-05 21:29:55 -05:00
rusefi
539f985cb9
better variable name
2019-02-05 21:13:38 -05:00
rusefi
f68e2a2d4b
refactoring: same condition twice?
2019-02-05 21:05:45 -05:00
rusefi
1dc30dc503
Refactor Trigger System #635
...
reducing global state magic
2019-02-03 02:47:20 -05:00
rusefi
6992480f74
CJ125 unit-tests coverage #617
2019-02-01 23:16:34 -05:00
rusefi
f475fb1691
better conditional compilation
2019-01-31 17:55:23 -05:00
rusefi
70f5d3e69c
better conditional compilation
2019-01-31 11:57:15 -05:00
rusefi
6607b833f7
#657
2019-01-27 23:41:46 -05:00
rusefi
aba0f44df5
NA6 progress
...
A/C toggle switch indicator in TS
renaming "pedalPosition" to "throttlePedalPosition"
2019-01-27 00:02:58 -05:00
rusefi
53e8d10c55
refactoring around GET_RPM
2019-01-21 21:48:58 -05:00
rusefi
ad64e1b410
refactoring around GET_RPM
2019-01-21 20:33:21 -05:00
rusefi
eba0278fdd
The Big Refactoring of 2019: configuration version should not be a global variable #656
2019-01-15 21:18:44 -05:00