Commit Graph

293 Commits

Author SHA1 Message Date
rusefi 66570a0f28 smart gpio clean-up 2020-04-06 14:28:08 -04:00
rusefi d3745c0f9e smart gpio clean-up 2020-04-06 14:13:29 -04:00
rusefi 5c2794c2e0 critical error usability improvements 2020-03-28 21:28:32 -04:00
rusefi 43440afade launch control #203 2020-03-23 20:44:34 -04:00
Matthew Kennedy 6c747ebbbe
this flag did nothing (#1161) 2020-02-26 17:30:02 -05:00
Matthew Kennedy 6307a446d3
Omit canned configs from Proteus (#1159)
* omit presets from proteus

* ifdef guard
2020-02-25 19:46:22 -05:00
Matthew Kennedy 8647abd22b
Add single flag for omitting PnP configs (#1157)
* switch to single enable flag

* engine_configuration.cpp
2020-02-24 19:08:02 -05:00
rusefi 9decb79a5e migrate slow ADC to software timer so that TIM8 is also available for input capture #630 2020-02-24 00:12:51 -05:00
rusefi 7c714e5727 opening the door to boost controller! 2020-01-31 14:29:52 -05:00
rusefi b83a5310be happy new year 2020-01-08 00:02:40 -05:00
rusefi d575ffe5c1 enabling TIM8 ICU 2019-12-25 09:28:51 -05:00
Matthew Kennedy ae55eaad67 Re-shrink stacks (#1060)
* small stacks

* giant servo stack

* reclaim ram
2019-12-14 09:31:13 -05:00
rusefi ff9383eea1 fixing build is my most favourite time! 2019-12-13 20:51:04 -05:00
rusefi 6f2cb66d9a fixing build is my most favourite time! 2019-12-13 20:06:45 -05:00
Matthew Kennedy 003c1c17f0 Make stacks smaller (#1055)
* remove factually incorrect comment

* shrinky stacky

* shuffle comments
2019-12-13 16:47:26 -05:00
Matthew Kennedy 37473bd26e Move slow ADC to thread #630 (#1042)
* adc with thread

* enable

* check result

* stacktual embiggenment

* tracing

* let's be type safe

* improve assert

* format, comment

* remove EFI_INTERNAL_SLOW_ADC_PWM fully
2019-12-11 09:28:11 -05:00
rusefi 813b6aa6ce The Big Refactoring of 2019: folder structure #723 2019-12-04 01:11:10 -05:00
andreika-git 2a39c69f51 iacPidMultTbl + EFI_IDLE_PID_CIC + kinetis_hysteresis (#1043)
* rename EFI_IDLE_INCREMENTAL_PID_CIC -> EFI_IDLE_PID_CIC

* Impl. IacPidMultTable

* Kinetis: Trigger Comparator Hysteresis settings (+adaptive mode)
2019-12-04 00:37:32 -05:00
Matthew Kennedy e5c2273d13 Harmonize chconf (#1034)
* turn off f4 kernel features we don't use

* make f7 match f4

* make mcuconf look right
2019-11-30 09:32:14 -05:00
Matthew Kennedy 928805dcc1 works on f4 (#1021) 2019-11-21 15:45:17 -05:00
rusefi 9249a1fd95 would this fix CI? 2019-11-19 22:54:36 -05:00
Matthew Kennedy 93d24dfc0b Merge remote-tracking branch 'origin/master' into perf-tracing 2019-11-19 16:28:58 -08:00
Matthew Kennedy 7e1cf570b2 fix (#1006) 2019-11-13 18:35:21 -05:00
rusefi 5c46ad25a7 review feedback 2019-11-03 10:36:35 -05:00
Matthew Kennedy f52bdecb80 profile all the things 2019-10-13 13:14:08 -07:00
Matthew Kennedy 763b17fb50 experiment 2019-10-11 17:43:21 -07:00
rusefi f23eee6492 why was RTC disabled? 2019-09-20 18:22:39 -04:00
rusefi 86e421e0ee fatalErrorPin setting is not used #926
reducing configuration fragility
2019-09-09 21:44:48 -04:00
rusEfi a6881aa0ab tiny progress 2019-09-02 11:48:49 -04:00
rusefi dece505dec fixing build? 2019-08-06 22:33:27 -04:00
rusefi 91f9a50b3f F7 nucleo does not work?
funny, it was about some very unused feature
2019-08-02 01:36:02 -04:00
rusefi d0d546e500 EFI_TOOTH_LOGGER 2019-07-07 15:22:46 -04:00
rusefi 550ba208eb Refactoring: OS access should be explicit #867
explicit value for doc mostly
2019-07-06 19:30:56 -04:00
rusefi 7548a5da6d turning whatever off 2019-07-05 20:40:21 -04:00
rusefi f9f1e748dc Missing ADC Pins for ADC3, PF port #785 2019-05-14 16:38:14 -04:00
rusefi b455732112 docs 2019-05-07 10:10:15 -04:00
andreika-git b80d95578d 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 28b6efa003 #787 2019-05-05 10:26:16 -04:00
rusefi d4c49fd8fa fixing F7 build 2019-05-03 22:12:57 -04:00
rusEfi 8afee0fd90 MC33816 integraion #784
bare bones skeleton
2019-05-03 21:13:25 -04:00
rusefi 14831e1da8 electrical noise during tuning ETB causes full tune reset #775
this fix did not seem to work :(
2019-04-25 00:10:39 -04:00
rusefi bed7dd5684 refactoring - reducing duplication 2019-04-21 00:04:46 -04:00
rusefi 537b0963dc USB and TLE8888 not working for F4 or F767 #764 2019-04-20 22:38:56 -04:00
rusefi 723a54021e USB and TLE8888 not working for F4 or F767 #764
changing order of compilation in order to change which version is hw_tested
2019-04-20 22:13:50 -04:00
rusefi bb04ec40f9 USB and TLE8888 not working for F4 or F767 #764
starting not to like smart chips
2019-04-20 16:50:03 -04:00
rusefi fff7ec8a01 USB and TLE8888 not working for F4 or F767 #764
continuing the guessing game
2019-04-20 14:58:01 -04:00
rusefi 5a522cf81e USB and TLE8888 not working for F4 or F767 #764
nope, still fails :(
2019-04-20 12:48:01 -04:00
rusefi 18493a54f3 USB and TLE8888 not working for F4 or F767 #764
interesting?!
2019-04-20 12:23:16 -04:00
rusefi dcff861918 USB and TLE8888 not working for F4 or F767 #764 2019-04-19 13:57:40 -04:00
rusefi f7ea6c8cbe USB and TLE8888 not working for F4 or F767 #764 2019-04-19 06:33:49 -04:00
rusefi cd7a1d1b77 trying again #764 2019-04-19 01:56:05 -04:00
rusefi f09bc89508 ? 2019-04-19 00:10:26 -04:00
rusefi e086dbb96f would it work? 2019-04-18 08:57:59 -04:00
rusefi 0c233459c5 one step back 2019-04-16 01:32:24 -04:00
rusefi 2abd56770b running with BOARD_MC33972_COUNT 2019-04-15 23:15:16 -04:00
rusefi a2631d69b0 we need TLE8888 driver #714 2019-04-14 17:10:59 -04:00
rusefi 6516c4753d we need TLE8888 driver #714
reviving build
2019-04-13 16:35:45 -04:00
rusefi 00e848c243 steps towards smarter gpio 2019-04-13 11:22:40 -04:00
rusefi db9456902f steps towards smarter gpio 2019-04-13 10:58:52 -04:00
rusefi 6fe36973e5 progress? 2019-04-13 01:05:01 -04:00
rusefi d8281626df defined(__DOXYGEN__) ? fix #748 2019-04-12 22:10:57 -04:00
dron0gus e938372a4b 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 05d3ce22f4 CONFIG_RESET_SWITCH_PORT flexibility 2019-04-06 08:41:37 -04:00
rusefi 1db1b7a277 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 b80806182f 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
andreika-git c34d7cac48 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 c32fad9202 Firmware Update via UART and/or USB #398 2019-03-28 05:49:09 -04:00
rusefi 9182059f61 bootloader progress 2019-03-27 23:45:35 -04:00
rusefi 4bb645f7e0 we need TLE8888 driver #714 2019-03-25 15:14:22 -04:00
rusefi 00e7bfa1f5 docs 2019-02-11 01:20:14 -05:00
rusefi de0fb8aa92 wider usage of PeriodicController 2019-02-10 23:54:41 -05:00
rusefi 44ae3261d1 #688 why access enums from mcuconf? 2019-02-05 19:01:20 -05:00
rusefi 06be313448
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 aff31cada1 Revert "#631 ChibiOS 18 style"
This reverts commit 93f3f2ab
2019-02-03 21:42:44 -05:00
rusefi 93f3f2ab7f #631 ChibiOS 18 style 2019-02-03 21:32:47 -05:00
rusefi 5fcbfa3fb2 #631 ChibiOS 18 style 2019-02-03 21:00:18 -05:00
rusefi 2cc6aa4a45 better conditional compilation 2019-01-31 19:14:29 -05:00
rusefi cc4b8c7a6c mini board 2019-01-27 20:33:05 -05:00
rusefi 61a5686a74 STM32F407VET6 Mini first steps 2019-01-25 23:42:49 -05:00
rusefi 90baa5ab73 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 d80c1f0b1e Saab CDM knock signal integration #647 2019-01-04 23:47:39 -05:00
rusefi 59a5789191 #639 2018-12-31 10:32:16 -05:00
rusefi ddfee50ab6 better location for CORE_CLOCK 2018-12-26 21:35:52 -05:00
rusefi 78a3ab7723 docs 2018-12-24 17:34:49 -05:00
rusefi a549009c99 more CPU stats code 2018-12-24 00:31:26 -05:00
rusefi 91c1533abe avoiding magic constant 2018-12-24 00:15:00 -05:00
rusefi a92db53ee7 explicit default 2018-12-23 23:59:21 -05:00
rusefi 8b039da84a progress 2018-12-16 01:13:44 -05:00
rusefi 10d66db0da #630 2018-12-09 14:32:50 -05:00
rusefi 330c82172b new configurable option EFI_TEXT_LOGGING 2018-09-16 23:54:14 -04:00
rusefi c446e4c666 #569 2018-03-17 21:24:04 -04:00
rusefi e47865d36d #550 2018-01-23 22:23:24 -05:00
rusefi 096abaac5b
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 56153a8880 narrow into reality 2018-01-23 08:33:20 -05:00
andreika-git 784508815a Idle with incremental PID-CIC (EFI_IDLE_INCREMENTAL_PID_CIC) (#520)
* Idle with incremental PID-CIC (EFI_IDLE_INCREMENTAL_PID_CIC)

* typo

* Remove unused targetIdleRpm from TS config
2017-12-27 17:56:04 -05:00
rusEfi 051f954dd8 #495 todo clean-up 2017-11-19 15:24:36 -05:00
rusefi 2c7053fe29 #475 2017-08-26 20:11:11 -04:00
rusefi 7fa2e2800e #475
fixing build for now
2017-08-26 16:04:56 -04:00
rusefi dc81e38a67 #475 2017-08-25 18:37:59 -04:00
rusefi b9546e3596 #473 2017-08-17 02:49:07 -04:00
rusefi e13a3b1dcb one step closer to defaults 2017-07-28 15:17:45 -04:00
rusefi ca02889c38 #463 2017-07-22 22:45:49 -04:00
rusEfi 10324c3850 relative priority 2017-07-10 23:15:14 -04:00
rusefi db50c47509 #140 2017-06-18 02:39:19 -04:00
Andrei 23e20e4319 EFI_MAIN_RELAY_CONTROL draft 2017-06-13 01:14:39 +03:00
rusefi 1889366973 undo? 2017-06-08 23:15:39 -04:00
rusefi 05dcf920cf ops that's what I meant #441 2017-06-08 22:35:22 -04:00
rusefi 08f5b23a61 #441 2017-06-07 21:04:04 -04:00
andreika-git c75b6d0932 Merge branch 'master' into bootloader 2017-06-05 20:35:33 +03:00
Andrei f3f7b75b56 Refactoring 2017-06-04 22:01:40 +03:00
rusefi c5f9828bc2 fixed #437 2017-06-04 12:21:31 -04:00
Andrei 06b345c9ef Bluetooth setup code integration 2017-06-04 15:50:31 +03:00
Andrei b6311f66ee EFI_USB_SERIAL flexibility 2017-05-31 01:37:13 +03:00
Andrei 4851851f65 Bootloader preparations 2017-05-31 01:36:58 +03:00
rusefi ace2cadd05 maybe performance improvement? maybe not. reducing cost of chLock/chUnlock 2017-05-25 23:32:52 -04:00
rusefi 7b90958581 rollback #425 2017-05-24 06:37:50 -04:00
rusefi eff248e1ba Merge pull request #425 from andreika-git/usart3-channels-change
Swap USART2 & USART3 DMA channels
2017-05-23 21:35:50 -04:00
Andrei 1d8afb69c4 Swap USART2 & USART3 DMA channels 2017-05-24 03:22:07 +03:00
rusEfi 4082e2a0e8 one step back 2017-05-23 20:03:09 -04:00
rusEfi 39ac59b5b6 serial to use DMA, returning GPS 2017-05-23 18:52:52 -04:00
Andrei c9d998d146 UART-DMA compile errors fix 2017-05-24 01:06:09 +03:00
Andrei d473fbf94f Working UART-DMA v2.0 2017-05-23 20:10:43 +03:00
rusefi bae1f66dbb reviving maxLockedDuration 2017-05-21 13:27:02 -04:00
rusefi b51298b5b9 better syntax 2017-05-21 10:56:08 -04:00
rusefi 4750d49844 wider usage of EFI_CLOCK_LOCKS 2017-05-21 10:38:36 -04:00
rusefi dcc6ecfa75 #414 2017-05-14 15:46:13 -04:00
rusefi 819aeadd42 #414 docs 2017-05-14 13:48:00 -04:00
rusefi 4dc2ea5f7f #414 removing dead code 2017-05-14 13:47:26 -04:00
rusefi c401b06a79 #414 2017-05-14 08:36:23 -04:00
rusefi 16c98a50ed fresh ChibiOS 2017-05-03 14:53:03 -04:00
Andrei ab6ad0fa0a BOARDSRC_CPP (and compatibility issues) pull request 2017-05-02 20:34:01 +03:00
rusefi cc55c143f5 icuStartCapture panic better state validation 2017-04-26 11:57:02 -04:00
rusEfi f1801746f4 refactoring - reducing GPIO complexity 2017-04-21 20:07:17 -04:00
rusefi 46f02fb3f7 refactoring - reducing GPIO complexity 2017-04-21 17:08:04 -04:00
rusefi 070475f1ff refactoring - reducing GPIO complexity 2017-04-21 15:14:37 -04:00
rusefi 32ac18a36c command-line default flexibility 2017-04-16 12:57:48 -04:00
rusefi 69541b37cf better CAN flexibility 2017-04-12 10:41:16 -04:00
rusefi 170a3177a4 making CAN more flexible 2017-04-12 09:36:13 -04:00
rusefi 63ec35b41d sdCardSpiDevice 2017-04-11 19:25:31 -04:00
rusefi f2c5e5a230 trying to fix 'make release' 2017-04-06 21:15:53 -04:00
Fabien Poussin a7cf2d82ef Fix old lock_cnt and isr_cnt 2017-03-29 18:15:10 +02:00
Fabien Poussin 8835ebee43 Fixes to make the firmware run. 2017-03-29 17:55:53 +02:00
Fabien Poussin e4952250d1 Adding ChibiOS Contrib module for a proper mass storage driver.
Adding missing board files.
2017-03-29 17:55:53 +02:00
Fabien Poussin bac75b2e3e Changing ChibiOS repo to rusefi, updating code accordingly. 2017-03-29 17:55:52 +02:00
Fabien Poussin 1eb330c600 ChibiOS 16.x update. 2017-03-29 17:54:06 +02:00
rusefi a45c548e6f fixed #374 2017-03-19 19:29:54 -04:00
rusEfi f6ad4b1ace auto-sync 2017-02-15 11:03:28 -05:00
rusEfi eade0c0367 auto-sync 2017-01-06 10:04:41 -05:00
rusEfi 36b57ce9b9 auto-sync 2017-01-04 19:01:27 -05:00
rusEfi bd4c734fd1 auto-sync 2017-01-04 18:02:35 -05:00