Commit Graph

430 Commits

Author SHA1 Message Date
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
rusefi 1c373573a2 EXTI refactoring 2018-12-18 23:50:29 -05:00
rusefi 951338d4e2 extra caution 2018-12-09 09:23:31 -05:00
rusefi dc12e98221 fix #129 2018-12-08 23:02:51 -05:00
rusefi 3c50074261 #129 huge step forward 2018-12-08 22:57:00 -05:00
rusefi e115ef27d3 docs 2018-12-08 22:06:24 -05:00
rusefi e123ddcc90 #129 making code more readable 2018-12-08 21:23:49 -05:00
rusefi 667ec74ead #129 current state of PWM 2018-12-08 19:15:24 -05:00
rusefi 4d85b2bb4c #129 preparation 2018-12-08 17:30:17 -05:00
rusefi ab2fc9a3d1 code style and some refactoring 2018-12-08 16:59:16 -05:00
rusefi c6ef4bec83 docs & state validation 2018-12-08 15:07:07 -05:00
rusEfi f0f8852c5d NAN handling 2018-11-26 20:40:24 -05:00
andreika-git 96dfebc542 STM32 Nucleo144-F767ZI board: Initial support (#620)
* More EFI_ #ifdefs for config flexibility

* Even more config flexibility

* New firmware/config/stm32f7ems/* files

* New firmware/config/boards/NUCLEO_F767/* files

* New firmware/hw_layer/stm32f7/* files

* Fix for EFI_USB_SERIAL

* Adding #if defined(STM32F7XX)

* SPI flags changed in F7: SPI_CR1_DFF --> SPI_CR1_CRCL

* I2Cv2 config changed in F7

* More versatile CCM defines

* Makefiles

* Double #ifs cleanup

* docs
2018-11-16 07:40:06 -05:00
rusefi f1e369aa70 CJ125 unit-tests coverage #617 2018-11-03 13:45:36 -04:00
rusefi 951f1b3cd3 #616 idle for simulator 2018-11-02 13:38:31 -04:00
rusEfi 0197bd046b minor ETB progress 2018-10-21 17:45:14 -04:00
rusefi 553969dc72 refactoring 2018-09-16 22:26:57 -04:00
rusefi bcf107e675 docs 2018-09-10 22:43:57 -04:00
rusefi 99d1274f10 docs 2018-09-10 22:42:24 -04:00
rusefi 035e0b588a typo 2018-09-10 22:29:43 -04:00
rusefi 41688ba251 reducing code duplication and applying event condition more consistently 2018-08-31 21:11:22 -04:00
rusefi 7b6a059f65 dead comment & inline 2018-08-31 20:38:10 -04:00
rusefi 43da335306 refactoring: better field names 2018-07-26 15:51:06 -04:00
rusefi 2f95cd1e0d step towards more unique codes 2018-07-25 23:30:00 -04:00
rusefi 60b3aa8e60 unique error codes #598 2018-07-25 23:03:04 -04:00
rusefi 42797c8519 reviving EFI_DEFAILED_LOGGING 2018-03-04 19:19:34 -05:00
rusefi b6e26c8d1a unique name 2018-02-06 01:16:16 +03:00
rusefi 9027c0df1c code style 2018-02-03 17:07:04 -05:00
rusEfi cd2dbde620 docs 2018-01-28 18:04:41 -05:00
rusefi 9cb2757492 better method names 2018-01-28 11:27:33 -05:00
rusefi 8e33e6015f helper method 2018-01-28 11:08:37 -05:00
rusefi adfe5e9274 #65
explicit precision control
2018-01-23 12:05:14 -05:00
rusefi e6cef2e68b better error message 2018-01-21 16:06:03 -05:00
rusefi 67d22444c6 refactoring 2018-01-21 15:34:20 -05:00
rusefi 9a5b9e2edb refactoring 2018-01-21 15:31:46 -05:00
rusefi d9d70e4897 PWM docs 2018-01-21 15:28:03 -05:00
rusefi f5a4376036 happy new year 2018-01-20 20:55:31 -05:00
rusefi a3b9b57d2b docs 2017-11-27 00:05:54 -05:00
rusefi e44ea82d1b #490 2017-11-26 22:30:37 -05:00
rusefi 6d86f14d4a refactoring - better variable name 2017-11-19 10:23:47 -05:00
rusefi f87aeb739b #473 2017-08-28 00:08:37 -04:00
rusefi 53104882b7 refactoring 2017-08-03 21:28:44 -04:00
rusefi 201b3a3491 better error handling 2017-07-28 14:27:37 -04:00
rusefi 86b0c4977e refactoring - reducing code duplication 2017-07-10 22:08:55 -04:00
rusefi 80f3ee1d93 refactoring 2017-07-10 22:05:40 -04:00
rusefi 99a78ed8af better result for non-prod code 2017-07-10 21:43:03 -04:00
rusefi db8838e8ee docs 2017-07-10 21:41:13 -04:00
rusefi 32eeb672d9 refactoring: inlining method 2017-07-10 21:34:31 -04:00
rusefi bcceaeaf9b refactoring: better name 2017-06-26 09:14:31 +03:00
rusefi f4a9903d52 more pinMode fixes 2017-06-19 08:57:04 +03:00
rusefi 3386953034 fanPinMode fix 2017-06-19 00:53:18 -04:00
rusefi 5f8a367df9 debug modes 2017-06-07 23:04:56 -04:00
rusefi 2e92718e89 executor runtime stats 2017-06-07 22:55:05 -04:00
rusefi fc50e09c38 refactoring 2017-06-04 18:53:43 -04:00
rusefi be5ec054a4 refactoring 2017-06-04 18:43:08 -04:00
rusefi cdbb25eb7c refactoring 2017-06-04 18:29:57 -04:00
rusefi 3d6436d344 refactoring 2017-06-04 16:35:13 -04:00
rusefi 345401a807 a bit of OOP 2017-06-04 16:18:29 -04:00
rusefi 013cf2fbbf docs 2017-06-03 23:36:34 -04:00
rusEfi 206658663c refactoring 2017-05-30 21:56:38 -04:00
Andrei 81983a4362 Fix lockAnyContext 2017-05-25 21:51:21 +03:00
rusefi bdf278bfe5 better name 2017-05-21 11:09:47 -04:00
rusefi 67a28c081f better names 2017-05-21 10:25:35 -04:00
rusefi a3919be9bd better code name 2017-05-21 10:15:57 -04:00