Commit Graph

312 Commits

Author SHA1 Message Date
rusefi 89557373e9 order of includes consistency 2019-07-05 20:03:32 -04:00
rusefi e309e223aa Refactoring: OS access should be explicit #867 2019-07-04 03:57:21 -04:00
rusefi 777eb532dc Refactoring: OS access should be explicit #867 2019-07-03 21:48:04 -04:00
rusefi c21e4c2efa Refactoring: OS access should be explicit #867 2019-07-03 21:01:48 -04:00
rusEfi e8888e4821 better state validation 2019-06-27 22:23:18 -04:00
rusefi f859079022 ETB: TPS should be f(RPM, pedal) - target table fix #835 2019-06-15 14:33:41 -04:00
rusefi 69a3b45b3d ETB: TPS should be f(RPM, pedal) - target table #835 2019-06-15 14:11:38 -04:00
rusefi ebcce5ab22 progress - reusing code for other data types 2019-06-10 23:27:54 -04:00
rusefi bc5154694b adding support for smaller table axis 2019-06-10 12:38:32 -04:00
rusefi 6a002beb8f refactoring 2019-06-10 11:17:36 -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
Matthew Kennedy a95e00d65f another const 2019-06-07 10:52:07 -04:00
rusefi 373b0c8f4a refactoring - fancier C++ 2019-05-27 11:43:34 -04:00
rusefi 32601867fe fix #802 2019-05-25 13:36:29 -04:00
rusefi 39d2915386 useTPSBasedVeTable logic has issues and needs a unit test #799 2019-05-10 21:09:01 -04:00
rusefi 8a90297160 refactoring: better method name 2019-05-07 19:32:08 -04:00
andreika-git 20b6a17695 EFI_CONSOLE_UART_DEVICE, flash->hw_ports, Fix TLE6240 and misc.fixes (#793)
* rename EFI_CONSOLE_UART_DEVICE -> EFI_CONSOLE_SERIAL_DEVICE

* Impl. EFI_CONSOLE_UART_DEVICE

* Move flash source files to ports/stm32/ & hw_ports.mk

* Fix TLE6240

* Fix EFI_NO_CONFIG_WORKING_COPY

* EFI_PRINT_MESSAGES_TO_TERMINAL
2019-05-05 11:06:27 -04:00
rusEfi defed58b19 docs 2019-05-04 10:18:49 -04:00
rusefi ded9b017e1 PID - fix dTime usages fix #776 2019-04-26 00:45:53 -04:00
rusefi 65fb45c8a6 The Big Refactoring of 2019: folder structure #723 2019-04-25 22:10:58 -04:00
rusefi 0a1b8b068b PID - fix dTime usages fix #776 2019-04-25 21:36:41 -04:00
rusefi ea86d987c8 PID - fix dTime usages #776 2019-04-25 21:31:33 -04:00
rusefi f7ad56fda7 PID - fix dTime usages #776 2019-04-25 20:50:28 -04:00
rusefi 0a3a75ae79 PID - fix dTime usages #776 2019-04-25 18:49:16 -04:00
rusefi 0b0ef9e094 ETB progress 2019-04-24 23:46:49 -04:00
rusefi eecc3ec3b6 The Big Refactoring of 2019: configuration version should not be a global variable #656 2019-04-15 21:06:48 -04:00
rusefi 877ac257fe The Big Refactoring of 2019: configuration version should not be a global variable #656 2019-04-15 21:02:25 -04:00
rusefi 6bda683fba random cleanup 2019-04-14 13:52:27 -04:00
rusefi c53433801c 'pins' fix 2019-04-13 10:59:29 -04:00
rusefi 24948a2641 defined(__DOXYGEN__) ? fix #748 2019-04-12 22:10:57 -04:00
rusefi 522dcd4766 learning C++ 2019-04-12 19:56:34 -04:00
rusefi 4011372da8 The Big Refactoring of 2019: folder structure #723 2019-04-09 23:17:09 -04:00
dron0gus a7a5ec1aa6 save some CPU ticks if console is not ready (#730) 2019-04-02 10:19:05 +02:00
dron0gus 3163d04dfb console vs ts cleanup and compilation fix for linux (#728)
* console vs ts cleanup

* include is case-sensetive in linux
2019-04-01 23:04:49 +02:00
rusefi 69917e5781 The Big Refactoring of 2019: console vs TS vs CONSOLE_MODE_SWITCH_PIN vs text protocol #725
more dead code
2019-04-01 11:57:30 -04:00
rusefi 59d33c4cdc The Big Refactoring of 2019: folder structure #723 2019-03-31 17:44:34 -04:00
rusefi 581d3d0c1b The Big Refactoring of 2019: folder structure #723 2019-03-31 17:14:53 -04:00
rusefi c29e6d99c4 The Big Refactoring of 2019: folder structure #723 2019-03-31 16:56:13 -04:00
rusefi 583d189e3b The Big Refactoring of 2019: folder structure #723 2019-03-31 16:33:16 -04:00
rusefi b5bf730d15 fixing build - simulator 2019-03-30 18:04:22 -04:00
andreika-git 97191fda08 More portability and smaller RAM footprint possible (#722)
* EFI_NO_CONFIG_WORKING_COPY

* EFI_CONSOLE_NO_THREAD

* EFI_SHAFT_POSITION_INPUT

* #ifndef UTILITY_THREAD_STACK_SIZE

* fix printf() -> print()
2019-03-30 22:41:46 +01:00
andreika-git c7b1bb1ff1 More portability & bootloader fix (#720)
* fix bootloader

* EFI_FSIO

* EFI_EMULATE_POSITION_SENSORS, EFI_BOARD_TEST, EFI_AUX_PID, EFI_JOYSTICK
2019-03-29 15:46:15 +01: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 8303dc7595 refactoring: no logic changes, just nicer variable and method names 2019-03-12 18:54:46 -04:00
rusEfi 91e421ebae ETB iTerm limits 2019-03-02 14:00:32 -05:00
rusefi 34aa05cda9 refactoring: reducing code duplication 2019-02-23 12:33:49 -05:00
rusefi d2cfbf9279 Why do we use so much stack? #695
docs
2019-02-23 12:12:34 -05:00
dron0gus 2027977e2c warning cleanup (#693)
* Kill annoing warnings about unused vars

* Kill annoing signed vs unsigned warnings

* Make ALWAYS_INLINE macro realy inlining

* Incorrect attribute placement.

While correct attribute placement cause ram4 overflow.
Move to correct place (to avoid gcc-2018-q4 errors) and comment
out.

* Silence -Wcast-function-type warnings

Cast to intermediate "void *" to lose compiler knowledge about the original
type and pass the warning. This is a workaround.
2019-02-21 05:44:45 -05:00
rusefi 214d65b8b5 getMaxUsedStack() - stack usage reseach mini progress 2019-02-12 19:05:06 -05:00
rusefi 6e57cae396 getMaxUsedStack() - stack usage reseach mini progress 2019-02-12 18:47:16 -05:00
rusefi c60c8ce777 better (?) variable names 2019-02-10 22:47:49 -05:00
rusefi 0cd324ecac better (?) location for files 2019-01-28 01:09:13 -05:00
rusefi d4443164e8 The Big Refactoring of 2019: configuration version should not be a global variable #656 2019-01-15 21:51:09 -05:00
rusefi 36cb5e3238 making code better with "const" 2019-01-15 21:03:45 -05:00
rusefi 08e11aac28 we shall log 8 last error codes #668 2019-01-13 20:51:36 -05:00
rusefi 9a4ded4018 Question: something strange trigger errors #662
logging 8 codes
2019-01-13 20:45:58 -05:00
rusefi aa84b7da19 cyclic_buffer.contains method 2019-01-12 14:01:13 -05:00
rusefi cff8fa70b8 console title and LCD status showing trash data bugfix 2019-01-11 19:29:13 -05:00
rusefi 7893486065 new unit test 2019-01-11 19:08:15 -05:00
rusefi 703dc30040 The Big Refactoring of 2019: configuration version should not be a global variable #656 2019-01-09 21:08:04 -05:00
rusefi 583e6d0a70 docs by Matt K 2019-01-06 20:48:15 -05:00
Matthew Kennedy 7154da1f5f Improve wall wetting AE to use time constant (#650)
* impruv

* c++17

* add tests, docs
2019-01-06 20:45:51 -05:00
Matthew Kennedy a75e5fb007 const (#648) 2019-01-05 08:06:18 -05:00
Fabien Poussin 1f29b5dd37 Workarounds for GCC 8 (#637) 2018-12-27 09:40:40 -05:00
rusefi 1ebac007c5 reducing unneeded coupling 2018-12-25 12:39:19 -05:00
rusefi 7dd683bf36 bringing std types together 2018-12-08 15:51:45 -05:00
rusEfi 519a335eac progress 2018-11-25 22:31:44 -05:00
rusEfi 8c53ef3185 unit test for atoff() 2018-11-25 22:20:57 -05:00
andreika-git 3001f2837d AirFlow-interpolated tCharge Mode (#612)
* Add vars & enums

* updateTChargeK()

* limitRateOfChange()

* Impl. AirFlow-interpolated tCharge mode

* Update tsOutputChannels: tCharge & airFlow

* Set default config params

* Unit-tests

* Fix tChargeMode_e
2018-09-29 12:16:36 -04:00
rusefi 81aaac572c removing dead code 2018-09-17 21:17:36 -04:00
rusefi f2165da28e new configurable option EFI_TEXT_LOGGING 2018-09-16 23:54:14 -04:00
rusefi c3a57b6a77 refactoring 2018-09-16 22:39:46 -04:00
rusefi 553969dc72 refactoring 2018-09-16 22:26:57 -04:00
rusefi 4868a9fd82 refactoring 2018-09-16 22:25:17 -04:00
rusefi 4d56783415 refactoring 2018-09-16 22:00:14 -04:00
rusefi ce3a432204 status check 2018-09-10 22:24:50 -04:00
rusefi 92df53aec9 error codes 2018-09-10 22:10:55 -04:00
rusefi 2398e4a9c1 docs 2018-08-31 22:47:16 -04:00
rusefi a9adc4a093 moving method 2018-08-31 22:30:03 -04:00
rusefi b2ca20c0b4 separating data structure from global state 2018-08-31 22:19:19 -04:00
rusefi 7a8281f752 pointless OOP 2018-08-31 21:38:14 -04:00
rusefi fcc5e03517 better code location 2018-08-31 21:27:41 -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 c270d5d07b CH_DBG_SYSTEM_STATE_CHECK for simulator 2018-02-03 16:01:59 -05:00
rusefi de4515a6d6 docs 2018-02-03 12:40:17 -05:00
rusefi 8fd3d1a318 same action twice 2018-01-30 14:56:24 -05:00
rusefi adfe5e9274 #65
explicit precision control
2018-01-23 12:05:14 -05:00
rusefi fdbe72ffac refactoring 2018-01-23 11:36:32 -05:00
andreika-git a6f7d9e238 Impl. narrow EGO averaging (alpha) (#545)
* Impl. narrow EGO averaging (alpha)

* Use cyclic_buffer as a generic container for CIC

* Implicit #include of cyclic_buffer.h for safety
2018-01-23 08:24:13 -05:00
rusefi f5a4376036 happy new year 2018-01-20 20:55:31 -05:00
rusefi 7b5302d897 fix #532 2018-01-07 12:11:49 -05:00
rusefi f5e3d76f42 typo 2017-12-10 15:05:58 -05:00
rusefi 5267c20613 better efiRound implementation 2017-12-10 10:19:05 -05:00
rusEfi 9c8db36591 softer error handling 2017-12-03 18:17:59 -05:00
rusefi 7905bf71df #503 2017-12-02 17:02:49 -05:00
rusefi c7a93b4def micro-optimization: in-lining from C++ back to C #441 2017-06-08 23:05:05 -04:00
rusefi 88f8669a8b refactoring 2017-06-08 22:51:32 -04:00
rusefi 4a92c999b0 refactroring 2017-06-07 21:26:32 -04:00
rusefi ffe6a8c174 minor improvements 2017-06-03 22:27:05 -04:00