Matthew Kennedy
3aa4f2bd97
trigger decode cleanup and perf ( #1853 )
...
* trigger decode cleanup
* test config ptr patchup
* disable CDM by default
2020-10-04 19:29:26 -04:00
shadowm60
8d8e8ec260
Launch control - experimental ( #1816 )
...
* Update tachometer.cpp
Initial implementation of E30 M3 Tach output solution #907 , unit_test plus debugging next
* tacho unit tests
First successfull unit test for tachometer
* RAM adjustment so it would link
* refactoring tacho, broken!
* starting to make some progress...still fails after a few seconds
* Rework with SW PWM
* Update after code review
* unit_test update
* First working unit_test
* Update .gitignore
* Update engine_controller.cpp
* Update engine_controller.cpp
* Update tachometer.h
* Update test_tacho.cpp
* Switched UART DMA on
* Revert "Switched UART DMA on"
This reverts commit 4a23974c431e0e7fd760595d2161e74e6854897e.
* enable launch control
make use of already existent code + integration
* Delete compile_frankenso_all.sh
remove it since it is not part of the project
* Update main_trigger_callback.cpp
broke unit_Tests
Co-authored-by: rusefi <rusefi@users.noreply.github.com>
2020-09-22 16:25:27 -04:00
rusefi
31befbb7d8
Merge remote-tracking branch 'origin/Hellen_fork_point' into master
...
# Conflicts:
# firmware/config/boards/common_make.bat
# firmware/controllers/algo/engine.cpp
# firmware/controllers/system_fsio.txt
2020-09-11 03:59:06 -04:00
rusefi
24d91947a6
Hellen says merge #1772 fast ADC
2020-09-11 03:54:07 -04:00
rusefi
e9c273d925
Merge remote-tracking branch 'origin/Hellen_fork_point' into master
...
# Conflicts:
# firmware/config/boards/kinetis/efifeatures.h
# firmware/config/boards/prometheus/efifeatures.h
# firmware/config/boards/skeleton/efifeatures.h
# firmware/config/boards/subaru-ej20gn/efifeatures.h
# firmware/config/stm32f4ems/efifeatures.h
# firmware/config/stm32f7ems/efifeatures.h
2020-09-07 15:32:15 -04:00
rusefi
d424720ceb
Hellen says merge #1772 efifeatures
2020-09-07 15:27:29 -04:00
rusefi
41b5d5de06
Revert "Hellen says efifeatures"
...
This reverts commit 63eb179d
2020-09-07 12:24:50 -04:00
rusefi
63eb179ddf
Hellen says efifeatures
2020-09-07 12:08:36 -04:00
rusefi
72290df894
a bit of flexibility
2020-08-26 23:08:48 -04:00
Andrei
068f21c616
vss_exti untested
2020-08-13 18:27:31 +03:00
rusefi
0748e57ad9
EFI_IDLE_INCREMENTAL_PID_CIC should be a runtime parameter fix #806
2020-07-12 21:53:55 -04:00
rusefi
cbc3d5045b
UART DMA for "primary" connector #1528
2020-06-22 00:46:17 -04:00
rusefi
38c3f119b1
UART DMA for "primary" connector #1528
2020-06-21 23:22:45 -04:00
rusefi
63e936a5e8
UART DMA for "primary" connector #1528
2020-06-21 23:12:08 -04:00
rusefi
50d25f9ad0
UART DMA for "primary" connector #1528
2020-06-21 21:50:41 -04:00
rusefi
2a64b6eb1a
refactoring connectivity
2020-06-21 16:37:33 -04:00
rusefi
af8de4c84f
Revert "Minor fixes ( #1442 )"
...
This reverts commit 0c095ddd
2020-05-16 19:28:49 -04:00
dron0gus
0c095ddd15
Minor fixes ( #1442 )
...
* exti trigger: mark pins used, handle errors
* MC33810 add to smart gpios
2020-05-16 19:15:49 -04:00
rusefi
047d2e0ce1
refactoring related to RED FATAL/CRITICAL LED is a bit dim when it should be OFF
...
#157
2020-05-11 18:22:51 -04:00
kon
8d35c35035
Aux serial ( #1422 )
...
* aux serial updates from last PR
* trying to guess
* wow that's old! also not working maybe?
* hiding diag code which was messing with GP2/GP3 i.e. TLE8888_PIN_22 TLE8888_PIN_23
* date
* Mc33 undervolt (#1421 )
* mc33 flash check
* DI sanity checks for setting HV config
* mc33 under voltage check
* mc33 under voltage check
Co-authored-by: Christopher W. Anderson <gitstuff@pswitch.com>
* fixed {}
Co-authored-by: rusefi <rusefillc@gmail.com>
Co-authored-by: NOx-z <50815960+NOx-z@users.noreply.github.com>
Co-authored-by: Christopher W. Anderson <gitstuff@pswitch.com>
Co-authored-by: kon <dev@triggerdevel>
2020-05-11 12:17:42 -04:00
rusefi
75b3db09f1
reducing confusion?
2020-05-04 19:26:13 -04:00
rusefi
b9733c5901
refactoring: using brain_pin like the rest of the code
2020-05-02 23:47:10 -04:00
rusefi
bd14bd7248
what could possibly go wrong
2020-05-02 22:34:31 -04:00
Matthew Kennedy
28d0cfa91e
reclaim ( #1377 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-27 14:36:26 -04:00
Matthew Kennedy
b6ee79327d
switch ADC to gpt ( #1343 )
...
* switch to gpt
* halconf
* fix kinetis
* fix kinetis
* fix guards
* comment cleanup
2020-04-23 22:50:18 -04:00
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
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
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
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
rusefi
5c46ad25a7
review feedback
2019-11-03 10:36:35 -05: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
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
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
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
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
4bb645f7e0
we need TLE8888 driver #714
2019-03-25 15:14:22 -04: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
2cc6aa4a45
better conditional compilation
2019-01-31 19:14:29 -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
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
b9546e3596
#473
2017-08-17 02:49:07 -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
andreika-git
c75b6d0932
Merge branch 'master' into bootloader
2017-06-05 20:35:33 +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
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
Andrei
ab6ad0fa0a
BOARDSRC_CPP (and compatibility issues) pull request
2017-05-02 20:34:01 +03: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
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
rusEfi
55e89f0f31
auto-sync
2017-01-03 06:05:22 -05:00
rusEfi
da1f4a4695
auto-sync
2016-10-31 20:02:09 -04:00
rusEfi
1d1301c737
auto-sync
2016-10-28 23:01:36 -04:00
rusEfi
9da633bc50
auto-sync
2016-10-18 17:00:37 -04:00
rusEfi
41fdaf9554
auto-sync
2016-08-26 17:02:37 -04:00
rusEfi
46b4cb9855
auto-sync
2016-07-25 23:03:45 -04:00
rusEfi
066c6f4583
auto-sync
2016-06-27 22:02:41 -04:00
rusEfi
8863f8127f
auto-sync
2016-01-23 02:01:34 -05:00
rusEfi
fbdea87819
auto-sync
2015-12-31 16:02:30 -05:00
rusEfi
2067b4c3c0
auto-sync
2015-12-21 20:02:32 -05:00
rusEfi
412d4843d9
auto-sync
2015-12-02 20:10:06 -05:00
rusEfi
153151acb1
auto-sync
2015-11-09 19:03:32 -05:00
rusEfi
8bd97be4ac
auto-sync
2015-10-31 17:01:24 -04:00
rusEfi
88815f69da
auto-sync
2015-10-22 17:01:29 -04:00
rusEfi
6a304142ef
auto-sync
2015-09-13 12:01:42 -04:00
rusEfi
4d6351591c
auto-sync
2015-07-15 21:01:45 -04:00
rusEfi
969ebbf142
auto-sync
2015-07-10 09:01:56 -04:00
rusEfi
298341e0d1
auto-sync
2015-07-10 08:57:59 -04:00
rusEfi
241498d330
auto-sync
2015-07-06 21:33:28 -04:00
rusEfi
0608bd77af
auto-sync
2015-05-29 21:05:30 -04:00
rusEfi
d158979594
auto-sync
2015-04-07 16:09:51 -05:00
rusEfi
d7aff35cd9
auto-sync
2015-04-04 10:05:55 -05:00
rusEfi
055a24df6c
auto-sync
2015-03-19 20:11:55 -05:00
rusEfi
b2484dd38e
auto-sync
2015-03-04 21:08:26 -06:00
rusEfi
bb165822f3
auto-sync
2015-02-25 07:08:28 -06:00
rusEfi
2ae8edf14a
auto-sync
2015-02-24 21:08:58 -06:00
rusEfi
cee8e7aef2
auto-sync
2015-02-22 09:05:13 -06:00
rusEfi
d08f817adc
auto-sync
2015-01-20 23:04:00 -06:00
rusEfi
d67a6ad989
auto-sync
2015-01-18 11:04:53 -06:00
rusEfi
9820527bdb
auto-sync
2015-01-12 17:04:10 -06:00
rusEfi
665cf3d575
auto-sync
2014-12-29 20:04:24 -06:00
rusEfi
79c9ac722e
auto-sync
2014-12-25 18:03:21 -06:00
rusEfi
c0b9385775
auto-sync
2014-12-24 13:05:19 -06:00
rusEfi
35a88fddbf
auto-sync
2014-12-24 12:05:36 -06:00
rusEfi
e9a334af67
auto-sync
2014-12-24 00:03:26 -06:00
rusEfi
284a984288
auto-sync
2014-12-23 22:03:31 -06:00
rusEfi
503bd351df
auto-sync
2014-12-23 15:03:33 -06:00
rusEfi
de915c2a3c
auto-sync
2014-12-23 14:04:12 -06:00