Commit Graph

171 Commits

Author SHA1 Message Date
rusefi 06e72d6676 trigger and start button pins not displayed by "pins" command #2084 2020-12-22 21:20:57 -05:00
rusefi a06c58d916 trigger and start button pins not displayed by "pins" command #2084 2020-12-22 21:05:49 -05:00
Matthew Kennedy 30fd52d82d 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 5390fccada Starter is engaged on start-up in pull-up configuration #1969 2020-11-26 10:55:39 -05:00
Matthew Kennedy c73978310f 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 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
rusefi 9a33e922af The Big Refactoring of 2019: folder structure #723 2020-08-02 20:46:40 -04:00
rusefi a2648c4d52 WBO 2020-05-20 19:01:55 -04:00
rusefi b34693da97 docs 2020-05-03 10:41:48 -04:00
rusefi f9e63c5c45 CJ125 PI commands 2020-05-01 20:22:49 -04:00
rusefi f66a1c21c9 cj125 progress 2020-05-01 19:42:09 -04:00
rusefi b262b5da66 cj125 less verbose when running 2020-05-01 19:27:26 -04:00
rusefi c33d611dd4 bugfix 2020-05-01 19:19:29 -04:00
rusefi 9353ef7d51 better state messages 2020-05-01 18:52:06 -04:00
rusefi 7689cfc2dd Attempting cj125 2020-05-01 17:52:25 -04:00
rusefi bdacba7d4a docs 2020-04-30 22:30:37 -04:00
rusefi b04a3ecbed https://github.com/rusefi/rusefi_documentation/issues/37 2020-04-29 18:46:51 -04:00
rusefi 0ec3ce595e dead code 2020-04-26 17:40:12 -04:00
rusefi 33eb9fd2ec new attempt at better simulator 2020-04-13 13:12:55 -04:00
rusefi 79d7afca3c fixing build 2020-04-13 10:23:08 -04:00
rusefi 27a38c7cf8 progress 2020-04-13 09:14:48 -04:00
rusEfi 371754118c cj125 diag 2020-04-09 00:17:29 -04:00
rusEfi 80d5ef0c3f cj125 diag 2020-04-09 00:12:27 -04:00
rusefi c98cdc9c0a cj125 progress 2020-04-08 23:14:21 -04:00
rusefi 914855d262 refactoring 2020-04-08 21:23:49 -04:00
rusefi cc35e8a9b0 code style 2020-04-01 19:00:56 -04:00
Matthew Kennedy 0ac3e06149 cleanup extern mess (#1237)
* cleanup

* move outside define
2020-03-29 19:06:03 -04:00
rusefi 74b191d6d0 random code from Ola 2020-03-24 19:14:16 -04:00
Matthew Kennedy c51f3ad303 Dont cache dma buffers (#1110)
* add no_cache

* don't disable cache

* conventions

* formatting
2020-01-29 00:32:43 -05:00
rusefi 5ec42fd6bc F7 SPI challenges 2020-01-24 23:52:56 -05:00
Matthew Kennedy f8cd2ad3ce 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 a222ecdfe1 happy new year unification 2020-01-13 21:57:43 -05:00
rusefi 63e3e84e08 happy new year 2020-01-08 00:02:40 -05:00
dron0gus d218b4e8e6 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 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 f47a1a16d1 getting rid of boardConfiguration / binary compatible change 2019-12-11 17:48:55 -05:00
rusefi a09ee15b08 The Big Refactoring of 2019: folder structure #723 2019-12-04 00:22:34 -05:00
rusefi 7fb375b15f fixing build 2019-12-02 09:59:53 -05:00
rusefi f9c387b42e cj125 unit test progress! 2019-12-02 01:52:54 -05:00
rusefi 19bdb9a35f docs & code formatting 2019-11-19 18:17:03 -05:00
rusefi 8bbd06d165 refactoring: time to unify digital pin API 2019-11-11 23:32:09 -05: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 3fa5399ed7 EFI_CJ125_DIRECTLY_CONNECTED_UR should be a runtime parameter fix #914 2019-09-03 18:44:05 -04:00
rusefi 0e6509906b longer field names 2019-07-13 10:32:36 -04:00
Matthew Kennedy 0b52f5b542 Template-ize bin/value length for interpolation (#878)
* update consumers

* tests

* whitespace

* format
2019-07-09 21:16:36 +03: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
Matthew Kennedy 515ab03688 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 e736578452 docs 2019-05-27 17:02:46 -04:00
rusefi ea86d987c8 PID - fix dTime usages #776 2019-04-25 21:31:33 -04:00
dron0gus 83d1f254a1 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 56511da9e1 input mode control and other pin mode control #767
TODO
2019-04-20 10:59:07 -04:00
rusefi 16c68ef5d1 docs 2019-04-20 10:21:45 -04:00
rusefi c55300df7d USB and TLE8888 not working for F4 or F767 #764 2019-04-19 13:01:06 -04:00
rusefi 476db0c857 USB and TLE8888 not working for F4 or F767 #764 2019-04-19 12:42:21 -04:00
rusefi f6eb829fef cj125 and hip125 and else SPI broken with chibi18 migration #757 2019-04-14 18:09:58 -04:00
rusefi 6bda683fba random cleanup 2019-04-14 13:52:27 -04:00
rusefi fe1f871a69 defined(__DOXYGEN__) ? #748 2019-04-12 20:52:51 -04:00
rusefi 54f83a431e smarter PWM API - need to pass arbitrary pointer 2019-04-12 20:11:27 -04:00
dron0gus 12e07bc3ab 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 0121a7bc5b The Big Refactoring of 2019: folder structure #723 2019-04-02 23:19:21 -04: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 5311bfa502 unifying_file_naming 2019-03-29 09:40:43 -04:00
rusefi ad46204200 git 2019-03-29 09:38:08 -04:00
rusefi ddb0fc6510 better error handling for invalid SPI settings 2019-03-26 09:38:23 -04:00
rusefi 3ff5581e77 SPI prescaler refactoring 2019-03-25 22:41:31 -04:00
rusefi 1f81aa169a we need TLE8888 driver #714 2019-03-25 20:30:36 -04:00
rusefi 8303dc7595 refactoring: no logic changes, just nicer variable and method names 2019-03-12 18:54:46 -04:00
rusefi c60c8ce777 better (?) variable names 2019-02-10 22:47:49 -05:00
rusefi 7549f7e0fc CJ125 unit-tests coverage #617 2019-02-02 01:45:26 -05:00
rusefi e4e47ae833 CJ125 unit-tests coverage #617 2019-02-02 01:06:45 -05:00
rusefi 4796942097 CJ125 unit-tests coverage #617 2019-02-01 23:48:11 -05:00
rusefi 6992480f74 CJ125 unit-tests coverage #617 2019-02-01 23:16:34 -05:00
rusefi dd7add7a78 CJ125 heater zero PWM improvement 2019-02-01 22:20:15 -05:00
rusefi 55e74865b7 docs 2019-01-11 08:33:34 -05:00
Matthew Kennedy fd8c6a8906 idle CS pin fix #665 (#666) 2019-01-11 08:12:26 -05:00
rusefi fed61c1af4 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-09 22:57:33 -05:00
rusefi 9f63ea4130 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 08:50:51 -05:00
rusefi 81798b9faf cj125 refactoring 2019-01-03 08:26:42 -05:00
rusefi 9f14429db2 #617 unit test skeleton 2019-01-03 07:57:34 -05:00
rusefi e3acb434c0 #617 2019-01-03 07:22:21 -05:00
Fabien Poussin 1f29b5dd37 Workarounds for GCC 8 (#637) 2018-12-27 09:40:40 -05:00
rusefi f1e369aa70 CJ125 unit-tests coverage #617 2018-11-03 13:45:36 -04:00
rusefi 992ac3f274 CJ125 unit-tests coverage #617 2018-11-03 13:38:02 -04:00
rusefi 3f038c0db1 CJ125 unit-tests coverage #617 2018-11-03 13:27:48 -04:00
rusefi 8081b07782 CJ125 unit-tests coverage #617 2018-11-03 13:17:58 -04:00
rusefi 996ca909de CJ125 unit-tests coverage #617 2018-11-03 11:44:57 -04:00
rusefi 6763c54f01 #613 2018-10-16 21:27:05 -04:00
andreika-git a7b7f94e0d 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 2f3995378e sorry more manual merge of #602 2018-08-08 20:42:55 -04:00
Matthew Kennedy bb20f749ed expand lsu4.9 curve size 2018-08-08 20:15:57 -04:00
Matthew Kennedy 64fd55c516 only post tunerstudio state if asked to 2018-08-08 19:57:06 -04:00
rusefi 928ae5cb61 cj125 fixing build 2018-07-22 14:17:51 -04:00
rusefi ef7507ff64 CJ125 more error codes 2018-06-23 09:34:31 -04:00
rusefi 3bed900e14 docs & defaults 2018-06-17 19:14:46 -04:00
rusefi 0d3d018712 cj125isUaDivided parameter 2018-06-17 15:07:42 -04:00
rusefi 301d8ff9ab docs 2018-05-27 20:47:40 -04:00
andreika-git 127ec74f21 Fix CJ125 postState() debug output (#582) 2018-03-21 15:14:53 -04:00