Commit Graph

35 Commits

Author SHA1 Message Date
Matthew Kennedy e9d092f975
big delete ICU (#4270)
* big delete

* icu vestiges

* changelog
2022-07-07 15:27:59 -04:00
Scott Smith 69d36dad6e
Final cleanup of ENGINE macros (#3567)
Fix some uses of ENGINE() not detected by regex due to parenthesis.
Remove now empty engine_ptr.h
Don't worry about EFI_* not being defined, the compiler defaults to 0 if they aren't.
2021-11-17 13:45:10 -05:00
Scott Smith 823d9a07e0
Programmatically replace ENGINE() and CONFIG() with engine-> etc (#3565)
git grep -l -w ENGINE | xargs sed -i -r "s/ENGINE\(([]a-zA-Z_0-9.[]+)\)/engine->\1/g"

git grep -l -w CONFIG | xargs sed -i -r "s/([^a-zA-Z_])CONFIG\(([]a-zA-Z_0-9.[]+)\)/\1engineConfiguration->\2/g"
2021-11-17 03:54:21 -05:00
Matthew Kennedy 8cdac4cac0
remove engine pointer passing (#3556)
* some

* more

* more

* the last?!
2021-11-16 04:15:29 -05:00
rusefillc b141f83a88 No pins should be restarted for no reason during config change #3151 2021-08-14 04:58:10 -04:00
Andrey c513e976ed trigger signal debug pins - logic level output #2959 2021-07-15 01:46:30 -04:00
Andrey 23be588af6 trigger signal debug pins - logic level output #2959 2021-07-15 01:28:44 -04:00
Andrey a926357a01 making code more testable 2021-07-14 22:37:05 -04:00
Andrey b2f09de277 refactoring - making method available 2021-07-13 19:28:03 -04:00
rusefi a254c79d93 trigger and start button pins not displayed by "pins" command #2084 2020-12-22 21:20:57 -05:00
Matthew Kennedy 690ab7e917
gpio unit tests (#2099)
* 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

* move gpio mocking

* test gpios

* we must lock earlier to be truly safe

* this was using huge memory

* devirtualize

* test deinit
2020-12-18 17:19:02 -05:00
Matthew Kennedy 5f69d23976
fix mock pins array (#2050)
* fix

* fix probably
2020-12-10 00:10:58 -05:00
Matthew Kennedy a3a49b02ed
fix gpio the right way (#1990)
* fix the right way

* use the api

* explain

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-11-27 00:24:41 -05:00
rusefillc 47fbb92bff Starter seems to be engaged forever fix #1965 2020-11-18 23:54:30 -05:00
rusefi 0f5f0a549b this stuff is just too dead 2020-11-02 23:46:41 -05:00
rusefi b84971cc6a code style & pleasing LGTM 2020-02-18 08:16:19 -05:00
rusefi bb217b01dd happy new year unification 2020-01-13 21:57:43 -05:00
rusefi 521b27ff35 codes clean-up 2019-12-14 00:14:36 -05:00
rusefi 0295c343b9 Refactoring: OS access should be explicit #867 2019-07-04 03:25:35 -04:00
rusefi bf7037d606 refactoring 2019-05-10 17:53:41 -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 508e9d74e7 defined(__DOXYGEN__) ? #748 2019-04-12 20:52:51 -04:00
rusefi d94b6d74e7 better ICU error handling 2019-04-07 18:25:46 -04:00
rusefi feb5b28623 refactoring: duplicated import, already imported 2019-02-05 21:06:18 -05:00
rusefi 1f90cf153d refactoring 2018-09-16 22:26:57 -04:00
rusefi 959a91ae4c unique error codes #598 2018-07-25 23:03:04 -04:00
Andrei 69d9483291 Add || DOXYGEN 2017-05-30 22:43:33 +03:00
Andrei 9deb9efbdc Fix HAL_USE_ICU=FALSE 2017-05-30 21:22:38 +03:00
rusefi f27f99e9cc better method name 2017-05-15 08:40:54 -04:00
rusefi 1f07d65fb1 refactoring: extracting method 2017-05-15 05:03:40 -04:00
rusEfi ed4098790c refactoring - reducing GPIO complexity 2017-04-21 20:12:11 -04:00
rusefi e7e7458729 refactoring - reducing GPIO complexity 2017-04-21 16:20:06 -04:00
rusefi 070475f1ff refactoring - reducing GPIO complexity 2017-04-21 15:14:37 -04:00
rusefi 8fa9bf07a4 refactoring - reducing GPIO complexity 2017-04-21 13:53:47 -04:00
rusefi 0992f1465a refactoring - reducing GPIO complexity 2017-04-21 13:36:51 -04:00