rusefi
3e44135947
improving QC process
2021-04-22 21:23:20 -04:00
Matthew Kennedy
ad71016862
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
5e2e18d2b9
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
e83022f8d2
sd buffer ( #2540 )
2021-04-11 10:15:54 -04:00
Andrey G
3d138958ce
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
f0cf4f38ff
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
1c473934b9
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
650d148008
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
95b08c433f
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
be70524ced
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
990c3649ae
logging cleanup before refactor ( #2438 )
...
* minor cleanup
* more cleaning
* signature
* spelling
* doy
2021-03-09 08:43:29 -05:00
Matthew Kennedy
3d17e62d65
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
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
rusefi
ca21d5b4c2
refactoring
2020-09-03 19:29:15 -04:00
Matthew Kennedy
5fec6d0c04
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
1a55085bb6
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
7867e83e43
VVT support for VAG trigger #883
2020-08-24 02:01:50 -04:00
Matthew Kennedy
110a6d79d4
more data ( #1727 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-24 01:26:33 -04:00
Matthew Kennedy
c450ea7fcd
add ( #1711 )
2020-08-21 08:53:23 -04:00
Matthew Kennedy
1f64754b57
consume
2020-08-10 21:41:03 -07:00
rusefi
ea7fed6a16
TS SD integration #1653
2020-08-06 01:15:41 -04:00
Matthew Kennedy
132ee12974
cleanup
2020-07-30 21:20:10 -07:00
Matthew Kennedy
5b99fdf3df
deprecate
2020-07-28 12:13:55 -07:00
Matthew Kennedy
5e7ddc9f24
start refactor
2020-07-22 13:11:07 -07:00
Matthew Kennedy
a3b29f9011
use ign load for ign
2020-07-20 23:11:48 -07:00
Matthew Kennedy
0f0d18afc8
s
2020-07-20 01:03:13 -07:00
Matthew Kennedy
a1d39b8de6
more spots
2020-07-20 00:55:45 -07:00
Matthew Kennedy
2b8b43ca55
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
a462f75050
idle_min through FSIO not working as intended #1553
2020-07-04 21:40:56 -04:00
rusefi
c0bb907aa3
idle_min through FSIO not working as intended #1553
...
FSIO debug outputs progress
2020-07-04 21:32:12 -04:00
Matthew Kennedy
a34201d1d1
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
fc5dd7d0c3
a few unneeded properties
2020-06-13 22:46:10 -04:00
rusefi
f62eafb5d9
warning LED is for warnings only, communications have to reflected by COMMS LED
2020-06-13 13:23:34 -04:00
Matthew Kennedy
2bdd8128db
refactor ( #1481 )
2020-06-03 21:12:12 -04:00
Matthew Kennedy
5beca0c48c
fix tpsadc ( #1479 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-06-01 13:09:48 -04:00
Matthew Kennedy
d24b5d5e93
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
6c92a3ab3e
fix ( #1476 )
2020-05-30 21:50:57 -04:00
rusefi
0fb540f6cc
refactoring
2020-05-22 16:36:37 -04:00
Matthew Kennedy
af53939d84
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
416855c2f1
HW_CHECK_MODE
2020-05-20 22:15:47 -04:00
Matthew Kennedy
9dda1a21bc
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
a7f3958fd0
dead ( #1451 )
2020-05-17 17:43:27 -04:00
Matthew Kennedy
ee15560f3d
pass in write length ( #1447 )
2020-05-17 17:27:26 -04:00
Matthew Kennedy
445f1c28f4
dead datalog code ( #1439 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-16 00:11:52 -04:00
rusefi
257ed04fac
new LED logic: constant WARNING if VBATT is below 7v
2020-05-13 01:17:48 -04:00
Matthew Kennedy
a8db44d48a
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
57900b679c
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
e739b49446
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
044766ec70
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
ccee238867
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
fb06813e12
DBG_TRIGGER_SYNC merged into DBG_TRIGGER_COUNTERS
2020-04-10 13:19:54 -04:00
Matthew Kennedy
8006c0a548
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
b62f578fab
KLUDGE? we always show VBatt because Proteus board has VBatt input sensor hardcoded
2020-04-04 09:31:56 -04:00
Matthew Kennedy
f10f2109ab
always show vbatt ( #1262 )
2020-04-04 07:42:14 -04:00
Matthew Kennedy
d541e04a7d
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
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
9e125ecbdf
launch control #203
2020-03-24 19:55:12 -04:00
rusefi
31ef10fe1c
start/stop progress
2020-03-23 10:32:41 -04:00
Matthew Kennedy
701f7fd7aa
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
9f26e6d894
fix icu trigger polarity ( #1177 )
...
* fix polarity
* fix confusing names
2020-03-08 08:57:21 -04:00
rusEfi
8cd3470caf
throttle2Position
2020-02-27 03:28:49 -05: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
f7282966d2
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
c7dce2e38b
Rescale TPS ( #1112 )
...
* fake adc ticks
* consumers
* fix test 1
* fix tests
2020-02-01 16:41:07 -05:00
rusefi
f6e7e8871a
VVT refactoring & assertions for VVT test
2020-01-31 01:49:10 -05:00
rusefi
bb217b01dd
happy new year unification
2020-01-13 21:57:43 -05:00
rusefi
3ab209fafc
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
5ef99a044b
version compatibility validation fix
2019-12-25 14:15:44 -05:00
Matthew Kennedy
9645130527
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
609865da0f
hopefully useful macro?
2019-12-21 21:18:38 -05:00
rusefi
fde9a449cf
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
31f4d3ade9
a bit of dead code
2019-12-21 20:35:13 -05:00
rusefi
871f86967f
Revert "DRAFT Shrink output channels, again ( #1074 )"
...
This reverts commit 562ce6cc
2019-12-21 15:02:49 -05:00
Matthew Kennedy
562ce6ccaf
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
22f2739764
Revert "Shrink output channels, use scaling ( #1069 )"
...
This reverts commit 89405014
2019-12-19 22:35:06 -05:00
Matthew Kennedy
89405014cf
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
08a8fa8d1e
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
49105335b2
lcd thread name ( #1059 )
2019-12-14 09:12:37 -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
e2074388ff
dual ETB seems to work!
2019-11-29 19:06:50 -05:00
rusefi
15a571fb3e
this is not great :(
...
#639
#971
2019-11-11 22:19:35 -05:00
rusefi
79e049a5f8
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
cc6381fe96
evil manual merge of https://github.com/DonaldBecker/rusefi
2019-11-05 20:07:55 -05:00
rusefi
801b2eb70e
progress towards #961
2019-11-04 22:52:37 -05:00
andreika-git
ee5ee1942c
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
10a6d6eb8b
fix wwae ( #980 )
2019-10-17 00:06:54 -04:00
rusefi
ca6e49dcbc
preparation for #961
...
macro as a syntax sugar for method invocation
2019-10-10 07:28:52 -04:00
rusefi
41192ba2f0
logic duplication - we arleady have isCltError
...
preparation for #961
2019-10-10 07:09:04 -04:00
Matthew Kennedy
29804cbc8a
move tsOutputChannels to header ( #970 )
2019-10-08 21:02:51 -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
533087f475
ETB target is using integer values #945
...
refactoring - ADC mocking is a mess
2019-09-22 09:56:06 -04:00
rusefi
77cca16cd5
fixing build
2019-09-22 07:49:26 -04:00
Matthew Kennedy
6560de683e
hook up rpm acceleration ( #946 )
2019-09-22 07:37:36 -04:00
Matthew Kennedy
f629ec038b
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
2ce6e900a3
fixing bug from yesterday
2019-09-21 11:09:03 -04:00
rusefi
a4b6787af1
glitch
2019-09-21 09:43:08 -04:00
rusefi
b9f649a93c
ETB to SD logs
2019-09-20 20:41:45 -04:00
rusefi
ef85a6ceed
more fields to SD card logs
2019-09-20 19:38:19 -04:00
rusEfi
1b8219432c
Live Data for hw VVT signals
2019-09-02 21:02:08 -04:00
rusefi
2804b31e7e
cranking fuel live data #911
2019-08-26 23:41:04 -04:00
rusEfi
c29f038b83
bugfix: pin names were not shown in engine sniffer
2019-08-18 15:27:10 -04:00
rusEfi
7a7dbb8c30
refactoring: engine sniffer magic constants
2019-08-18 15:04:02 -04:00
rusefi
db724568db
refactoring: extracting common magic constants
2019-08-18 12:14:33 -04:00
rusefi
71951041b1
refactoring: better enum name
2019-08-07 22:20:16 -04:00
rusefi
7a00ccd2ce
better trigger state debug field logging
2019-08-07 20:13:30 -04:00
rusefi
4cbf9689a1
VVT counters to DBG_TRIGGER_INPUT
2019-08-07 19:49:13 -04:00
rusefi
aca4081507
FIRMWARE_ID
2019-07-13 14:08:08 -04:00
rusefi
8b0929a9ac
having fun with async - reducing threads
2019-07-13 11:06:03 -04:00
rusefi
636970c0e5
removing a pointless thread
2019-07-13 10:36:31 -04:00
rusefi
2b73149899
having fun with async - reducing threads
2019-07-13 10:24:23 -04:00
rusefi
e093819e73
removing unused parameter
2019-07-13 09:54:06 -04:00
rusefi
7d3f98d14e
killing unused feature
2019-07-13 09:52:30 -04:00
rusefi
a3de5fc276
Annotations in C++ code to produce formulas in rusEfi console #807
...
refactoring wall wetting
2019-07-12 22:34:38 -04:00
rusefi
04bc1128df
support multiple VVT sensors #885
...
new fields & packing configuration. bumping configuration version
2019-07-12 14:24:45 -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
cf2dff461d
dead logic
2019-07-09 07:58:55 -04:00
rusefi
34acd20833
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
cdac02429c
refactoring: better file name
2019-07-06 20:15:49 -04:00
rusefi
b2dece5269
undoing wrong fix & better fix for #805
...
also generator logging improvements
This reverts commit f07f96599b
.
2019-06-30 14:28:47 -04:00
rusefi
37a9e66bc1
Annotations in C++ code to produce formulas in rusEfi console #807
2019-06-19 22:34:11 -04:00
rusefi
f07f96599b
"Calibrate TPS" broken in TS fix #805
2019-06-17 22:00:34 -04:00
rusefi
0bf1653575
removing dead text protocol support
2019-06-16 17:13:11 -04:00
rusefi
6448de52ba
issue with SD card logs
2019-06-11 16:00:52 -04:00
rusefi
2ac7d748ac
refactoring
2019-05-27 18:58:43 -04:00
rusefi
5f642ac254
unit tests should not have global context, including mock values
2019-05-27 15:56:12 -04:00
rusefi
0dca6e6da1
refactoring: better variable names
2019-05-27 11:17:28 -04:00
rusefi
8c00f9ebe8
FEATURE REQ: aux temperature inputs #332
2019-05-09 19:39:21 -04:00
rusefi
5523caa536
Saab CDM knock signal integration #647
2019-05-05 17:21:36 -04:00
rusefi
d09bcad3e7
dreams of two ETBs
2019-05-05 12:02:42 -04:00
rusefi
edb4e37505
docs
2019-05-02 17:52:48 -04:00
rusEfi
8138d137fe
'warninigLedPin' typo and minor TS progress
2019-04-28 23:04:52 -04:00
rusefi
3c09b8f1f5
reducing analog_inputs debug confusion :)
2019-04-25 08:32:20 -04:00
rusefi
2baca12920
DBG_ANALOG_INFO
2019-04-24 23:46:13 -04:00
rusefi
3298b57932
DBG_ANALOG_INFO
2019-04-24 22:16:37 -04:00
rusefi
d8281626df
defined(__DOXYGEN__) ? fix #748
2019-04-12 22:10:57 -04:00
dron0gus
e938372a4b
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
bc0eaf52d8
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
feec03fa24
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
b80806182f
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
bd2b992918
unifying_file_naming
2019-03-29 09:11:13 -04:00
rusefi
7c1020b17c
random progress
2019-03-14 13:28:51 -04:00
rusefi
af87bf7e1e
fuel gauges unification
2019-03-12 21:48:28 -04:00
dron0gus
76fa11d5e2
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
24b1b34fef
wider usage of PeriodicController
2019-02-11 15:09:24 -05:00
rusefi
9325cd6d23
better (?) variable names
2019-02-10 22:47:49 -05:00
rusefi
01045db270
better blinking logic in case of software fatal error
2019-02-05 21:29:55 -05:00
rusefi
8dad472933
better variable name
2019-02-05 21:13:38 -05:00
rusefi
5e448a7941
refactoring: same condition twice?
2019-02-05 21:05:45 -05:00
rusefi
16da833501
Refactor Trigger System #635
...
reducing global state magic
2019-02-03 02:47:20 -05:00