Commit Graph

393 Commits

Author SHA1 Message Date
rusefi 44c98029d7 fixing build is my most favourite time! 2019-12-13 18:02:24 -05:00
rusefi 27f617686b progress towards ETB controller mocking 2019-12-13 13:52:34 -05:00
rusefi f47a1a16d1 getting rid of boardConfiguration / binary compatible change 2019-12-11 17:48:55 -05:00
rusefi e60515789a The Big Refactoring of 2019: folder structure #723 2019-12-04 01:15:52 -05:00
rusefi 561986d3e4 The Big Refactoring of 2019: folder structure #723 2019-12-04 01:11:10 -05:00
rusefi f3a058ab26 The Big Refactoring of 2019: folder structure #723 2019-12-04 00:35:05 -05:00
andreika-git 7220735530 Starter relay + Hardcoded 'FSIO' + simulator fix (#1032)
* Starter Relay: gui + built-in FSIO impl.

* Hardcoded 'FSIO' replacement for RAM-limited boards

* fix simulator
2019-11-25 20:08:01 -05:00
andreika-git 53eeb79ea9 unregisterOutput() + isPinOrModeChanged() + Stepper::stepPin+enablePin + Kinetis fix (#1029)
* Fix isConfigurationChanged() for EFI_ACTIVE_CONFIGURATION_IN_FLASH

* unregisterOutput() -> unregisterOutputIfPinOrModeChanged()

* clutchUpPinMode for unregisterPin()

* Fix Kinetis: EFI_ACTIVE_CONFIGURATION_IN_FLASH & EFI_MAIN_RELAY_CONTROL

* Stepper: enablePin & stepPin with modes support
2019-11-25 00:02:53 -05:00
Matthew Kennedy 10a6f652d3 DC motor improvements (#1025)
* extract interface, comments, conform names

* fwd declare
2019-11-22 16:30:44 -05:00
Matthew Kennedy 8fd603dca9 Merge remote-tracking branch 'origin/master' into perf-tracing 2019-11-19 16:28:58 -08:00
rusefi 19bdb9a35f docs & code formatting 2019-11-19 18:17:03 -05:00
Matthew Kennedy 2edd673bd6 fix (#1005) 2019-11-13 08:42:16 -05:00
rusefi a23f6bb23e time to panic and revert more 2019-11-12 21:42:44 -05:00
rusefi 73003f8b64 what's the probability of efi::size breaking build? 2019-11-12 19:40:33 -05:00
Matthew Kennedy 6a5d53fe64 Fix (#1004)
* Revert "fixing build"

This reverts commit ba0aa5cba9.

* undo overzealous ifdef cplusplus
2019-11-12 01:13:13 -05:00
rusefi ba0aa5cba9 fixing build 2019-11-12 00:50:30 -05:00
Matthew Kennedy b01a9e1388 use static asserts (#1003) 2019-11-12 00:39:38 -05:00
rusefi ca0984007d Strange INJ1 signal behavior (when the frequency of scheduler's timer is less than 1MHz) #996
new advanced debugging: hardware pins
2019-11-10 12:39:47 -05:00
rusefi eff84bcfeb steps towards #975 2019-10-18 18:54:32 -04:00
Matthew Kennedy 97d848bb3e profile all the things 2019-10-13 13:14:08 -07:00
Matthew Kennedy 076b10fcb6 experiment 2019-10-11 17:43:21 -07:00
rusefi 757f8eb690 NB2 miata on Frankenso with ETB 2019-09-21 01:21:53 -04:00
rusefi 0952b84aad unit tests progress 2019-09-19 21:41:52 -04:00
rusEfi a168c5f2eb A/C relay cleanup 2019-09-15 11:32:38 -04:00
rusefi d4b9c7217e fatalErrorPin setting is not used #926
reducing configuration fragility
2019-09-09 21:44:48 -04:00
rusefi 7c89fe1ab6 A/C NA6 compressor progress 2019-09-08 16:45:02 -04:00
rusEfi 6cf432a057 bugfix: pin names were not shown in engine sniffer 2019-08-18 15:27:10 -04:00
rusEfi 81cd1df0cc refactoring: engine sniffer magic constants 2019-08-18 15:04:02 -04:00
rusEfi dfc5f86e6e MRE ETB 2019-08-15 01:59:15 -04:00
rusefi 4c826b1a24 random typo 2019-08-10 14:40:51 -04:00
rusefi a235e7bfc1 docs 2019-07-13 10:16:47 -04:00
rusefi f8bc3baa91 refactoring: wider usage of new periodic task 2019-07-09 16:08:49 -04:00
rusefi c15df2f16c Periodic timer controller (#875)
* More than one aux pid #866

* More than one aux pid #866

* More than one aux pid #866

* More than one aux pid #866

* More than one aux pid #866
2019-07-09 08:33:40 -04: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
rusefi 1e80772904 Refactoring: OS access should be explicit #867 2019-07-05 19:00:44 -04:00
Matthew Kennedy 97fd982374 fix (#865) 2019-07-03 03:18:04 -04:00
rusefi 9110d0f167 input has sizes hard-coded #836 2019-06-10 15:11:53 -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
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
rusefi 7e7d8ef75c The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 01:07:50 -05:00
rusefi 8bfb0925e1 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 00:53:54 -05:00
rusefi dce2e17f1b #655 clean-up 2019-01-09 00:25:45 -05:00
Matthew Kennedy 435a255043 Implement common for controllers (#645)
* controller

* remove stopping thread

* move microsecond timer watchdog

* docs

* typo snuck in

* go back to the old way
2019-01-06 21:15:49 -05:00
Fabien Poussin 1f29b5dd37 Workarounds for GCC 8 (#637) 2018-12-27 09:40:40 -05:00
rusefi b09850c766 #635 better names 2018-12-25 10:13:00 -05:00
rusefi 495205729b #635 refactoring: better name 2018-12-25 08:27:52 -05:00
rusefi 6f755b9c79 docs 2018-12-24 19:36:03 -05:00
Matthew Kennedy 688698927f Documentation for DcMotor (#632)
* Docs, support failure detection

* typo
2018-12-23 21:10:30 -05:00
rusefi 8f06e1d9ba docs 2018-12-23 10:45:28 -05:00
rusefi 16d6620cdd one step back 2018-12-23 02:44:41 -05:00
rusefi a5e6f73532 moving towards https://github.com/mck1117/rusefi/tree/mck1117/etb/firmware/testing 2018-12-22 23:57:28 -05:00