Commit Graph

394 Commits

Author SHA1 Message Date
rusefi 2738fefa48 that's how we can move all fields one by one from boardConfiguration to engineConfiguration
my approach is to move fields from the bottom of BC struct
2019-11-30 10:24:37 -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 34ffe7f6b3 Make sure #798 is good and dead (#1028)
* Revert "CI instability: FATAL error: warn stream not initialized for 6039 - maybe buffer overrun? #798"

This reverts commit 45646f23bd.

* Revert "CI instability: FATAL error: warn stream not initialized for 6039 #798"

This reverts commit 1f8176ac7e.

* fix correctly

* use correct function
2019-11-23 21:25:29 -05:00
rusefi 1f8176ac7e CI instability: FATAL error: warn stream not initialized for 6039 #798 2019-11-23 17:07:13 -05:00
rusefi 45646f23bd CI instability: FATAL error: warn stream not initialized for 6039 - maybe buffer overrun? #798 2019-11-23 16:41:59 -05:00
rusefi 4cebc85cbf refactoring 2019-11-20 01:35:08 -05:00
rusefi 19bdb9a35f docs & code formatting 2019-11-19 18:17:03 -05:00
rusefi 623776d185 micro-optimization: replacing by-referece access with direct static access for real firmware 2019-11-13 21:43:24 -05:00
Matthew Kennedy 2edd673bd6 fix (#1005) 2019-11-13 08:42:16 -05:00
rusefi 5ea97e5ba8 Revert "restoring #1003"
This reverts commit 2ebaa5cf
2019-11-12 23:18:48 -05:00
rusefi 2ebaa5cf20 restoring #1003 2019-11-12 22:17:29 -05:00
rusefi a23f6bb23e time to panic and revert more 2019-11-12 21:42:44 -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 30cfb96619 evil manual merge of https://github.com/DonaldBecker/rusefi 2019-11-05 20:07:55 -05:00
rusefi eae44843b1 custom codes cleanup 2019-11-04 09:20:00 -05:00
rusefi d99d576e2b CI instability: FATAL error: warn stream not initialized fix #798 2019-11-03 22:15:49 -05:00
rusefi 0fcf3bfa4e refactoring: reducing code duplication 2019-10-21 23:47:40 -04:00
rusefi f776513a5a preparation for #961
macro as a syntax sugar for method invocation
2019-10-10 07:28:52 -04:00
rusefi 15ae9b1580 fancy C++ s/NULL/nullptr/ 2019-10-08 01:26:35 -04:00
rusefi c6bca8e77a ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 10:02:07 -04:00
rusEfi 4c39a207a9 s/NULL/nullptr/ 2019-09-22 08:22:35 -04:00
rusEfi 53ae54e8cc ETB target is using integer values #945
first we will write a unit test
2019-09-22 00:16:46 -04:00
rusefi 03d71bedeb reducing complexity 2019-09-20 01:06:15 -04:00
rusefi 60d57d2dd8 BUG: FSIO logic requires a pin to calculate fix #933 2019-09-18 23:22:15 -04:00
rusefi 115d295bd8 BUG: FSIO logic requires a pin to calculate fix #933 2019-09-18 22:07:02 -04:00
rusefi 8ef1fcd344 unit tests progress 2019-09-18 21:48:46 -04:00
rusefi fd62a9c0f7 unit tests progress 2019-09-18 21:38:45 -04:00
rusefi fcbc26bf82 FSIO progress 2019-09-13 21:07:34 -04:00
rusefi d576f3ba1f Delayed A/C compressor switch #922
unit tests skeleton
2019-09-12 07:31:13 -04:00
rusefi f0427360bf Delayed A/C compressor switch #922 2019-09-11 20:46:50 -04:00
rusefi 5ac8545060 Delayed A/C compressor switch #922 2019-09-11 19:30:36 -04:00
rusefi 7f069e428f Delayed A/C compressor switch #922 2019-09-10 23:49:21 -04:00
rusefi 3f856dc54d Delayed A/C compressor switch #922 2019-09-10 22:55:58 -04:00
rusefi d4b9c7217e fatalErrorPin setting is not used #926
reducing configuration fragility
2019-09-09 21:44:48 -04:00
rusefi 003c868b3f has been a while so safe to assume everyone has default value 2019-09-08 22:17:51 -04:00
rusefi f9bb333453 Delayed A/C compressor switch #922 2019-09-08 21:09:45 -04:00
rusefi 50e0887c96 Delayed A/C compressor switch #922 2019-09-08 21:05:03 -04:00
rusefi 8038885ae2 docs & naming consistency 2019-09-01 11:59:39 -04:00
rusefi e1a7ae0148 Live Data progress 2019-09-01 00:45:36 -04:00
rusefi a8f7a8965b cranking fuel live data #911 2019-08-26 23:41:04 -04:00
rusEfi dfc5f86e6e MRE ETB 2019-08-15 01:59:15 -04:00
rusefi ef5a1447e9 CI instability: FATAL error: warn stream not initialized for 6039
also some refactoring
fix #798
2019-08-04 13:48:10 -04:00
rusefi fd8f70d8c4 Annotations in C++ code to produce formulas in rusEfi console #807 2019-07-13 09:00:03 -04:00
rusefi 6ab2832c24 More than one aux pid #866
progress!
2019-07-12 08:31:38 -04:00
Matthew Kennedy e4a0a0ae91 Fix some maf logic (#880)
* fix maf

* thank you vscode for mangling ANSI -> utf8
2019-07-10 09:14:47 +03:00
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 bad507558a Refactoring: OS access should be explicit #867 2019-07-04 03:25:35 -04:00
rusefi 777eb532dc Refactoring: OS access should be explicit #867 2019-07-03 21:48:04 -04:00
rusefi d0e4a0984f Annotations in C++ code to produce formulas in rusEfi console #807 2019-06-27 06:47:13 -04:00
rusefi dd43f62706 Annotations in C++ code to produce formulas in rusEfi console #807 2019-06-18 23:23:30 -04:00
rusefi 0b843819eb TPS Live Documentation 2019-06-17 21:37:11 -04:00
rusefi d90c6ee1a3 Annotations in C++ code to produce formulas in rusEfi console #807 (#847)
* Annotations in C++ code to produce formulas in rusEfi console #807
firmware part of the change

* removing unneeded stuff & fixing unit test compilation

* not complete better unit test compilation fix  :(

* better C++ usage
2019-06-17 12:18:55 -04:00
rusefi bc5154694b adding support for smaller table axis 2019-06-10 12:38:32 -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
rusefi 998345ef9e unit tests should not have global context, including mock values 2019-05-27 15:56:12 -04:00
rusefi cbc1aef722 more PROD code into unit test 2019-05-12 20:31:28 -04:00
rusefi f89c326579 todo 2019-05-10 22:10:40 -04:00
rusefi 8a90297160 refactoring: better method name 2019-05-07 19:32:08 -04:00
rusefi 85b790edcf The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657
maybe probably pointless refactoring? reducing parameters visibility
2019-05-03 18:41:43 -04:00
andreika-git b5f87ae584 Default config refactor (#762)
* Refactor config

* Fix FSIO_ANALOG_INPUT_COUNT
2019-04-16 10:27:34 -04:00
rusefi 884c54a185 defined(__DOXYGEN__) ? #748 2019-04-12 22:07:03 -04:00
rusefi 54f83a431e smarter PWM API - need to pass arbitrary pointer 2019-04-12 20:11:27 -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
rusefi 259ff0141a we need TLE8888 driver #714 2019-04-04 23:03:32 -04:00
rusefi 6a72593bc3 Reduce RAM used for trigger shape definition #731 2019-04-03 12:39:01 -04:00
rusefi 541d0b8a9f Reduce RAM used for trigger shape definition #731 2019-04-03 12:16:27 -04:00
rusefi 59d33c4cdc The Big Refactoring of 2019: folder structure #723 2019-03-31 17:44:34 -04:00
rusefi 9cad2ba299 docs 2019-03-29 10:49:56 -04:00
rusefi cf8d3666a2 docs 2019-03-29 10:37:33 -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 4873082017 refactoring trigger simulation 2019-03-04 01:10:31 -05:00
rusefi 72a8346587 code style 2019-03-02 22:54:28 -05:00
rusefi 34aa05cda9 refactoring: reducing code duplication 2019-02-23 12:33:49 -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 ad2af22d16 better parameter name 2019-02-03 00:50:45 -05:00
rusefi 8beae89bcb FSIO testability and test-driven development 2019-01-19 22:09:37 -05:00
rusefi 35ed0fc2a3 better fields location, better initialization logic 2019-01-19 21:10:58 -05:00
Matthew Kennedy 2acdbd9416 const (#675) 2019-01-16 08:24:37 -05:00
rusefi f531681a2d refactoring: calling out 'const' things 2019-01-13 01:27:03 -05:00
rusefi 8f592bf5af refactoring: calling out 'const' things 2019-01-13 01:25:53 -05:00
rusefi 3acc936c6b #640 Occasional halts on "Burn" in TunerStudio ("Red" LED is on) 2019-01-11 15:44:24 -05:00
rusefi fbaf5e183a refactoring: simpler FSIO initialization 2019-01-10 23:53:59 -05:00
rusefi 4ed1ec7067 refactoring: method name consistency 2019-01-10 23:48:05 -05:00
rusefi 93b08dcc4c The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-09 22:16:30 -05:00
rusefi 9f63ea4130 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 08:50:51 -05:00
rusefi cdfd1bdf89 new test style 2019-01-06 07:37:29 -05:00
rusefi a1d834130e FSIO to stop engine if things are REALLY bad - user-configurable and disabled by default obviously 2019-01-05 23:48:37 -05:00
rusefi 0db0360635 refactoring FSIO - reducing code duplication 2019-01-05 20:39:07 -05:00
rusefi eaf5cac206 refactoring FSIO - reducing code duplication 2019-01-05 19:31:56 -05:00
rusefi 9afe619652 making either Matt or compiler or both happier 2019-01-05 00:11:17 -05:00
rusefi 245ab5db10 refactoring 2018-12-25 16:06:24 -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 d0df516c16 refactoring trigger system 2018-12-24 22:57:36 -05:00
rusefi b124ccd678 refactoring 2018-12-24 22:40:48 -05:00