rusefi
3d69adb2e2
https://github.com/andreika-git/hellen-one/issues/3
2021-02-17 10:18:46 -05:00
Matthew Kennedy
878794f9cf
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
7d3cadfc87
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
3166076839
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
93b034b8e9
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
156ae07bac
limp mode too good for bench testing #2244
2021-01-27 00:02:37 -05:00
Matthew Kennedy
bdacda558c
fix instant rpm ( #2180 )
...
* consumers
* impl
* instant rpm in idle timing
2021-01-14 20:45:55 -05:00
Andrey G
25560b85c2
Supress annoing unused warnings ( #2216 )
2021-01-11 08:49:20 -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
Andrey G
b92e3086d0
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
edee10ee1c
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
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
acdf6fdc85
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
f37c318c04
fix ( #2094 )
2020-12-18 01:30:51 -05:00
shadowm60
92247c58db
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
a08e79789d
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
ac186d2b85
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
27fee86923
add indicator for tps2 fail ( #2016 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-05 00:01:24 -05:00
rusefi
07a8e237a5
Merge remote-tracking branch 'origin/master' into master
2020-12-04 21:52:22 -05:00
shadowm60
864bd7fa73
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
5e951389cb
engine sniffer - pins are not displayed #1995
2020-12-01 22:58:27 -05:00
rusefi
8ee609fa3e
Merge remote-tracking branch 'origin/master' into master
2020-11-29 12:51:04 -05:00
rusefi
292579995c
start/stop debug process
2020-11-25 16:44:08 -05:00
Matthew Kennedy
922f0249d2
squash warnings ( #1984 )
...
* warnings
* unused
* a few more
* too much
* uint16_t-ify
2020-11-23 09:43:16 -05:00
rusefi
b329cc66ed
GDI Epic #1448
2020-11-23 01:10:12 -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
rusefillc
2e9da66743
Output pin init/deinit needs a linked list #1803
2020-11-05 18:47:45 -05:00
rusefi
e5ad8eb5c0
Output pin init/deinit needs a linked list #1803
2020-11-03 00:21:39 -05:00
Matthew Kennedy
15d5c872c2
log afr in addition to lambda ( #1920 )
...
* log afr
* log it
* weird double commas
2020-10-31 17:52:07 -04:00
Matthew Kennedy
66cc63b18a
log target lambda ( #1919 )
2020-10-30 17:42:00 -04:00
Matthew Kennedy
09b41bb1bb
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
a90792fa44
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
4e249889a6
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
edd7cc34d1
GDI Epic #1448
2020-10-22 23:17:29 -04:00
Matthew Kennedy
a8057cfc16
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
2855e04234
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
2cb665cc51
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
e721acc60c
SD card logs not valid for REO #1864
2020-10-08 20:06:07 -04:00
Matthew Kennedy
6ac9aad358
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
16bfd39bac
Remove dead & useless config ( #1834 )
...
* remove dead config
* remove enum
2020-09-29 06:34:39 -04:00
Matthew Kennedy
3d6a6398ac
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
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
Matthew Kennedy
d2d0ffa1ee
remove tach output pin ( #1779 )
...
* remove from cfg
* cfg
* rip out impl
* efi gpio
2020-09-09 16:52:23 -04:00
rusefi
2347324aba
Hellen says merge #1772 helping merge
2020-09-09 16:25:50 -04:00
Matthew Kennedy
ef0b2f7be0
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
b04a4ec04c
microRusEFI used as Body Control Module BCM BCU
2020-09-06 23:19:32 -04:00
Matthew Kennedy
6e7d72170f
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
95798a5246
fix broken master, inject engine ptr to rpmcalculator ( #1759 )
...
* fix
* oops
2020-09-05 18:49:42 -04:00