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
rusefillc
ff765f5f5d
knock v12
2021-01-06 19:42:07 -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
rusefi
a254c79d93
trigger and start button pins not displayed by "pins" command #2084
2020-12-22 21:20:57 -05:00
rusefi
42c1fb7b5e
trigger and start button pins not displayed by "pins" command #2084
2020-12-22 21:05:49 -05:00
Matthew Kennedy
6168bcea80
Fix gpio reinit race condition ( #2098 )
...
* fix unregister api for gpio
* consumers
* guard with a critical section
* index
* guard less
* unregister under lock
* fix reinit
* dead flag
* fix most tests
* initialize properly
* initialize properly
* assertions in tests
* fix message
* we must lock earlier to be truly safe
* this was using huge memory
* devirtualize
2020-12-18 17:18:12 -05:00
rusefillc
2f91ae6f73
Starter is engaged on start-up in pull-up configuration #1969
2020-11-26 10:55:39 -05:00
Matthew Kennedy
a68cbae0dc
Remove trigger listener list ( #1886 )
...
* avoid 64b on hot path
* no tooth log when fast
* use crit section locker
* final
* only flip pins if not also self stim
* only trace if doing work
* slightly drop lateDelay
* trace if not bailing out
* remove listener array
2020-10-17 08:00:11 -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
rusefi
8f4aecf7ca
The Big Refactoring of 2019: folder structure #723
2020-08-02 20:46:40 -04:00
rusefi
725d2b816d
WBO
2020-05-20 19:01:55 -04:00
rusefi
244d1ea7e8
docs
2020-05-03 10:41:48 -04:00
rusefi
d371af5b89
CJ125 PI commands
2020-05-01 20:22:49 -04:00
rusefi
669322311f
cj125 progress
2020-05-01 19:42:09 -04:00
rusefi
de519474ef
cj125 less verbose when running
2020-05-01 19:27:26 -04:00
rusefi
d6db0d1013
bugfix
2020-05-01 19:19:29 -04:00
rusefi
c39662b5c6
better state messages
2020-05-01 18:52:06 -04:00
rusefi
fe25c8162a
Attempting cj125
2020-05-01 17:52:25 -04:00
rusefi
865531193d
docs
2020-04-30 22:30:37 -04:00
rusefi
7686ee271c
https://github.com/rusefi/rusefi_documentation/issues/37
2020-04-29 18:46:51 -04:00
rusefi
1b84406e77
dead code
2020-04-26 17:40:12 -04:00
rusefi
ced931c9b2
new attempt at better simulator
2020-04-13 13:12:55 -04:00
rusefi
25b281c9e7
fixing build
2020-04-13 10:23:08 -04:00
rusefi
a08a6cebff
progress
2020-04-13 09:14:48 -04:00
rusEfi
9d2249390f
cj125 diag
2020-04-09 00:17:29 -04:00
rusEfi
19184033dd
cj125 diag
2020-04-09 00:12:27 -04:00
rusefi
89474adb63
cj125 progress
2020-04-08 23:14:21 -04:00
rusefi
5931fdb915
refactoring
2020-04-08 21:23:49 -04:00
rusefi
907b80efa9
code style
2020-04-01 19:00:56 -04:00
Matthew Kennedy
8fd9842310
cleanup extern mess ( #1237 )
...
* cleanup
* move outside define
2020-03-29 19:06:03 -04:00
rusefi
392c3a1d0c
random code from Ola
2020-03-24 19:14:16 -04:00
Matthew Kennedy
ff3329655a
Dont cache dma buffers ( #1110 )
...
* add no_cache
* don't disable cache
* conventions
* formatting
2020-01-29 00:32:43 -05:00
rusefi
fea2394c7b
F7 SPI challenges
2020-01-24 23:52:56 -05:00
Matthew Kennedy
ba0c48e0ac
use NT_PER_SECOND instead of convert from microseconds ( #1107 )
...
* add NT_PER_SECOND
* missed a few
* inject tooth logger timestamp
* inject
2020-01-19 22:23:41 -05:00
rusefi
bb217b01dd
happy new year unification
2020-01-13 21:57:43 -05:00
rusefi
b83a5310be
happy new year
2020-01-08 00:02:40 -05:00
dron0gus
1b42748e60
Spi fixes ( #1083 )
...
* spi: add support for SPI4
* mpu_util: spi: add 8BIT mode definitions for F4, F7 and kineris (?)
2020-01-06 08:44:23 -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
af4f20551b
getting rid of boardConfiguration / binary compatible change
2019-12-11 17:48:55 -05:00
rusefi
0dd517bcc7
The Big Refactoring of 2019: folder structure #723
2019-12-04 00:22:34 -05:00
rusefi
87143bef9f
fixing build
2019-12-02 09:59:53 -05:00
rusefi
0b4f624b2a
cj125 unit test progress!
2019-12-02 01:52:54 -05:00
rusefi
7dfdfc6378
docs & code formatting
2019-11-19 18:17:03 -05:00
rusefi
3c57c3d216
refactoring: time to unify digital pin API
2019-11-11 23:32:09 -05: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
9f50f9a4f7
EFI_CJ125_DIRECTLY_CONNECTED_UR should be a runtime parameter fix #914
2019-09-03 18:44:05 -04:00
rusefi
30899abb1b
longer field names
2019-07-13 10:32:36 -04:00
Matthew Kennedy
e0db83e027
Template-ize bin/value length for interpolation ( #878 )
...
* update consumers
* tests
* whitespace
* format
2019-07-09 21:16:36 +03: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
Matthew Kennedy
95003e9a7b
const, explicit, and override ( #831 )
...
* const, explicit, and override
* more const
* more const
* missed a spot
2019-06-08 09:51:36 -04:00
rusefi
8df2320432
docs
2019-05-27 17:02:46 -04:00
rusefi
f04732830f
PID - fix dTime usages #776
2019-04-25 21:31:33 -04:00
dron0gus
def0123503
Exti rework ( #770 )
...
* io_pins: implement efiSetPadUnused
When pin becomes unused it should be switched to safe mode and
disconnected from any IP block. Assume that gpio input mode with
pull-up is safe enough.
* trigger_input: switch triggers pins to safe mode on stop/reinit
* digital_input_exti: rework
* rename enableExti to efiExtiEnablePin
* add efiExtiDisablePin
* keep track of used exti channels
* trigger_input: use digital_input_exti functions
2019-04-21 09:28:49 -04:00
rusefi
cd13a36a6a
input mode control and other pin mode control #767
...
TODO
2019-04-20 10:59:07 -04:00
rusefi
b71ec07238
docs
2019-04-20 10:21:45 -04:00
rusefi
251710ecd8
USB and TLE8888 not working for F4 or F767 #764
2019-04-19 13:01:06 -04:00
rusefi
54b2f311fe
USB and TLE8888 not working for F4 or F767 #764
2019-04-19 12:42:21 -04:00
rusefi
04445b5713
cj125 and hip125 and else SPI broken with chibi18 migration #757
2019-04-14 18:09:58 -04:00
rusefi
7be441a1bc
random cleanup
2019-04-14 13:52:27 -04:00
rusefi
508e9d74e7
defined(__DOXYGEN__) ? #748
2019-04-12 20:52:51 -04:00
rusefi
22ad223d75
smarter PWM API - need to pass arbitrary pointer
2019-04-12 20:11:27 -04:00
dron0gus
572d04a799
Some more include fixes for linux ( #738 )
...
* Some more include fixes for linux
* Pass cross-compile path through CROSS_COMPILE
* Lower-upper case conversion fixes for linux
2019-04-10 01:12:35 +02:00
rusefi
02832ce0c3
The Big Refactoring of 2019: folder structure #723
2019-04-02 23:19:21 -04: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
aff03cdbc5
unifying_file_naming
2019-03-29 09:40:43 -04:00
rusefi
10b1fdf184
git
2019-03-29 09:38:08 -04:00
rusefi
7e58e54976
better error handling for invalid SPI settings
2019-03-26 09:38:23 -04:00
rusefi
cf740411f2
SPI prescaler refactoring
2019-03-25 22:41:31 -04:00
rusefi
fc590524c2
we need TLE8888 driver #714
2019-03-25 20:30:36 -04:00
rusefi
653a735eab
refactoring: no logic changes, just nicer variable and method names
2019-03-12 18:54:46 -04:00
rusefi
9325cd6d23
better (?) variable names
2019-02-10 22:47:49 -05:00
rusefi
7880acec98
CJ125 unit-tests coverage #617
2019-02-02 01:45:26 -05:00
rusefi
e9a1341782
CJ125 unit-tests coverage #617
2019-02-02 01:06:45 -05:00
rusefi
2b852ea48e
CJ125 unit-tests coverage #617
2019-02-01 23:48:11 -05:00
rusefi
3b5a07c9d6
CJ125 unit-tests coverage #617
2019-02-01 23:16:34 -05:00
rusefi
56f0260414
CJ125 heater zero PWM improvement
2019-02-01 22:20:15 -05:00
rusefi
a0d3ed28ea
docs
2019-01-11 08:33:34 -05:00
Matthew Kennedy
a6e8e857af
idle CS pin fix #665 ( #666 )
2019-01-11 08:12:26 -05:00
rusefi
cbd2d69731
The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657
2019-01-09 22:57:33 -05:00
rusefi
970d120a41
The Big Refactoring of 2019: scheduler should not be global #655
2019-01-09 08:50:51 -05:00
rusefi
943bc8e577
cj125 refactoring
2019-01-03 08:26:42 -05:00
rusefi
19c3f7370f
#617 unit test skeleton
2019-01-03 07:57:34 -05:00
rusefi
02f7380921
#617
2019-01-03 07:22:21 -05:00
Fabien Poussin
72fe39ff32
Workarounds for GCC 8 ( #637 )
2018-12-27 09:40:40 -05:00
rusefi
f3f9223048
CJ125 unit-tests coverage #617
2018-11-03 13:45:36 -04:00
rusefi
e28f2b0e3b
CJ125 unit-tests coverage #617
2018-11-03 13:38:02 -04:00
rusefi
0af290c381
CJ125 unit-tests coverage #617
2018-11-03 13:27:48 -04:00
rusefi
5d5c80a8a1
CJ125 unit-tests coverage #617
2018-11-03 13:17:58 -04:00
rusefi
b7b2e53d55
CJ125 unit-tests coverage #617
2018-11-03 11:44:57 -04:00
rusefi
c392ba8844
#613
2018-10-16 21:27:05 -04:00
andreika-git
d2569a1d11
Prepare for TPS-based Advance and tCharge Modes + Fixes ( #610 )
...
* rusefi_config.txt
* rusefi.input for TPS-based Advance
* rusefi.input for tCharge
* Fix compilation for Prometheus config
* Fix CJ125 calibration & debug flood
* Fix EnumToString utility for main.h->global.h refactoring
2018-09-25 15:45:17 -04:00
rusefi
24a85a6331
sorry more manual merge of #602
2018-08-08 20:42:55 -04:00
Matthew Kennedy
1250463b7a
expand lsu4.9 curve size
2018-08-08 20:15:57 -04:00
Matthew Kennedy
e23e025176
only post tunerstudio state if asked to
2018-08-08 19:57:06 -04:00
rusefi
806ad1abf3
cj125 fixing build
2018-07-22 14:17:51 -04:00
rusefi
e48d4687c1
CJ125 more error codes
2018-06-23 09:34:31 -04:00
rusefi
d9ecb9784b
docs & defaults
2018-06-17 19:14:46 -04:00