Commit Graph

305 Commits

Author SHA1 Message Date
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 2901d9f902 nicer pin names for messages while same short names for engine sniffer 2019-05-15 04:26:41 -04:00
Matthew Kennedy ff5cdc05b6 rename enum (#791) 2019-05-05 00:53:24 -04:00
Matthew Kennedy bdae379c1b fix etb (#789) 2019-05-05 00:42:50 -04:00
dron0gus d0945b9449 Smart gpios (#752)
* efi_gpio: update cached pin value for ext gpios to

* tle6240: update and fix

* gpiochips_init should be called after all gpio chips are added

or we can lost calls to _init of chips

* smart_gpio.c: fix for tle6240 and mc33972

now config structs are not const. waste of ram...
2019-04-14 01:32:46 +02:00
rusefi 334b5d1992 steps towards smarter gpio 2019-04-13 12:02:34 -04:00
rusefi c018341591 ETB using tle7209 fix #746 2019-04-13 01:03:12 -04:00
rusefi 884c54a185 defined(__DOXYGEN__) ? #748 2019-04-12 22:07:03 -04:00
dron0gus 715d225cf4 gpiochips integration: remove incorrect code (rebase issue) (#742) 2019-04-10 16:25:50 +02:00
dron0gus 551f2f5883 Gpiochips integration (#740)
* gpio-chips core function renames

* efi_gpio, pin_repository: add support for external gpios

* gpio-chips update

* gpio-chips: add api to name each pin of gpiochip

* tle6240: provide individual names for each pin
2019-04-10 14:43:54 +02:00
rusefi f554572c54 The Big Refactoring of 2019: folder structure #723 2019-04-09 23:01:45 -04:00
rusefi 3f3c9dba40 fixing continues integraion? 2019-04-09 21:36:53 -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 df62ae6a4b The Big Refactoring of 2019: folder structure #723 2019-04-05 01:41:24 -04:00
rusefi b23f9e9cf4 we need TLE8888 driver #714 2019-04-04 19:56:03 -04:00
rusefi 59d33c4cdc The Big Refactoring of 2019: folder structure #723 2019-03-31 17:44:34 -04:00
andreika-git a79175f6ef More portability & small fixes (#719)
* Use hw_stm32.mk

* Fix bootloader

* Use more common hw_ports.mk filename instead of hw_stm32.mk

* More CPU compatibility for Makefile

* TS_UART_MODE & rename TS_SERIAL_UART_DEVICE->TS_SERIAL_DEVICE

* Move lockAnyContext()/unlockAnyContext() to rfiutil.c

* USE_FATFS

* EFI_LCD

* Less compilation errors

* STATUS_LOGGING_BUFFER_SIZE & SETTINGS_LOGGING_BUFFER_SIZE

* EFI_ALTERNATOR_CONTROL, EFI_SERVO, EFI_DISABLE_CONSOLE_ACTIONS

* #ifndef PWM_PHASE_MAX_COUNT & more flexible GPIO inside portname()

* merge

* EFI_ALTERNATOR_CONTROL, EFI_ELECTRONIC_THROTTLE_BODY
2019-03-29 15:29:01 +01:00
rusefi e28ce71bb8 unifying_file_naming 2019-03-29 09:11:13 -04:00
rusefi 843d887ed7 better Electronic Throttle body control #493 2019-03-10 12:58:27 -04:00
rusefi 9e46bbf519 better Electronic Throttle body control #493
two ETBs
2019-03-10 12:02:25 -04:00
rusEfi 90bf18bcd7 better Electronic Throttle body control #493 2019-03-09 23:31:47 -05: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 9cfbb8d1e1 ETB progress 2019-03-03 15:27:49 -05:00
rusEfi 5b2476f37f ETB 2019-03-01 23:09:33 -05:00
rusEfi 0244ccb010 fix #698 2019-02-27 17:12:52 -05:00
rusefi 34aa05cda9 refactoring: reducing code duplication 2019-02-23 12:33:49 -05:00
rusefi e1ba29febd 688 brainpins (#694)
* GPIOF, GPIOG and GPIOH ports are not available #688
2019-02-22 22:10:41 -05:00
rusefi 23a8f5b526 wider usage of PeriodicController 2019-02-10 23:54:41 -05:00
rusefi c60c8ce777 better (?) variable names 2019-02-10 22:47:49 -05:00
rusefi 9a6446c654 ETB PeriodicController refactoring 2019-02-10 19:52:06 -05:00
rusefi ff727a8072 ETB progress 2019-02-10 19:13:04 -05:00
rusefi 8d43038981 Refactor Trigger System #635 2019-02-03 01:27:47 -05:00
rusefi 0b41d011b7 Refactor Trigger System #635 2019-02-03 01:19:16 -05:00
rusefi 8011d287c4 Refactor Trigger System #635 2019-02-03 01:14:19 -05:00
rusefi ac209bf8ac Refactor Trigger System #635 2019-02-03 01:11:50 -05:00
rusefi 4d368e0ca8 Refactor Trigger System #635 2019-02-03 01:04:24 -05:00
rusefi 4796942097 CJ125 unit-tests coverage #617 2019-02-01 23:48:11 -05:00
rusefi 6afabb6168 CJ125 heater zero PWM improvement 2019-02-01 22:37:21 -05:00
rusefi 26ae19c705 CJ125 heater zero PWM improvement 2019-02-01 22:27:17 -05:00
rusefi dd7add7a78 CJ125 heater zero PWM improvement 2019-02-01 22:20:15 -05:00
rusefi c50b16ba39 #657 2019-01-28 02:59:14 -05:00
Matthew Kennedy 2acdbd9416 const (#675) 2019-01-16 08:24:37 -05:00
rusefi 615a83cc5e Question: something strange trigger errors #662 2019-01-11 09:24:24 -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 7989763ee9 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 10:17:35 -05:00
rusefi 3a52b14502 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 09:39:02 -05:00
rusefi 9f3b06311b fixing build 2019-01-09 09:38:23 -05:00
rusefi 5c1098c93b The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 09:37:16 -05:00
rusefi 9f63ea4130 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 08:50:51 -05:00
rusefi 84bcf68849 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 07:57:43 -05:00