Commit Graph

56 Commits

Author SHA1 Message Date
rusefi 991c4aa7b8 trying to reduce confusion x2 2022-05-30 17:06:56 -04:00
rusefillc c1dd86f1d0 User board-specific terms in error messages #3886
progress
2022-02-03 12:45:26 -05:00
rusefillc d4bc7077b3 smart diag into bench test 2022-01-03 14:21:54 -05:00
Matthew Kennedy 7296593448 remove engine pointer passing (#3556)
* some

* more

* more

* the last?!
2021-11-16 04:15:29 -05:00
Andrey 8a49009f44 trigger signal debug pins - logic level output #2959 2021-07-15 02:12:57 -04:00
Andrey 0f7def86dc all aboard the God object! 2021-07-15 02:00:48 -04:00
Andrey 050a009b3d trigger signal debug pins - logic level output #2959 2021-07-15 01:46:30 -04:00
Andrey 0f30fec7c2 trigger signal debug pins - logic level output #2959 2021-07-15 01:28:44 -04:00
Matthew Kennedy e3bf80b9d7 convert gpiochips to c++ (#2761)
* core

* basic header

* tests are happy

* tle6240

* tle8888

* 33972

* 33810

* tle8888_req_init

* unused warning

* warning

* unsigned

* 8888 debug

* fix

* don't qualify

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-10 04:11:01 -04:00
Andrey G b61ae75fe2 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 f962a7bd64 Gpio cleanup #2 (#1530)
* pin repository: PIN_USED size in now equal to brain_pin_e enum size

expect special values...

* smart gpios: register gpio chip to given base (no auto-allocation)

* drivers: gpio: core: add gpiochip_unregister()

* drivers: gpio: MC33810 intergation

* smart_gpio.cpp: cleanup ifdef mess, minor cleanups

* gpio: core: additional check for gpio ranges overlaps

* unit test: gpio chip: fixed and extended
2021-01-06 18:29:47 -05:00
rusefi cfd8889236 class constructors are a great way to have simple initialization sequence 2020-05-03 10:58:52 -04:00
rusefi 04363877b4 refactoring: using constructor life-cycle to simplify initialization sequence 2020-05-02 23:15:48 -04:00
rusefi cc35e8a9b0 code style 2020-04-01 19:00:56 -04:00
rusEfi ea4714e0c2 tle8888 dump at init 2020-02-12 08:34:26 -05:00
rusefi a222ecdfe1 happy new year unification 2020-01-13 21:57:43 -05:00
andreika-git e9c383ce7e STM32-specific GPIO refactor (stm32_pins.cpp) (#817)
* stm32_pins.cpp

* PIN_USED & other
2019-06-02 16:48:38 -04:00
rusefi b0e1ad12be docs 2019-05-10 18:51:48 -04:00
rusefi 5e8b28be49 docs 2019-05-10 17:53:17 -04:00
rusefi 174fd2d0be progress 2019-04-12 17:39:49 -04:00
dron0gus e895593e67 Simulator (#749)
* Hide trigger_input.cpp if EFI_SHAFT_POSITION_INPUT == FALSE

* hide some hw-specific code under EFI_PROD_CODE
2019-04-12 23:28:19 +02:00
rusefi 757832c91b The Big Refactoring of 2019: folder structure #723 2019-04-09 22:52:03 -04:00
dron0gus 69df5d4b50 gpios rework (#739)
* Some more include fixes for linux

* Pass cross-compile path through CROSS_COMPILE

* Lower-upper case conversion fixes for linux

* Rename unmarkPin to brain_pin_markUnused

This is part of external gpiochip integration

* Add gpio_pin prefix to markUsed and markUnused

To distinguish from similar functions using brain_pin

* pin_repository: add helpers

this is part of gpio chips integration

* efi_gpio: simplify getHwPin using brain_pin_is_onchip
2019-04-10 01:31:10 +02:00
rusefi 9c05a42b1b we need TLE8888 driver #714 2019-04-04 19:29:33 -04:00
dron0gus ea1f2527cb Extgpios integration 1 (#734)
* pin repository: add brain_pin_markUsed and brain_pin_markUnused

This is part of external gpio chips integration

* pin repository: simplify getPinFunction()

* pin repository: add brain_pin_is_onchip()

This is part of external gpio chips integration

* pin repository: kill signed vs unsigned warning
2019-04-05 00:53:27 +02:00
rusefi e28ce71bb8 unifying_file_naming 2019-03-29 09:11:13 -04:00
dron0gus 19cdfab5f5 Cleanup fixes (#700)
* Kill some more warnings

* pin_repository: add markUnused, allow use from plain C

* ehiGpio.cpp: add forgotten GPIOG port
2019-03-08 07:01:15 -05:00
rusefi 8081b07782 CJ125 unit-tests coverage #617 2018-11-03 13:17:58 -04:00
rusefi ae17c650a6 refactoring - reducing GPIO complexity 2017-04-21 16:27:15 -04:00
rusefi e3bad992d4 refactoring - reducing GPIO complexity 2017-04-21 16:20:06 -04:00
rusEfi 552c664a23 auto-sync 2017-01-03 06:05:22 -05:00
rusEfi b1846be06a auto-sync 2016-04-03 11:02:57 -04:00
rusEfi 8bbea9e638 auto-sync 2016-02-04 11:02:13 -05:00
rusEfi 59c61e38e4 auto-sync 2016-01-15 23:01:43 -05:00
rusEfi 42069e51ac auto-sync 2015-12-31 16:02:30 -05:00
rusEfi 41e7abdd6f auto-sync 2015-07-10 09:01:56 -04:00
rusEfi 69b0c4e2de auto-sync 2015-07-10 08:57:59 -04:00
rusEfi b6669251bc auto-sync 2015-04-07 21:04:35 -05:00
rusEfi 4a783e16e5 auto-sync 2015-04-03 22:10:08 -05:00
rusEfi a1c200a401 auto-sync 2015-03-09 08:05:23 -05:00
rusEfi b105d4fabc auto-sync 2015-02-01 10:05:10 -06:00
rusEfi b64987932b auto-sync 2015-01-13 21:04:02 -06:00
rusEfi 485a2ec8ba auto-sync 2015-01-13 20:06:35 -06:00
rusEfi a174734294 auto-sync 2015-01-12 17:04:10 -06:00
rusEfi d26c763e5c auto-sync 2015-01-07 17:04:40 -06:00
rusEfi d7c2bc9e85 auto-sync 2015-01-03 23:03:23 -06:00
rusEfi b4bdc5c5db auto-sync 2014-12-24 18:05:31 -06:00
rusEfi 850f72530c auto-sync 2014-10-13 13:03:07 -05:00
rusEfi f6945cec0f auto-sync 2014-09-04 15:02:47 -05:00
rusEfi 6a1489b83a auto-sync 2014-08-30 19:05:51 -05:00