Commit Graph

616 Commits

Author SHA1 Message Date
rusefi 2c24571ddb dreams of two ETBs 2019-05-05 12:02:42 -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 028a1af39b sorry 2019-05-04 10:31:04 -04:00
rusefi b34bdf5bcb docs 2019-05-02 17:52:48 -04:00
rusEfi 1c013228dc 'warninigLedPin' typo and minor TS progress 2019-04-28 23:04:52 -04:00
rusefi c0d27913e2 electrical noise during tuning ETB causes full tune reset fix #775 2019-04-25 22:28:46 -04:00
rusefi 0292df332c reducing analog_inputs debug confusion :) 2019-04-25 08:32:20 -04:00
rusefi 7c534d28bc DBG_ANALOG_INFO 2019-04-24 23:46:13 -04:00
rusefi b8ae3810b3 DBG_ANALOG_INFO 2019-04-24 22:16:37 -04:00
rusefi 23e591a253 this change is probably breaking stuff, but some stuff is already broken. something is not right in too many places :( 2019-04-21 14:00:19 -04:00
andreika-git ca255a90c2 More config portability: TLE6240, Trigger_input, UART/Serial (#759)
* Add fields to UART/Serial configs

* trigger_input: can be both HAL_USE_PAL and HAL_USE_COMP

* tle6240 config: local temporary solution

* Fix for custom_engine::setFsio

* EFI_ACTIVE_CONFIGURATION_IN_FLASH
2019-04-15 08:40:12 -04:00
rusefi 24948a2641 defined(__DOXYGEN__) ? fix #748 2019-04-12 22:10:57 -04:00
rusEfi c130b249ba cleanup #4 2019-04-11 22:15:06 -04:00
dron0gus b3a161fce6 Cleanup 3 (#745)
* status leds: pick warning LED pin from configuration

* wave analyzer: do not init if no pin assigned
2019-04-11 23:33:33 +02:00
rusefi acf1216ab0 rusEfi settings editor is broken for one byte enums fix #709 2019-04-08 11:57:16 -04:00
rusefi 05c7baa7a1 CONFIG_RESET_SWITCH_PORT flexibility 2019-04-06 08:41:37 -04:00
rusefi 259ff0141a we need TLE8888 driver #714 2019-04-04 23:03:32 -04:00
dron0gus 85519107b2 Fix build if no TS_UART_DMA_MODE, TS_UART_MODE and TS_SERIAL_DEVICE defined (#729) 2019-04-01 23:39:07 +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 7807651412 The Big Refactoring of 2019: console vs TS vs CONSOLE_MODE_SWITCH_PIN vs text protocol #725
sweet progress!
2019-04-01 14:18:21 -04:00
rusefi 1c1216cb53 The Big Refactoring of 2019: console vs TS vs CONSOLE_MODE_SWITCH_PIN vs text protocol #725
more dead code
2019-04-01 12:11:57 -04: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 bceec323c2 The Big Refactoring of 2019: console vs TS vs CONSOLE_MODE_SWITCH_PIN vs text protocol #725
removing startConsoleInBinaryMode
2019-04-01 11:45:06 -04:00
rusefi 05c70b1a9f The Big Refactoring of 2019: console vs TS vs CONSOLE_MODE_SWITCH_PIN vs text protocol #725
few lines of dead code
2019-04-01 11:39:25 -04:00
rusefi 540e0a2c85 The Big Refactoring of 2019: console vs TS vs CONSOLE_MODE_SWITCH_PIN vs text protocol #725 2019-04-01 11:16:19 -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 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 e43ae3092d random progress 2019-03-14 13:28:51 -04:00
rusefi dbfb040990 fuel gauges unification 2019-03-12 21:48:28 -04:00
rusefi 24e6f13d6a TS command to reset firmware 2019-03-12 20:33:13 -04: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
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 42bfe8cf28 wider usage of PeriodicController 2019-02-11 15:09:24 -05:00
rusefi c60c8ce777 better (?) variable names 2019-02-10 22:47:49 -05:00
rusefi 851eae51fa so many years :( 2019-02-06 23:56:41 -05:00
rusefi 24c6e4d063 better blinking logic in case of software fatal error 2019-02-05 21:29:55 -05:00
rusefi 539f985cb9 better variable name 2019-02-05 21:13:38 -05:00
rusefi f68e2a2d4b refactoring: same condition twice? 2019-02-05 21:05:45 -05:00
rusefi 1dc30dc503 Refactor Trigger System #635
reducing global state magic
2019-02-03 02:47:20 -05:00
rusefi 6992480f74 CJ125 unit-tests coverage #617 2019-02-01 23:16:34 -05:00
rusefi f475fb1691 better conditional compilation 2019-01-31 17:55:23 -05:00
rusefi 70f5d3e69c better conditional compilation 2019-01-31 11:57:15 -05:00
rusefi 0e82173958 #631 TIME_MS2I mostly 2019-01-28 20:00:17 -05:00
rusefi 6607b833f7 #657 2019-01-27 23:41:46 -05:00
rusefi aba0f44df5 NA6 progress
A/C toggle switch indicator in TS
renaming "pedalPosition" to "throttlePedalPosition"
2019-01-27 00:02:58 -05:00
rusefi 53e8d10c55 refactoring around GET_RPM 2019-01-21 21:48:58 -05:00
rusefi ad64e1b410 refactoring around GET_RPM 2019-01-21 20:33:21 -05:00
rusefi eba0278fdd The Big Refactoring of 2019: configuration version should not be a global variable #656 2019-01-15 21:18:44 -05:00
rusefi 9a4ded4018 Question: something strange trigger errors #662
logging 8 codes
2019-01-13 20:45:58 -05:00
rusefi d37c5c54a2 idle bench test from TS 2019-01-13 19:41:39 -05:00
rusefi 7893486065 new unit test 2019-01-11 19:08:15 -05:00
rusefi 937b78718e warning code refactoring related to
Question: something strange trigger errors #662
2019-01-11 09:58:48 -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 93b08dcc4c The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-09 22:16:30 -05:00
rusefi cf6dcc495c #35 refactoring towards making class testable 2019-01-07 23:55:56 -05:00
Matthew Kennedy 2575252334 TunerStudio Cleanup (#649)
* TS cleanup

* remove fl_protocol

* fix build
2019-01-05 07:55:21 -05:00
rusefi 8645d358e6 docs 2019-01-04 22:09:50 -05:00
rusefi 9917458125 better conditional compilation 2019-01-04 00:16:08 -05:00
rusefi 508a088eeb better variable name 2018-12-23 23:58:40 -05:00
rusefi 7dd683bf36 bringing std types together 2018-12-08 15:51:45 -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 996ca909de CJ125 unit-tests coverage #617 2018-11-03 11:44:57 -04:00
rusEfi 6a53e870a4 new debug field 2018-10-10 22:19:20 -04: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 e89fcd148e typo 2018-09-24 23:32:55 -04:00
rusefi 3ef00549ec metrics without text messages 2018-09-17 21:42:04 -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 0f7f62cae9 better parameter name 2018-08-31 22:38:59 -04:00
rusefi 43da335306 refactoring: better field names 2018-07-26 15:51:06 -04:00
rusefi 60b3aa8e60 unique error codes #598 2018-07-25 23:03:04 -04:00
rusefi b28a8bb290 refactoring: reducing code duplication 2018-07-24 19:58:32 -04:00
rusefi 732a9a5fcd injectionOffset to TS gauges first step 2018-06-12 05:15:10 -04:00
rusefi 62eb905e38 fixing build 2018-05-31 00:32:44 -04:00
rusefi cedc0b251a TS indicator of HIP9011 state 2018-05-31 00:15:05 -04:00
rusefi 407504893f happy new year 2018-05-27 11:18:21 -04:00
rusEfi 9e78fcfc7e minor bugfix: periodic version status message via TTL 2018-04-01 23:49:57 -04:00
rusEfi bb8d34b834 docs 2018-04-01 23:38:34 -04:00
rusEfi 96da03ccd2 refactoring: removing some dead code 2018-04-01 23:29:00 -04:00
rusEfi 7361f93e96 docs 2018-04-01 23:28:42 -04:00
rusefi 6f466c97fd debug fields for #568 2018-02-07 00:21:41 +03:00
rusefi b8bca64807 CAN debug field #26 2018-01-29 19:41:39 -05:00
andreika-git 19dca45042 Prepare debug & output for CJ125 (#558) 2018-01-28 13:04:19 -05:00
rusefi 3522179966 #553 let's try 768 2018-01-25 09:46:31 -05:00
rusefi 4aee228b1b like that? 2018-01-25 09:42:08 -05:00
rusefi a7d8090672 fixing build more 2018-01-24 22:51:02 -05:00
rusefi 6a2935489f fixing build? 2018-01-24 22:17:10 -05:00
rusEfi b9c22bdff4 temp funny code for puff #553 2018-01-24 21:34:05 -05:00
rusEfi 6eebf66564 reducing console confusion 2018-01-24 21:31:42 -05:00
rusefi 3f4075b4d5 #365 2018-01-24 15:08:10 -05:00
andreika-git ad22a5764e Fix UART-DMA for ChibiOS4 (#552) 2018-01-24 08:14:21 -05:00
andreika-git f6849eed91 Fix currentVE display (#548)
* Fix currentVE display

* Use PERCENT_MULT & remove dead code
2018-01-23 21:59:50 -05:00
rusefi 0b0f9efa3a Feature 463 (#464)
* #463

* #463

* default .LD filename

* #463

* fixing start-up by disabling LSE until rusEfi patch is applied

* simulator compiles now

* latest ChibiOS 17 with FatFS 0.13
2018-01-23 21:17:30 -05:00
rusefi adfe5e9274 #65
explicit precision control
2018-01-23 12:05:14 -05:00
rusefi f5a4376036 happy new year 2018-01-20 20:55:31 -05:00
rusEfi f66fb77008 avoiding AFR warning 2018-01-16 12:58:35 -05:00
rusefi f249d80fdd fuelConsumptionPerHour gauge 2018-01-06 10:53:15 -05:00