rusefillc
156ae07bac
limp mode too good for bench testing #2244
2021-01-27 00:02:37 -05:00
Andrey G
777979c3ca
Chibi os 20 ( #2212 )
...
* Update ChibiOS
* Fix Makefiles includes paths
* halconf.h: remove flash hack
* mcuconf: fix EXTI ptiorityes
* Digital Input: ICU: use designated initializers, initialize 'arr'
* ChibiOS: lis302dl fix
* ADC: update to new API
* UARTConfig: timeout_cb field, formating
* ChibiOS: remove _exit, _kill, _getpid
* Fix lis302dl
* Bump config versions
* chconfig_common: cosmetic changes
* stm32f4ems: commulative config update
* Update Simulator
* ALLCSRC already contain all needed ChibiOS files.
Same for ALLINC and ALLCPPSRC
* ChibiOS fix for Simulator
* ChibiOS: port lock/unlock hook and MMC over SPI timeout
* STM32F7: update configs
* STM32F7: update linker file
* Cypress: port ADC lld to ChibiOS-20
* Cypress: port SPI lld to ChibiOS-20
* Cypress: port CAN lld to ChibiOS-20
* Cypress: fix include path for rules.ld
* Cypress: update chconf.h and halconf.h for ChibiOS-20
* Kinetis: update ADC lld to ChibiOS-20
* Kinetis: update SPI lld to ChibiOS-20
* Kinetis: update UART lld driver for ChibiOS-20
* Kinetis: update chconf.h and halconf.h for ChibiOS-20
* Kinetis: fix include path for rules.ld
* Nucleo F746: update ld script
* Nucleo F746: fix compile
* Bootloader: fix compilation with ChibiOS-20, cleanup
* Bootloader: add way to pass crosscompiler using CROSS_COMPILE
* Debug build arguments
* Simulator: fix windows compilation
Exclude syscalls_cpp.cpp from compilation
2021-01-19 15:20:35 -05:00
rusefillc
e3e517f9a2
journey of self discovery
2021-01-14 23:34:10 -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
rusefillc
1cbb0c5680
Revert "Revert "rpm rate of change ( #2159 )""
...
This reverts commit 538b3ac6
2021-01-09 20:06:19 -05:00
rusefillc
538b3ac649
Revert "rpm rate of change ( #2159 )"
...
This reverts commit f73b7123
#2207 yes, this makes no sense but just to confirm
2021-01-09 19:45:07 -05:00
rusefillc
880b310ec9
cherry pick from https://github.com/dron0gus/rusefi/tree/ChibiOS-20
2021-01-09 18:55:58 -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
f73b7123bb
rpm rate of change ( #2159 )
...
* compute rpm rate of change
* fix units on gauge
* oops
* correct order
* scaling and limits
* correct for engine cycle length
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-03 09:55:44 -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
342414a5f7
show when idle is closed loop ( #2160 )
...
* show when idle is closed loop
* semicolon
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-30 08:42:40 -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
3878cb9994
sd log afr 2 ( #2052 )
2020-12-10 14:05:52 -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
Matthew Kennedy
fadfc8d09b
config for second lambda ( #2047 )
...
* config
* size
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-09 14:30:51 -05:00
Matthew Kennedy
99b9391ae8
start peeling out ts commands ( #2045 )
...
* start peeling out commands
* guard
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-09 02:23:02 -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
rusefillc
ea8e09ba13
fix warnings found by clang #2014
2020-12-08 13:59:40 -05:00
Matthew Kennedy
cc59a42e3f
start making TS protocol testable ( #2043 )
...
* start pulling out a class
* pull function out of loop
* there we go
* ok there we go for real
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-08 03:05:43 -05:00
rusefi
2a1b585bfe
Revert "Revert "Split ETB in to interface + implementation headers ( #2040 )""
...
This reverts commit 4f4bb957
2020-12-07 01:27:27 -05:00
rusefi
4f4bb95770
Revert "Split ETB in to interface + implementation headers ( #2040 )"
...
This reverts commit d9a82c09
2020-12-07 01:11:19 -05:00
Matthew Kennedy
d9a82c09af
Split ETB in to interface + implementation headers ( #2040 )
...
* split etb interface
* mocks
* fix master while we're at it
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-07 00:29:09 -05:00
Andrey G
7c6974ab43
Fixes after clenup ( #2019 )
...
* We still need consoleEventListener for boards with EFI_CONSOLE_SERIAL_DEVICE
* MC33810: add MC_ prefix for command defines
As CMD_PWM define is now used by console command
2020-12-05 11:54:09 -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
rusefillc
e5ef8de2ae
unit tests in clang #2012
2020-12-04 23:59:21 -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
52a1ff0817
time to bump TS_OUTPUT_SIZE!
2020-12-02 14:10:02 -05:00
shadowm60
ecc9c0dc6b
introduce vehicle acceleration in TS ( #1997 )
...
* introduce vehicle acceleration in TS
* Update rusefi.input
added gauge as well
2020-12-02 11:12:19 -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
f3b7a1d9da
Remove lockAnyContext, replace with CriticalSectionLocker ( #1938 )
...
* switch to CriticalSectionLocker
* that's just about all
* clean up last usage
* include hpp for sim
* need the cpp wrappers in the makefile too
* include dir
* include
2020-11-19 06:56:02 -05:00
rusefillc
44a0bade05
occasional tunerstudio CRC errors #1943
...
third time a charm?
2020-11-17 23:47:35 -05:00
rusefillc
3917324f21
sporadic crc error #1943
...
un-removing, one step forward
2020-11-17 15:24:00 -05:00
rusefi
7cba09b3fa
occasional tunerstudio CRC errors #1943
...
second step back
2020-11-15 22:41:04 -05:00
rusefillc
c561fae005
occasional tunerstudio CRC errors #1943
...
one step back
2020-11-15 21:41:38 -05:00
Matthew Kennedy
5b0a178605
Fix crc again, for real this time ( #1948 )
...
* re enable
* changelog
* fix
* fix test
* put some tests back
2020-11-15 16:59:02 -05:00
rusefillc
43c5c7ff83
occasional tunerstudio CRC errors #1943
...
unit test progress
2020-11-15 12:36:07 -05:00
rusefillc
a42077bef8
occasional tunerstudio CRC errors #1943
...
now with a bit of a unit test
2020-11-15 12:27:47 -05:00
rusefillc
286fa10b15
occasional tunerstudio CRC errors #1943
...
getting ready for unit test
2020-11-15 11:55:26 -05:00
rusefillc
30a0082ed2
occasional tunerstudio CRC errors #1943
...
getting ready for unit test
2020-11-15 11:53:09 -05:00
rusefillc
842372e69a
Re-applying part of "fix CRC errors #1944"
2020-11-15 10:28:23 -05:00