Commit Graph

1074 Commits

Author SHA1 Message Date
dron0gus e0796d673b Smart gpios fixes - now without cleanup of smart_gpio.cpp (#758)
* smart_gpio.cpp: check _add return values

And occupy gpiochip's pin range if disabled of failed. So base will
align with enum.

* TLE8888: cleanup, move high level code to smart_gpio.cpp

* smart_gpio.cpp: fix compilation when BOARD_EXT_GPIOCHIPS == 0

* board-subaru: fix compilation after latest smart_gpio updates

* tle8888: now we have all 28 pins supported
2019-04-16 09:23:24 -04:00
rusefi 57bdac9118 one step back 2019-04-16 01:32:24 -04:00
rusefi adceeaff8d running with BOARD_MC33972_COUNT 2019-04-15 23:15:16 -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
dron0gus f572067772 Subaru EJ20G board: fix compilation after directory rename (#756) 2019-04-15 00:30:56 -04:00
rusefi cedcd5fcf2 we need TLE8888 driver #714 2019-04-14 17:10:59 -04:00
rusefi 48f6d9529c we need TLE8888 driver #714 2019-04-14 16:08:39 -04:00
rusEfi ad50909f18 thank you Dron_gus fot the idea! 2019-04-13 19:55:18 -04:00
rusEfi 7a2856c0fb reducing risks 2019-04-13 18:31:16 -04:00
rusefi 4adf3e0ff7 we need TLE8888 driver #714
reviving build
2019-04-13 16:35:45 -04:00
rusefi 45c8c194e1 we need TLE8888 driver #714 2019-04-13 12:43:19 -04:00
rusefi 334b5d1992 steps towards smarter gpio 2019-04-13 12:02:34 -04:00
rusefi fb1dd5a3ca steps towards smarter gpio 2019-04-13 11:22:40 -04:00
rusefi 50c481924e steps towards smarter gpio 2019-04-13 10:58:52 -04:00
rusefi 2f5c20e4da progress? 2019-04-13 01:05:01 -04:00
rusefi c018341591 ETB using tle7209 fix #746 2019-04-13 01:03:12 -04:00
rusefi 24948a2641 defined(__DOXYGEN__) ? fix #748 2019-04-12 22:10:57 -04:00
rusefi 1c96f971ce ? 2019-04-12 19:38:06 -04:00
dron0gus 0212cf644c Subaru EJ20G ECU: initial support (#751) 2019-04-13 01:23:48 +02:00
rusefi 9d3fb9f379 how about now? 2019-04-12 19:03:02 -04:00
rusefi abeb1165fd makes little sense 2019-04-12 19:01:04 -04:00
rusefi 14fe3f02e0 what is wrong with CI? 2019-04-12 18:50:18 -04:00
rusefi b71a7ef2a4 steps towards prometheus CI 2019-04-12 15:07:17 -04:00
rusefi 76d3630588 ETB using tle7209 #746 2019-04-11 23:21:16 -04:00
rusefi 07dc854809 clean-up 2019-04-11 22:40:43 -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
dron0gus 12e07bc3ab Some more include fixes for linux (#738)
* Some more include fixes for linux

* Pass cross-compile path through CROSS_COMPILE

* Lower-upper case conversion fixes for linux
2019-04-10 01:12:35 +02:00
rusefi 3e656803e8 folder name consistency 2019-04-09 18:47:38 -04:00
andreika-git c932fed64a Fix Prometheus config (#737) 2019-04-09 15:34:02 +02:00
rusefi 131533cc13 we need TLE8888 driver #714 2019-04-06 12:26:37 -04:00
rusefi 05c7baa7a1 CONFIG_RESET_SWITCH_PORT flexibility 2019-04-06 08:41:37 -04:00
rusefi b4077d72ba we need TLE8888 driver #714 2019-04-06 07:38:02 -04:00
rusefi 259ff0141a we need TLE8888 driver #714 2019-04-04 23:03:32 -04:00
rusefi d5fd0f0f86 we need TLE8888 driver #714 2019-04-04 21:34:33 -04:00
rusefi 6fc05ee07c cranking base_fuel reform 2019-04-04 08:26:57 -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
rusefi 361a83d36b .txt > .md 2019-04-01 02:16:30 -04:00
rusefi f40eed3cfd naming convention 2019-03-29 11:24:25 -04: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 e28ce71bb8 unifying_file_naming 2019-03-29 09:11:13 -04:00
andreika-git a3f33f3f0d More compatibility for ADC_inputs, etc. (#716)
* Move STM32-specific ADC pinouts to ports/stm32/stm32_common.cpp

* Move STM32-specific files to ports/*

* setAdcChannelOverrides()

* Add #ifdefs for adc_inputs (PWM_FREQ_*, PWM_PERIOD_*, ADC_*_DEVICE)

* addChannel(), removeChannel()

* fix tle6240 compilation

* Add stm32_common.cpp to Makefile

* More ports/stm32/* paths

* More ports/stm32/* paths

* More flexible GPIO ports

* Add #ifdef for GPTDEVICE

* EFI_BOARD_TEST and EFI_JOYSTICK

* EFI_TLE8888

* Fix HIP9011_logic compilation

* ADC_CHANNEL_SENSOR

* Move ioportid_t PORTS[] to ports/*

* Fix simulator
2019-03-28 22:46:10 -04:00
rusefi fc45b894bd Firmware Update via UART and/or USB #398 2019-03-28 05:49:09 -04:00
rusefi b5f6e169ee bootloader progress 2019-03-27 23:45:35 -04:00
rusefi 9a8f31e12f we need TLE8888 driver #714 2019-03-25 15:14:22 -04:00
rusefi 86dda3c70c NA6 idle settings 2019-03-22 21:39:38 -04:00
andreika-git 0431bddd6b Prometheus 405 and bootloader fix+update (#712)
* Fix Prometheus-405 compilation

* Add more bootloader bat-files for some board configs

* Fix Prometheus compilation for new ChibiOS

* Fix Bootloader compilation for new ChibiOS

* Update pre-generated bootloader files for Prometheus 405/469
2019-03-22 11:38:18 -04:00
rusefi 0f89c39ca5 this tune started 20C cold engine 2019-03-21 21:57:49 -04:00
rusefi babbcbe868 H7 2019-03-20 20:27:02 -04:00
rusefi fab5b3e68e rusEfi F767 does not start on my custom board #708 2019-03-20 16:54:09 -04:00
rusefi 4d823c3692 ME7 pnp 2019-03-12 17:41:30 -04:00
rusefi 4313619b8b refactoring? 2019-03-12 17:40:07 -04:00
rusEfi 849846e4ec better Electronic Throttle body control #493 2019-03-11 00:31:06 -04:00
rusefi 9e46bbf519 better Electronic Throttle body control #493
two ETBs
2019-03-10 12:02:25 -04:00
rusefi 22910b819d dead code 2019-03-10 01:06:32 -05: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 0eb033e042 ETB_BENCH_ENGINE 2019-03-02 22:42:11 -05:00
rusEfi 91e421ebae ETB iTerm limits 2019-03-02 14:00:32 -05:00
rusEfi e93c2b5efb TPS commands & compacting 2019-03-02 13:21:12 -05:00
rusEfi 5b2476f37f ETB 2019-03-01 23:09:33 -05:00
rusEfi 0cac08b657 ETB 2019-02-27 17:54:25 -05:00
rusEfi b0377cec8e ETB 2019-02-27 09:57:03 -05:00
rusefi 78c87195c8 ETB_BENCH_ENGINE 2019-02-27 08:55:56 -05:00
rusEfi aab441ad21 NA6 base tune 2019-02-26 21:59:19 -05:00
rusefi 742bc38665 NA6 base tune 2019-02-26 21:50:58 -05:00
rusefi 55729a1aa6 F7 2019-02-24 09:49:46 -05:00
rusefi 723c7fe889 F7 2019-02-24 09:39:25 -05:00
rusefi ee2ac27900 F767 DFU 2019-02-23 18:00:56 -05:00
rusefi 292acc7790 this is kind of needed, right? 2019-02-21 23:07:18 -05:00
rusefi 54f5f07056 F746 CI 2019-02-17 12:54:02 -05:00
rusefi 0a87ad28ce linker files duplication #691 fix 2019-02-12 00:16:24 -05:00
rusefi b9c0c245b0 fixing Prometheus 2019-02-12 00:00:45 -05:00
rusefi 92ca39a75a docs 2019-02-11 01:20:14 -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 c3988048dc F746 2019-02-07 00:14:45 -05:00
rusefi cd2043a9c9 F746 2019-02-06 23:13:44 -05:00
rusefi b54f34fff0 F7 2019-02-06 18:53:43 -05:00
rusefi 64d449e4f4 F7 2019-02-06 18:52:20 -05:00
rusefi 0a505d2bb1 F7 progress :) 2019-02-06 18:41:48 -05:00
rusefi 0b81388935 F7 for Chibi18 2019-02-06 18:05:32 -05:00
rusefi 0c920d21b1 F7 2019-02-06 09:06:56 -05:00
rusefi b49100853b #688 why access enums from mcuconf? 2019-02-05 19:01:20 -05:00
rusefi 4fd80e10c8 minor steps forward with chibi18 and F7 2019-02-05 09:01:03 -05:00
rusefi a3b150a171 Migrating to chibios18 (#687)
* first step #631

* chconf #631

* no EXT driver

* #631 progress

* #631 WOW it already compiles?!

* #631 simulator progress

* #631 CAN is back

* more changes about 25MHz

* Migrate to Chibios 18 stable #631

* undoing some merge mistake?

* little mess

* Migrate to Chibios 18 stable #631

* Migrate to Chibios 18 stable #631

* Migrate to Chibios 18 stable #631
joystick works!

* Migrate to Chibios 18 stable #631
done?!
2019-02-05 18:36:25 -05:00
rusefi 8da36d53dd Revert "#631 ChibiOS 18 style"
This reverts commit cb858cf7
2019-02-03 21:42:44 -05:00
rusefi cb858cf752 #631 ChibiOS 18 style 2019-02-03 21:32:47 -05:00
rusefi 7c9d05a098 #631 ChibiOS 18 style 2019-02-03 21:00:18 -05:00
rusefi 63efcb9a50 Festiva defaults fix 2019-02-02 20:20:30 -05:00
rusefi 70dcc950c5 NA6 2019-02-03 17:49:04 -05:00
rusefi ac209bf8ac Refactor Trigger System #635 2019-02-03 01:11:50 -05:00
rusefi a7e906a737 docs 2019-02-02 15:29:40 -05:00
rusefi 3e953d5131 helping prometheus build 2019-02-01 18:22:16 -05:00
rusefi e8fe630af3 now USB does not work any more :( 2019-01-31 23:40:20 -05:00
rusefi 80e26f0575 still works #3?! 2019-01-31 23:05:00 -05:00
rusefi a306f6104c mini still works #2 2019-01-31 22:58:15 -05:00
rusefi bcc2e57fd0 mini board still works! 2019-01-31 22:51:10 -05:00
rusefi bc5cd34b3d it works, kind of :) 2019-01-31 22:36:47 -05:00
rusefi dfe6d8391f better conditional compilation 2019-01-31 19:14:29 -05:00
rusefi 16bd1b8012 mini board progress 2019-01-30 17:44:34 -05:00
rusefi 6ba7865833 405 option 2019-01-30 17:41:39 -05:00
rusefi dc7418308d mini board 2019-01-27 20:33:05 -05:00
rusefi f104bdd17b actually firmeare is currently about 430KB 2019-01-27 18:04:59 -05:00
rusefi 9f2f9ccd3b configurable FLASH_ADDR 2019-01-27 17:53:11 -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 b04214d791 black board 2019-01-26 13:20:01 -05:00
rusefi 6b27afcf00 progress but still does not work 2019-01-26 12:13:35 -05:00
rusefi b1d8bf0dbf minimal pin configuration & EFI_COMMUNICATION_PIN fix 2019-01-26 11:38:14 -05:00
rusefi 0fbc62ec5c STM32F407VET6 Mini first steps 2019-01-25 23:42:49 -05:00
rusefi 114043243e fix #678 2019-01-20 22:50:00 -05:00
rusefi 69d65ce044 stage 0 configuration 2019-01-19 20:27:14 -05:00
rusefi f912d3e554 minor standard miata progress 2019-01-13 19:42:08 -05:00
rusefi 7ffb3a2be0 refactoring: better method name 2019-01-11 00:03:42 -05:00
rusefi d959e58578 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-10 21:10:46 -05:00
rusefi c1509dd0b7 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-10 19:25:07 -05:00
rusefi 6682a7def2 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-10 17:07:29 -05:00
rusefi b9f28b43aa Revert "The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657"
This reverts commit 4e5cbe3
2019-01-10 00:56:08 -05:00
rusefi 4e5cbe3764 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-09 23:38:59 -05:00
rusefi 9f63ea4130 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 08:50:51 -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
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
Matthew Kennedy a75e5fb007 const (#648) 2019-01-05 08:06:18 -05:00
rusefi dc5fe620ee Saab CDM knock signal integration #647 2019-01-04 23:47:39 -05:00
rusEfi c3380c4ef3 #35 2019-01-04 17:18:43 -05:00
rusefi fd510c17b0 what do I do wrong here? 2019-01-02 22:15:51 -05:00
rusefi 7ba963ab3b #635 2019-01-01 14:05:11 -05:00
rusefi 5f7c9915aa #639 2018-12-31 10:32:16 -05:00
rusefi 9bd0e860aa stm32f1 2018-12-26 22:50:16 -05:00
rusefi 757304256b stm32f1 2018-12-26 22:43:52 -05:00
rusefi e8579e7e8e reviving stm32f1 2018-12-26 22:17:51 -05:00
rusefi ab16df027a better location for CORE_CLOCK 2018-12-26 21:35:52 -05:00
rusefi ac4e0e0804 typo 2018-12-26 20:25:03 -05:00
rusefi 066554fe67 docs 2018-12-24 17:34:49 -05:00
rusefi 1259761f70 more CPU stats code 2018-12-24 00:31:26 -05:00
rusefi d56050dada avoiding magic constant 2018-12-24 00:15:00 -05:00
rusefi 7f5d352ecd explicit default 2018-12-23 23:59:21 -05:00
rusefi 00a7f26ef9 progress 2018-12-16 01:13:44 -05:00
rusefi 66ff934c6a #630 2018-12-09 14:32:50 -05:00
rusefi a21c32bf92 mule notes 2018-12-01 16:41:25 -05:00
rusefi 30b82164ba mule settings 2018-11-30 01:06:09 -05:00
rusEfi d68d6e5e54 ETB mule pins 2018-11-30 00:37:32 -05:00
rusEfi d93f3ecd89 better? field name 2018-11-30 00:17:55 -05:00
rusEfi 7a8837bbd0 test mule 2018-11-28 22:31:53 -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 258ddfceb7 docs 2018-11-11 19:57:25 -05:00
rusEfi df10351afd docs 2018-11-11 14:05:03 -05:00
rusefi 70b289d25f docs 2018-10-28 17:11:37 -04:00